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. Approach for graphic scene with animation

Approach for graphic scene with animation

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.1k 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.
  • W Offline
    W Offline
    wild34
    wrote on last edited by
    #1

    Hello everybody, I'm thinking about creating a program which will have some animation scene, specifically it will illustrate a continious stream of some imagined packets that consist of 4 buffers (queues) that are multiplexed into one stream. I need to control animation speed, number of packets in each buffer and buffer frequency (priority) of occurrence in the main stream. I've tried the QPainter on a simple QWidget earlier, but I never used QGraphicsScene. I've read the approach QGraphicsScene/QPainter is obsolete for Qt 5.2/5.3 and QtQuick Scene Graph is used instead. So, to which side of Qt should I look?

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      Hi.
      I don't think that QGraphicsScene is obsolete.
      But if you write new app, better of course use QtQuick.
      good start points are:
      "Qt Examples And Tutorials":https://qt-project.org/doc/qt-5/qtexamplesandtutorials.html
      "qmlbook.org":http://qmlbook.org/

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Soraltan
        wrote on last edited by
        #3

        Hi,

        you might also find the "QTimeLine":http://qt-project.org/doc/qt-4.8/qtimeline.html class useful.

        Best

        Soraltan

        1 Reply Last reply
        0
        • W Offline
          W Offline
          wild34
          wrote on last edited by
          #4

          Thank you, I will try this

          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