QML and Qt Widgets (PyQtGraph)
-
Hello everyone!
I mainly use PyQt5 and I have been using it with QML (which works great!)
I am working with pyqtgraph (http://pyqtgraph.org) and finding a way to integrate it into QML. I can't quite seem to find any consistent answers with using QtQuick and integrating Qt Widgets into a QML document.
I would like to know if it's possible to integrate a QtWidget into a QML file/window. PyQtGraph offers widgets that can be used here: http://pyqtgraph.org/documentation/widgets/index.html#api-widgets
If it's just not possible or too obtuse to implement, are there any graphing options to use with QML (other than the default QtCharts)?
-
-
@SGaist said in QML and Qt Widgets (PyQtGraph):
Hi,
You might want to check KDAB's DeclarativeWidgets project.
Hope it helps
Thank you SGaist!
So there is nothing within QML / QtQuick that can allow for the integration of a QtWidget by default?
The DeclarativeWidget project looks good! I will research more into it. -
No there's not, the two technologies are completely different. You can do it the other way, having a QQuickWidget to integrate Qt Quick into your widget based application.