I'm writing right now an application in Python (PyQt / PySide), which should visualise and should give the possibility to edit complex dataflow graphs (like nodes in blender). Additional I want these nodes to display opengl 3D objects (small opengl scenes, like buttons on nodes), images, controls etc. The GUI will be complex also - it will allow to subdivide to panels and allow in each panel to open a context (like in Eclipse or Visual Studio).
I'm learning QtQuick 2.0
right now and I've read Overview of painting in Qt 5. I'm wondering what are the real benefits of using QtQuick
over QPainter
.
QtQucik 2.0
no longer uses QGraphicsView
as its backend (it uses directly the OpenGL
context)
In each technology you can use OpenGL
. In each you can draw custom looking buttons and widgets (like nodes, their connections etc) (you can draw them even with QPainter
and handle mouse by yourself).
Of course the qml
is declarative and can optimize the OpenGL
calls, but does it really matter? I've been searching very long for any benchamrks between QPainter
(QGraphicsView
) and QtQuick 2.0
but found nothing interesting.
So the questions are:
- Is really
QtQuick
the technology "of the future"? Should I use it if it is possible? Will I benefit from it in the future? Or it is simple "another" way of doing the same things like withQPainter
withQGraphicsView
andQWidgets
? - Are the possibilities of
QtQuick 2.0
really higher than thePySide
/PyQt
? - Is the
QtQuick
more suitable to develop this kind of application or should I stick toPySide
/PyQT
andQPainter
?