QColorRampEditor

Qt Widgets

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

1
Become a Fan
5.0

Description:
Use it for any kind of image visualization and color table manipulation.

Ratings, comments and feature requests are wellcome.
Last changelog:

1.4
* Qt5 support in Example
* Fix color setting round error

1.3
* Complete new code
* Add vertical support
* Add value visualization
* Remove normalization

1.2
* normalize ramp input

1.1
* fix delete emit
* get a colortable
* slide move update
* example

1.0
* init release


Ratings & Comments

5 Comments

neFAST

Very nice widget

bigfug

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.

Madrich

The ramp is normalized now between 0 and 1, when setting it. But I could not verify your issue.

bigfug

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!

sintegrial

Looks nice :)

Pling
0 Affiliates
Details
license
version 1.4
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Qt Widgets from Madrich:

QMultiComboBox
Madrich
last update date: 12 years ago

Score 5.7

QFullScreenAdapter
Madrich
last update date: 12 years ago

Score 6.1

Other Qt Widgets:

Widget Virtual Keyboard
embitel
last update date: 15 years ago

Score 5.3

Widget Marquee Label
embitel
last update date: 15 years ago

Score 6.1

Widget Color Picker
embitel
last update date: 15 years ago

Score 4.7

QtitanDataGrid advanced Grid for Qt
BigZ1
last update date: 8 years ago

Score 5.7

QtitanRibbon Microsoft RibbonUI and Office Styles for Qt
BigZ1
last update date: 8 years ago

Score 5.2

Q7TaskBar
QDevelopper
last update date: 13 years ago

Score 6.1