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 Updated to NodeBB v4.3 + New Features

graphicsview \ diagramscene in QML?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 1.3k Views 2 Watching
  • 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.
  • S Offline
    S Offline
    Shp.
    wrote on 1 Jul 2016, 21:55 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 2 Jul 2016, 09:23
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 1 Jul 2016, 22:56 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
      • S Shp.
        1 Jul 2016, 21:55

        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 2 Jul 2016, 09:23 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
        • S Offline
          S Offline
          Shp.
          wrote on 2 Jul 2016, 18:15 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
          • S Offline
            S Offline
            Shp.
            wrote on 4 Jul 2016, 05:01 last edited by Shp. 7 Apr 2016, 08:33
            #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

            2/5

            1 Jul 2016, 22:56

            • Login

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