X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_ColorDialog.h;h=bd3f0c157050d6f211b4ff4a4bb84e05b1f6ac8f;hb=1e1b7ad082844bc8bdbbd002ae8ca1c0c7e5010f;hp=1b41916a4763a4268ac00fc1865f3479f219ea47;hpb=1ae83e2782aca0380a9a7ee664cac0ea8dc2e358;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_ColorDialog.h b/src/XGUI/XGUI_ColorDialog.h index 1b41916a4..bd3f0c157 100644 --- a/src/XGUI/XGUI_ColorDialog.h +++ b/src/XGUI/XGUI_ColorDialog.h @@ -1,8 +1,22 @@ -// Copyright (C) 2014-20xx CEA/DEN, EDF R&D - -// File: XGUI_ColorDialog.hxx -// Created: 27 Apr 2015 -// Author: Natalia ERMOLAEVA +// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// +// This library is free software; you can redistribute it and/or +// modify it under the terms of the GNU Lesser General Public +// License as published by the Free Software Foundation; either +// version 2.1 of the License, or (at your option) any later version. +// +// This library is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +// Lesser General Public License for more details. +// +// You should have received a copy of the GNU Lesser General Public +// License along with this library; if not, write to the Free Software +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA +// +// See http://www.salome-platform.org/ or +// email : webmaster.salome@opencascade.com +// #ifndef XGUI_ColorDialog_H #define XGUI_ColorDialog_H @@ -17,8 +31,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 -* 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 { @@ -38,12 +52,15 @@ public: /// \param theValue an RGB components value void setColor(const std::vector& 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 getColor() const; - /// Returns a container with the current color value. These are tree int values for RGB definition. + /// 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;