13 ColorBox(QColor color, QWidget *parent = 0);
void setColor(QColor color)
Sets the color.
Definition: colorbox.cpp:50
const QColor getColor()
Get the current color.
Definition: colorbox.cpp:46
void waitForColor()
Wait for the color dialog and apply chosen color.
Definition: colorbox.cpp:59
~ColorBox()
Cleans up the widget.
Definition: colorbox.cpp:42
void colorChanged(QColor color)
The color has been changed.
A widget for the selection of a color.
Definition: colorbox.h:9
ColorBox(QColor color, QWidget *parent=0)
Initializes the widget.
Definition: colorbox.cpp:35