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. Creating a interactive timeline control/editor
Forum Updated to NodeBB v4.3 + New Features

Creating a interactive timeline control/editor

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.9k 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.
  • J Offline
    J Offline
    johnsmith12
    wrote on last edited by
    #1

    0_1504799146917_c312a6c9-f515-4d38-aa8d-b62195f72b79-image.png

    I wanted to create a timeline-based slider something like youtube has now.

    1. Move horizontally just like QSlider
    2. Hover would display time or some other status when hover over
    3. 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:
    0_1504799667574_test.png

    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!

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

      Hi,

      If you are looking for video editor like controls you might want to take a look at Kdenlive's sources.

      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
      • T Offline
        T Offline
        Tikani
        wrote on last edited by
        #3

        I think you can subclass QAbstractSlider and reimplement those virtual protected and pure virutal methods you need to get what you want, especially all that relates to paintEvent() and starts with paint in general.

        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