20 #ifndef XGUI_ColorDialog_H
21 #define XGUI_ColorDialog_H
52 void setColor(
const std::vector<int>& theValue);
68 QButtonGroup* myButtonGroup;
69 QtxColorButton* myColorButton;
A class of dialog to chose a color.
Definition: XGUI_ColorDialog.h:37
bool isRandomColor() const
Returns whether the random state of color is chosen.
Definition: XGUI_ColorDialog.cpp:99
std::vector< int > getColor() const
Returns a container with the current color value.
Definition: XGUI_ColorDialog.cpp:112
XGUI_ColorDialog(QWidget *theParent)
Constructor.
Definition: XGUI_ColorDialog.cpp:68
void setColor(const std::vector< int > &theValue)
Initializes the dialog with the given value.
Definition: XGUI_ColorDialog.cpp:104
std::vector< int > getRandomColor() const
Returns a container with the current color value.
Definition: XGUI_ColorDialog.cpp:124