Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Qt, Color Picker Dialog?

Tags:

c++

qt

Is there a color picker dialog for Qt like the following?

Also it needs to have a OnColorChanged signal which is called when ever the selected color changes. I want to give a live preview when they are changing the colors, that is why.

http://i49.tinypic.com/vpu7hv.jpg

Using google I could only find this one that was a triangle in side of a circle and personally I think it looks ugly.

like image 903
user230821 Avatar asked Dec 29 '09 00:12

user230821


1 Answers

QColorDialog does exactly what you want.

(It is easy to find when you Ctrl-F through the list of Qt classes for "color")

like image 164
Stefan Monov Avatar answered Oct 14 '22 16:10

Stefan Monov