Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ColorDialog Class Reference

The OColorDialog class provides a dialog widget for specifying colors. More...


Detailed Description

The OColorDialog class provides a dialog widget for specifying colors.

The color dialog's function is to allow users to choose colors - for instance, you might use this in a drawing program to allow the user to set the brush color.

This version of Qt only provides modal color dialogs. The static getColor() function shows the dialog and allows the user to specify a color, while getRgba() does the same but allows the user to specify a color with an alpha channel (transparency) value.

The user can store customCount() different custom colors. The custom colors are shared by all color dialogs, and remembered during the execution of the program. Use setCustomColor() to set the custom colors, and customColor() to get them.

qcolordlg-m.png
qcolordlg-w.png


The documentation for this class was generated from the following file:
Generated on Sat Nov 5 17:29:15 2005 for OPIE by  doxygen 1.4.2