开发者

Qt, Color Picker Dialog?

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.

Qt, Color Picker Dialog?

开发者_如何学C

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


QColorDialog does exactly what you want.

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


Qt has now a "normal" color picker: http://doc.qt.io/qt-5/qcolordialog.html#details

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜