Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make same planes cannot be used twice in partition tool
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ColorDialog.h
diff --git
a/src/XGUI/XGUI_ColorDialog.h
b/src/XGUI/XGUI_ColorDialog.h
index e5bc381d5ba331ec1252e57c099a4fdaea0d4db7..1b41916a4763a4268ac00fc1865f3479f219ea47 100644
(file)
--- a/
src/XGUI/XGUI_ColorDialog.h
+++ b/
src/XGUI/XGUI_ColorDialog.h
@@
-43,6
+43,11
@@
public:
/// \return a vector of values
std::vector<int> getColor() const;
/// \return a vector of values
std::vector<int> 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<int> getRandomColor() const;
+
private:
QButtonGroup* myButtonGroup; /// a group, contained random and certain color radio button choice
QtxColorButton* myColorButton; /// a control to select a color
private:
QButtonGroup* myButtonGroup; /// a group, contained random and certain color radio button choice
QtxColorButton* myColorButton; /// a control to select a color