Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. Experimenting with animation (I think)
Forum Updated to NodeBB v4.3 + New Features

Experimenting with animation (I think)

Scheduled Pinned Locked Moved Unsolved The Lounge
6 Posts 5 Posters 870 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.
  • mzimmersM Offline
    mzimmersM Offline
    mzimmers
    wrote on last edited by
    #1

    Hi all -

    I've got a little time to kill this week, so naturally I thought I'd devote it to learning a new Qt skill. I'd like to learn how to create a dynamic display. The content doesn't really matter; it could be something as simple as graphing one's heart rate (assume that the data is available).

    1. Is this considered animation, or does animation refer to more complex graphics?
    2. if it is considered animation, which of the various animation classes would be recommended for something like this?

    Thanks...

    jsulmJ J.HilkJ 2 Replies Last reply
    0
    • mzimmersM mzimmers

      Hi all -

      I've got a little time to kill this week, so naturally I thought I'd devote it to learning a new Qt skill. I'd like to learn how to create a dynamic display. The content doesn't really matter; it could be something as simple as graphing one's heart rate (assume that the data is available).

      1. Is this considered animation, or does animation refer to more complex graphics?
      2. if it is considered animation, which of the various animation classes would be recommended for something like this?

      Thanks...

      jsulmJ Online
      jsulmJ Online
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @mzimmers

      1. Really depends on concrete use case. Your example sounds more like plotting. See https://stackoverflow.com/questions/1491362/making-plot-in-qt
      2. This again really depends on concrete use case

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • mzimmersM mzimmers

        Hi all -

        I've got a little time to kill this week, so naturally I thought I'd devote it to learning a new Qt skill. I'd like to learn how to create a dynamic display. The content doesn't really matter; it could be something as simple as graphing one's heart rate (assume that the data is available).

        1. Is this considered animation, or does animation refer to more complex graphics?
        2. if it is considered animation, which of the various animation classes would be recommended for something like this?

        Thanks...

        J.HilkJ Offline
        J.HilkJ Offline
        J.Hilk
        Moderators
        wrote on last edited by J.Hilk
        #3

        @mzimmers that also depends a lot on what technology you want to use.

        Since it's a rather simple task/drawing I would do it via paintEvent override in QWidgets or a canvas in Qml


        Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


        Q: What's that?
        A: It's blue light.
        Q: What does it do?
        A: It turns blue.

        1 Reply Last reply
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by mzimmers
          #4

          Thanks for the replies, guys. So...at what point does a dynamic display become "animation?" Is it an abstraction of a real-life object? Pre-built scenes?

          Let's say that I wanted to monitor the ink levels in a continuously running printer. (I'm stuck for a better example right now.) Would representing the ink level as sort of a vertical bar chart be considered animation?

          As you can tell, I don't really know what I want to do: I'm just trying to learn some of the more interesting, advanced topics of Qt.

          I do know that I'd prefer to remain in C++ instead of QML.

          Thanks...

          L 1 Reply Last reply
          0
          • fcarneyF Offline
            fcarneyF Offline
            fcarney
            wrote on last edited by
            #5

            @mzimmers said in Experimenting with animation (I think):

            I do know that I'd prefer to remain in C++ instead of QML.

            You can still program the drawing in C++ even for QML objects. If you would like to avoid QML altogether I understand. There are several rending options for qml including opengl I believe.

            C++ is a perfectly valid school of magic.

            1 Reply Last reply
            0
            • mzimmersM mzimmers

              Thanks for the replies, guys. So...at what point does a dynamic display become "animation?" Is it an abstraction of a real-life object? Pre-built scenes?

              Let's say that I wanted to monitor the ink levels in a continuously running printer. (I'm stuck for a better example right now.) Would representing the ink level as sort of a vertical bar chart be considered animation?

              As you can tell, I don't really know what I want to do: I'm just trying to learn some of the more interesting, advanced topics of Qt.

              I do know that I'd prefer to remain in C++ instead of QML.

              Thanks...

              L Offline
              L Offline
              Lebsack
              Banned
              wrote on last edited by Lebsack
              #6
              This post is deleted!
              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