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
Workaround for Debian 6.0 (issues #1868 and #1878)
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_ColorDialog.h
diff --git
a/src/XGUI/XGUI_ColorDialog.h
b/src/XGUI/XGUI_ColorDialog.h
index e5bc381d5ba331ec1252e57c099a4fdaea0d4db7..661b2780802d652797f0f29c1e0984b6e11206db 100644
(file)
--- a/
src/XGUI/XGUI_ColorDialog.h
+++ b/
src/XGUI/XGUI_ColorDialog.h
@@
-17,8
+17,8
@@
class QtxColorButton;
/**
* \ingroup GUI
* A class of dialog to chose a color. The color can be set in two ways: use a random value or
/**
* \ingroup GUI
* A class of dialog to chose a color. The color can be set in two ways: use a random value or
-* a certain color. There is a radio button to provide this choice. The color button is
visualized to
-* select a certain color.
+* a certain color. There is a radio button to provide this choice. The color button is
+*
visualized to
select a certain color.
*/
class XGUI_ColorDialog : public QDialog
{
*/
class XGUI_ColorDialog : public QDialog
{
@@
-38,11
+38,19
@@
public:
/// \param theValue an RGB components value
void setColor(const std::vector<int>& theValue);
/// \param theValue an RGB components value
void setColor(const std::vector<int>& theValue);
- /// Returns a container with the current color value. These are tree int values for RGB definition.
- /// These value is depend on the random choice and eighter a next random color or a certain color.
+ /// Returns a container with the current color value.
+ /// These are tree int values for RGB definition.
+ /// These value is depend on the random choice and eighter
+ /// a next random color or a certain color.
/// \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