[Qt-interest] I need a Colors/Material Properties Dialog.
David Boosalis
david.boosalis at gmail.com
Sun Feb 14 13:15:09 CET 2010
Maybe one of the widgets at Qt Solutions will suffice (
ftp://ftp.qt.nokia.com/qt/solutions/lgpl/)
For example the Qcolor triangle is widget and not dialog based. There are a
few other color widgets there that might be of use. If not these then you
can always just take the source code of QColorDialog, I bet it would not
take more then a half hour to convert it to a QWidget.
-David
On Fri, Feb 12, 2010 at 2:43 PM, kent williams <nkwmailinglists at gmail.com>wrote:
> 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?
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100214/7832787e/attachment.html
More information about the Qt-interest-old
mailing list