A button widget designed to select a color. More...
#include <colorbutton.h>
Signals | |
void | colorUpdated (QColor oldColor, const QColor &newColor) |
Protected Slots | |
void | thisClicked () |
Protected Member Functions | |
void | updateAppearance () |
void | updateColor (const QColor &newColor) |
Will always emit colorUpdated() signal. More... | |
Protected Attributes | |
QColor | color |
A button widget designed to select a color.
This will paint itself in a color it represents. Clicking this button will bring up a standard color selection dialog box. Operating this control is as easy as it gets: Just drop it inside a container and either capture colorUpdated() signals or extract the color when ready through one of the color methods.
Definition at line 37 of file colorbutton.h.
|
protected |
Will always emit colorUpdated() signal.
Definition at line 86 of file colorbutton.cpp.