Image 01
profile-image

bigfug

Alex May Brighton, United Kingdom
QColorRampEditor

Qt Widgets by Madrich 5 comments

I tried the latest version but the issue remained for me. I fixed it with the following changes:

Quote:
127: qreal pos = ramp[i].first * crec.width();
128: QRect geo(crec.left()-4 + pos, crec.bottom()+2, 9, 16);


I also had to add an 'update()' just before the 'emit rampChanged();' to get the widget to show the new ramp.

Now it works perfectly!
- Jun 22 2012
QColorRampEditor

Qt Widgets by Madrich 5 comments

Really like this, thank you.

One issue is that when I try to use setRamp() (with data I previously got from getRamp()) the layout of the sliders is all wrong. - Jun 21 2012
QColorRampEditor

Qt Widgets
by Madrich

5.0
Jun 21 2012