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. recreating this graphic in Qt

recreating this graphic in Qt

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 3 Posters 248 Views 1 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.
  • K Offline
    K Offline
    ken.teh
    wrote on last edited by
    #1

    I am rewriting a 15 year old program in Qt and would like to recreate and improve on the graphic in the lower half of this picture.
    quadview2.jpg

    I am new to Qt but have written all of their other panels. The only remaining piece is this graphic.

    Can someone suggest which module/set of classes I should read up that is best suited to my task? I've worked through the basic examples of creating custom widgets with QPainter and I think I can wrangle something together that looks and works like the graphic but I'd like to improve on it and want to know where to concentrate my reading.

    JonBJ Pl45m4P 2 Replies Last reply
    0
    • K ken.teh

      I am rewriting a 15 year old program in Qt and would like to recreate and improve on the graphic in the lower half of this picture.
      quadview2.jpg

      I am new to Qt but have written all of their other panels. The only remaining piece is this graphic.

      Can someone suggest which module/set of classes I should read up that is best suited to my task? I've worked through the basic examples of creating custom widgets with QPainter and I think I can wrangle something together that looks and works like the graphic but I'd like to improve on it and want to know where to concentrate my reading.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @ken-teh
      While the top half looks like custom widgets, I would have thought the bottom diagram might best be a QGraphicsScene with graphics objects on it, which you have not read up on. But I'm not an expert.

      1 Reply Last reply
      3
      • K ken.teh

        I am rewriting a 15 year old program in Qt and would like to recreate and improve on the graphic in the lower half of this picture.
        quadview2.jpg

        I am new to Qt but have written all of their other panels. The only remaining piece is this graphic.

        Can someone suggest which module/set of classes I should read up that is best suited to my task? I've worked through the basic examples of creating custom widgets with QPainter and I think I can wrangle something together that looks and works like the graphic but I'd like to improve on it and want to know where to concentrate my reading.

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

        @ken-teh

        It's a job for the QGraphicsView framework, I would say.

        Some examples:

        • https://doc.qt.io/qt-5/graphicsview.html

        • https://doc.qt.io/qt-5/examples-graphicsview.html
          Especially this might be interesting:

          • https://doc.qt.io/qt-5/qtwidgets-graphicsview-diagramscene-example.html

        @JonB I'm too slow at pasting links and looking for the right example :))


        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
        3
        • K Offline
          K Offline
          ken.teh
          wrote on last edited by
          #4

          Thank you to those who responded. My Qt version with a QGraphicsScene.

          fmaview.png

          1 Reply Last reply
          2

          • Login

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