Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Dataflow programming GUI

Dataflow programming GUI

Scheduled Pinned Locked Moved General and Desktop
8 Posts 5 Posters 9.0k 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.
  • T Offline
    T Offline
    threecubed
    wrote on last edited by
    #1

    Does Qt have any built in classes for building a gui based dataflow widget with modules that could be connected (input and output) by arrows or lines within the Graphics View Framework?

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DerManu
      wrote on last edited by
      #2

      Nope. Will have to build the basic blocks with the GraphicsView Framework yourself. This is something so specific, they can't possibly include it built-in.

      1 Reply Last reply
      0
      • C Offline
        C Offline
        ChrisW67
        wrote on last edited by
        #3

        There is an example of building this sort of thing with QGraphicsView: see Diagram Scene Example

        1 Reply Last reply
        0
        • T Offline
          T Offline
          threecubed
          wrote on last edited by
          #4

          Thank you DerManu and ChrisW67.

          @ChrisW67: I have downloaded and looked over Diagram Scene example from QtCreator -> Demos. My question is how to convert this type of diagrammatic flow into a dataflow programming application? In other words, how could I assign functions to the objects(basic flowchart shapes) and make the lines/arrows connectors? The only open source project I have found with this capability is Unipro UGENE - QtProject "Workflow Designer". The code is just to difficult for me to interpret, so I was hoping to start with something much smaller and build from there.

          Thank you again for your replies. They are really a great help to us noobs.

          1 Reply Last reply
          0
          • C Offline
            C Offline
            ChrisW67
            wrote on last edited by
            #5

            I don't propose to design your entire project for you.

            Give the process blocks a function that implements their process using the inputs passed from upstream. Give the process blocks a way to receive and hold inputs passed from upstream. When the last required input becomes available to a process then fire the process. When the process completes pass its outputs downstream to connected process blocks.

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #6

              I wrote something like this in a previous job, and that work was published as open source (GPL).

              !http://1.bp.blogspot.com/_s9HldKof-So/Snr8Mkmu0TI/AAAAAAAAAzU/-vsds_x9BWA/s1600/relationcalculator.png(old RelationCalculator screenshot)!

              All the components are defined in plugins. If that suits you, you might have a "look":http://www.assembla.com/code/srtools/git/nodes/unstable-db/relationcalculator at it.

              jeanimatorJ 1 Reply Last reply
              1
              • T Offline
                T Offline
                threecubed
                wrote on last edited by
                #7

                Thank you Andre. That's exactly the sort of thing I was looking for. I believe most of my questions will be answered in the code provided. But as always, I'm sure new ones will arise. Thank you again for the post and the open source project.

                1 Reply Last reply
                0
                • A andre

                  I wrote something like this in a previous job, and that work was published as open source (GPL).

                  !http://1.bp.blogspot.com/_s9HldKof-So/Snr8Mkmu0TI/AAAAAAAAAzU/-vsds_x9BWA/s1600/relationcalculator.png(old RelationCalculator screenshot)!

                  All the components are defined in plugins. If that suits you, you might have a "look":http://www.assembla.com/code/srtools/git/nodes/unstable-db/relationcalculator at it.

                  jeanimatorJ Offline
                  jeanimatorJ Offline
                  jeanimator
                  wrote on last edited by jeanimator
                  #8

                  very helpful, thanks for share!

                  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