What is the best way to play(animate) the bar on the video play(like slider but not, use QGrahpicsView here)?
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?
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.
ok, thank you:)
sorry, but my project is pressing
Then you should maybe consider hiring someone to help you. You can contact e.g. The Qt Company, KDAB, ICS etc.
adutzu89 last edited by
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.
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.