Home · All Namespaces · All Classes · Grouped Classes · Modules · Functions |
The QColorButton class allows users to select a color. More...
#include <QColorButton>
Inherits QPushButton.
The QColorButton class allows users to select a color.
The QColorButton class presents a push button with the current color displayed as the label. Clicking the button pops up a color selection grid for the user to choose from a number of pre-defined colors. A default color is displayed at the bottom of the grid.
Constructs a QColorButton with the given parent.
Constructs a QColorButton with the given parent and the default color set to color.
Destroys the QColorButton.
Returns the currently selected color.
See also setColor().
Returns the default color.
See also setDefaultColor() and color().
Paints the color label using painter painter.
When the selected color changes, this signal is emitted with the color parameter containing the new color.
Sets the currently selected color.
See also color().
Sets the default color.
See also defaultColor() and setColor().
Copyright © 2009 Nokia | Trademarks | Qt Extended 4.4.3 |