void setColor(QColor color)
Sets the color.
Definition: colorbox.cpp:49
const QColor getColor()
Get the current color.
Definition: colorbox.cpp:45
void waitForColor()
Wait for the color dialog and apply chosen color.
Definition: colorbox.cpp:57
~ColorBox()
Cleans up the widget.
Definition: colorbox.cpp:41
void colorChanged(QColor color)
The color has been changed.
ColorBox(QColor color, QWidget *parent=nullptr)
Initializes the widget.
Definition: colorbox.cpp:35
A widget for the selection of a color.
Definition: colorbox.h:9
QColor color
Definition: colorbox.h:23