Unsolved graphicsview \ diagramscene in QML?
-
Taking into account the current QML development stage, what is the right technology to choose for a "widgets\graphicsview\diagramscene"-like (scene of many blocks with inputs and outputs and connectors between them) desktop app: still QGraphicsScene or QML?
Thank you!
-
Hi and welcome to devnet,
That really depends on what your application does and what it needs in terms of UI. Both have their pros and cons.
You should give more details about what your application requires to get a more precise recommendation.
-
Hi! IMAO QtQuick is preferable because it makes implementing a rich GUI (Animations, 3D, ...) much easier and also the C++ / QML language barrier enforces a strict division of business logic and GUI.
-
Appreciate your answers, guys! Does anybody know any QML example of such a scene with blocks connected by mouse (drag&drop etc)? Not to invent another bicycle? )
-
There is an example http://doc.qt.io/qt-5/qtquick-scenegraph-customgeometry-example.html . But how can I dynamically create connection via mouse between, for example, two rectangels?