20 #ifndef XGUI_ColorDialog_H
21 #define XGUI_ColorDialog_H
57 void setColor(
const std::vector<int>& theValue);
73 QButtonGroup* myButtonGroup;
74 QtxColorButton* myColorButton;
75 QCheckBox* myTargetSetCheck;
A class of dialog to chose a color.
Definition: XGUI_ColorDialog.h:38
bool isRandomColor() const
Returns whether the random state of color is chosen.
Definition: XGUI_ColorDialog.cpp:104
std::vector< int > getColor() const
Returns a container with the current color value.
Definition: XGUI_ColorDialog.cpp:122
XGUI_ColorDialog(QWidget *theParent, bool theCheckBoxNeed=true)
Constructor.
Definition: XGUI_ColorDialog.cpp:69
void setColor(const std::vector< int > &theValue)
Initializes the dialog with the given value.
Definition: XGUI_ColorDialog.cpp:114
std::vector< int > getRandomColor() const
Returns a container with the current color value.
Definition: XGUI_ColorDialog.cpp:134
bool isSetOnSubShape() const
Returns whether the need set color on subshape only.
Definition: XGUI_ColorDialog.cpp:109