Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. graphicsview \ diagramscene in QML?
Forum Update on Monday, May 27th 2025

graphicsview \ diagramscene in QML?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Shp.S Offline
    Shp.S Offline
    Shp.
    wrote on last edited by
    #1

    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!

    ? 1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Shp.S Shp.

        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!

        ? Offline
        ? Offline
        A Former User
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • Shp.S Offline
          Shp.S Offline
          Shp.
          wrote on last edited by
          #4

          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? )

          1 Reply Last reply
          0
          • Shp.S Offline
            Shp.S Offline
            Shp.
            wrote on last edited by Shp.
            #5

            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?

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved