Hello all,
I'm new to PyQt and wondering how I can create a widget to edit a QGradient like in teh picture below

So far I have been thinking at using a QGraphicView and drawing all items on it, making the markers movable.
Is there a better (i.e. simpler) way?