Hello everyone,

I'm currently developing an application, and I need to implement a timeline that would work the same way as this one, from adobe premiere pro :



I need to be able to drag and drop widget that would stay on the spot where I drop them, currently I have used a HBoxLayout, but everything is aligned on the left (which is a normal behaviour).

After some thinking, I see two ways of doing this :

  1. Use the HBoxLayout with spacers (not pratical but may work)
  2. Create my own QLayout (can be difficult)


Is there another way of doing this ? If not, which way do you recommend ?

Thank you in advance for your answer.

Regards,

Azsde.