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. Best way for cross-platform interactive graphical/canvas widget?
Forum Updated to NodeBB v4.3 + New Features

Best way for cross-platform interactive graphical/canvas widget?

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 1.4k 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.
  • P Offline
    P Offline
    patrickkidd
    wrote on last edited by
    #1

    Hi there!

    I need to implement an interactive graphical timeline that looks something like the attached concept shots. It should be hardware accelerated across platforms.

    What's the best way to do this? QWidget? QGraphicsView? Quick? I have extensive experience with QWidget, decent experience with QGraphicsView, and no experience with Quick.

    Thanks!

    3_1523158459899_timeline_trend-graph.jpg 2_1523158459899_graphic-design-timeline.jpg 1_1523158459899_36151671-timeline-design-template-with-icons-and-graphics-idea-to-display-information-steps-for-industrial-fa.jpg 0_1523158459898_1604.m00.i121.n067.f.c06.157268597-gtp-timeline-infographic-with-line-charts-.jpg

    https://alaskafamilysystems.com/

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi
      I think a QGraphicsView custom item would work super.
      QML is also very suited for this.
      However, if you are not using QML already and timeline is to be used in Widget
      application, i would go with QGraphicsFramework - as the amount of boilerplate for mixing
      QML and c++ is not that trivial. (for all the timeline data)

      But could also be a good excuse to learn QML ;)

      P 1 Reply Last reply
      1
      • mrjjM mrjj

        Hi
        I think a QGraphicsView custom item would work super.
        QML is also very suited for this.
        However, if you are not using QML already and timeline is to be used in Widget
        application, i would go with QGraphicsFramework - as the amount of boilerplate for mixing
        QML and c++ is not that trivial. (for all the timeline data)

        But could also be a good excuse to learn QML ;)

        P Offline
        P Offline
        patrickkidd
        wrote on last edited by
        #3

        @mrjj Thanks for your response. How is the painting performance on QWidget compare to doing something similar in QtQuick?

        https://alaskafamilysystems.com/

        mrjjM 1 Reply Last reply
        0
        • P patrickkidd

          @mrjj Thanks for your response. How is the painting performance on QWidget compare to doing something similar in QtQuick?

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @patrickkidd
          Hi
          QGraphicsFramework can be openGL accelerated and in that regards
          be as fast as QtQuick.

          A QPainter implementation might be slow on hi resolutions displays but
          would also run fine on desktop class pc.

          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