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. Project [ moreless interactive Canvas and data visualization ]
Forum Updated to NodeBB v4.3 + New Features

Project [ moreless interactive Canvas and data visualization ]

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 377 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.
  • F Offline
    F Offline
    FutureDesigner
    wrote on last edited by
    #1

    Resources: the newest version Qt5, cmake for compiling
    2D PROJECT

    Hello, iam new in Qt but i already have dive into structure etc.
    I have started to make basics of my project consist of interactive Canvas and data visualization, i have set up sql database and other data resources and actions to process them correctly...

    Main idea:
    visualizing data structures.

    How:

    • i want to add huge rezisable and zoomable canvas for main widget.
    • In there i will spawn other widget structures for example: Header[table]/n table with row and coll data --> ( there will be multiple this forms in canvas )
    • each ineer widget structure will have other buttons for ( as it is in databases ) moving to related tables show brief info etc.

    Main problem:

    • i did not found certain class and information to perform such actions.
      • till now i found Qgraphics class and its subclasses which cover some features, but i think they are mainly used for images like purposes ( zooming pixels, moving in the image )

    HINT
    Mysql server i used, have same functionality called graphical view of database ( but i think it is done in javascript )

    Questions:

    • how can i create canvas and automatically generate there other widgets
    • there should be also functionality to zooming for better view ( including widgets ), moving around by mouse holding
    • setting main view positions and jumping to related tables

    closest resembling to Graphviz tool i have found, but it serve for something else.
    Have you got someone any ideas how can i achieve my goals or at least come closer to it ??
    All i have found is about that Qgraphics and images stuffs.

    thanks for every opinion and comment.

    Pl45m4P 1 Reply Last reply
    0
    • F FutureDesigner

      Resources: the newest version Qt5, cmake for compiling
      2D PROJECT

      Hello, iam new in Qt but i already have dive into structure etc.
      I have started to make basics of my project consist of interactive Canvas and data visualization, i have set up sql database and other data resources and actions to process them correctly...

      Main idea:
      visualizing data structures.

      How:

      • i want to add huge rezisable and zoomable canvas for main widget.
      • In there i will spawn other widget structures for example: Header[table]/n table with row and coll data --> ( there will be multiple this forms in canvas )
      • each ineer widget structure will have other buttons for ( as it is in databases ) moving to related tables show brief info etc.

      Main problem:

      • i did not found certain class and information to perform such actions.
        • till now i found Qgraphics class and its subclasses which cover some features, but i think they are mainly used for images like purposes ( zooming pixels, moving in the image )

      HINT
      Mysql server i used, have same functionality called graphical view of database ( but i think it is done in javascript )

      Questions:

      • how can i create canvas and automatically generate there other widgets
      • there should be also functionality to zooming for better view ( including widgets ), moving around by mouse holding
      • setting main view positions and jumping to related tables

      closest resembling to Graphviz tool i have found, but it serve for something else.
      Have you got someone any ideas how can i achieve my goals or at least come closer to it ??
      All i have found is about that Qgraphics and images stuffs.

      thanks for every opinion and comment.

      Pl45m4P Offline
      Pl45m4P Offline
      Pl45m4
      wrote on last edited by Pl45m4
      #2

      @FutureDesigner

      Has it to be a canvas / graphic widget? You get similar behavior when using QDockWidgets (move around, resize, un- / dock).
      The dock widget's content would be your table/ sql data model then.

      For the QGraphicsView approach there is this:
      https://doc.qt.io/qt-5/qgraphicsproxywidget.html


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      1
      • F Offline
        F Offline
        FutureDesigner
        wrote on last edited by
        #3

        hmm that looks really good to me.
        in my case QDockWidgets can be used this way.
        i will look deeper into this.
        The main problem i consider to set an infinite sized window with functions like (user)camera position set this position and also track it by structured widgets(QDockWidgets) positions in whole view(canvas), other related stuffs can be derived from that base components i suppose.

        Pablo J. RoginaP 1 Reply Last reply
        0
        • F FutureDesigner

          hmm that looks really good to me.
          in my case QDockWidgets can be used this way.
          i will look deeper into this.
          The main problem i consider to set an infinite sized window with functions like (user)camera position set this position and also track it by structured widgets(QDockWidgets) positions in whole view(canvas), other related stuffs can be derived from that base components i suppose.

          Pablo J. RoginaP Offline
          Pablo J. RoginaP Offline
          Pablo J. Rogina
          wrote on last edited by
          #4

          @FutureDesigner please don't triple post! Since you already received replies in this post, you may need to close posts here and here.

          Upvote the answer(s) that helped you solve the issue
          Use "Topic Tools" button to mark your post as Solved
          Add screenshots via postimage.org
          Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

          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