[Qt-interest] I need a Colors/Material Properties Dialog.

kent williams nkwmailinglists at gmail.com
Fri Feb 12 23:43:56 CET 2010


I'm converting an application from KWWidgets to Qt, which is mostly
going OK.  But there's one thing I need to replace that doesn't have
an easy analog in Qt: My colors/properties dialog.

What I have in KWWidgets is a bunch of sliders for
Ambient/Diffuse/Specular/Specular Power and a tabbed notebook with
color editors for Ambient, Diffuse, and Specular Color.  Whenever a
slider is moved or a color is chosen, the change is reflected
immediately by the object whose properties are being edited.

Now, in Qt 4.6.1 there's what should be a useful class, QColorDialog.
But what I'd really like is a widget containing the stuff in
QColorDialog, but as a Widget I can use in my own custom dialog.

Has someone done this or should I go ahead and rip out the guts of
QColorDialog to get what I need?



More information about the Qt-interest-old mailing list