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. What is the best way to play(animate) the bar on the video play(like slider but not, use QGrahpicsView here)?

What is the best way to play(animate) the bar on the video play(like slider but not, use QGrahpicsView here)?

Scheduled Pinned Locked Moved General and Desktop
8 Posts 3 Posters 2.0k 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.
  • O Offline
    O Offline
    opengpu
    wrote on last edited by
    #1

    here i draw a line to simulate the bar, so i want to know what is the best way to animate it in paint() func.
    is QTimeLine a common way to realize it?

    1 Reply Last reply
    0
    • O Offline
      O Offline
      opengpu
      wrote on last edited by
      #2

      anyone helps?
      :)thank you

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        Please don't bump your own thread so early, allow at least 24 to 48 hours for others to answer. Not everybody on this forum lives in the same time zone as you.

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • O Offline
          O Offline
          opengpu
          wrote on last edited by
          #4

          ok, thank you:)
          sorry, but my project is pressing

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Then you should maybe consider hiring someone to help you. You can contact e.g. The Qt Company, KDAB, ICS etc.

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • O Offline
              O Offline
              opengpu
              wrote on last edited by
              #6

              lmao

              1 Reply Last reply
              0
              • A Offline
                A Offline
                adutzu89
                wrote on last edited by
                #7

                Don't know if this might help you, but have you tried reimplementing QAbstractSlider(or QSlider) and customize it the way you like?
                This way you would have QSlider's functionality and your own style.

                1 Reply Last reply
                0
                • O Offline
                  O Offline
                  opengpu
                  wrote on last edited by
                  #8

                  thank you , but here i use QGraphicsView,
                  and i have to draw the startLine, endLine, and the current PlayLine all by myself, so i think ur way is great, but not suitable for my situation
                  anyway, thanks a lot.

                  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