X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ColorDialog.h;h=1b41916a4763a4268ac00fc1865f3479f219ea47;hb=45314f99ce0639af40401746aab4917f076102f2;hp=e5bc381d5ba331ec1252e57c099a4fdaea0d4db7;hpb=564df60468b225bbce2f1cc055299b47c3be9355;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ColorDialog.h b/src/XGUI/XGUI_ColorDialog.h index e5bc381d5..1b41916a4 100644 --- a/src/XGUI/XGUI_ColorDialog.h +++ b/src/XGUI/XGUI_ColorDialog.h @@ -43,6 +43,11 @@ public: /// \return a vector of values std::vector getColor() const; + /// Returns a container with the current color value. These are tree int values for RGB definition. + /// It returns the next random color. + /// \return a vector of values + std::vector getRandomColor() const; + private: QButtonGroup* myButtonGroup; /// a group, contained random and certain color radio button choice QtxColorButton* myColorButton; /// a control to select a color