Unsolved Creating a interactive timeline control/editor
I wanted to create a timeline-based slider something like youtube has now.
- Move horizontally just like QSlider
- Hover would display time or some other status when hover over
- Markers on the slider timeline that indicate something (youtube had those yellow markers on the slider that indicated ads)
This might be not capable - even with customizing - for QT?
So I was conceding to something like this where the slider updates timeline-based control or something else:
I was wondering what's the best approach to subclass an existing control to create a graphical timeline (with that hover popup) Or should I be looking at something like QGraphicsView? The interactive timeline (often seen in video editors) is the goal for me.
Any help would be appreciated!
If you are looking for video editor like controls you might want to take a look at Kdenlive's sources.
I think you can subclass QAbstractSlider and reimplement those
pure virutalmethods you need to get what you want, especially all that relates to
paintEvent()and starts with