1 Attachment(s)
Widget to edit a QGradient
Hello all,
I'm new to PyQt and wondering how I can create a widget to edit a QGradient like in teh picture below
Attachment 11242
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?
Thanks
Re: Widget to edit a QGradient
That's probably the easiest way, given that most of the mouse handling for dragging the markers/handles is already covered by the graphics view framework.
Cheers,
_