Hi, I am currently writing a new widget (group) to implement a gradient editor* tool similar functionally to that implemented by the Gimp**. I have at present implemented a gradient object which can manage and deliver QColors on demand, and a widget that uses this to fill its area in those colours. I found the code for the "range" slider in Qxt (QxtSpanSlider) and am currently assuming I will generalise this to the multi-segment operation I want. [advice on other options here??]
My question is graphical, really. The slider handles I want are arrows to points on a line rather than virtual "grab handles" and while those provided in QPlastiqueStyle (a square with an arrow on top) aren't bad, other styles aren't so good. Would it be better to implement what I think is good and ignore the application styling, or make do with what is available?
My thought at the moment would be a square with a triangle on top for the handle, and a straight line running away from the peak of the triangle.
Thanks for your help,
Ruth
* Gradients here consist of multiple segments each of which is x-mark-y (x,y are fixed colour endpoints, mark is an adjustment position), so you might have a gradient that went blue-green-red-yellow-black... for example.
** http://gimp.open-source-solution.org...-gradient-edit
Bookmarks