X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_TransparencyWidget.h;h=8de0d715bfe559f58e3805f113771d6521440d4a;hb=5afcc18216ad228eafcaf632c5008d1aebd3122e;hp=006d1297aa85749f8c2fd91b3f9b9880a49e5631;hpb=6f213b9cc0ff018596fee19029d88ff8f8346025;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_TransparencyWidget.h b/src/XGUI/XGUI_TransparencyWidget.h index 006d1297a..8de0d715b 100644 --- a/src/XGUI/XGUI_TransparencyWidget.h +++ b/src/XGUI/XGUI_TransparencyWidget.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2017 CEA/DEN, EDF R&D +// Copyright (C) 2014-2019 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 @@ -12,10 +12,9 @@ // // 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 +// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA // -// See http://www.salome-platform.org/ or -// email : webmaster.salome@opencascade.com +// See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com // #ifndef XGUI_TransparencyWidget_H @@ -25,9 +24,8 @@ #include -class QDoubleSpinBox; class QSlider; -class QCheckBox; +class QLabel; /** * \ingroup GUI @@ -53,27 +51,17 @@ public: /// \return value double getValue() const; - /// Returns true if the value should be applyed immediatelly - /// \return state of preview check control - bool isPreviewNeeded() const; - signals: void transparencyValueChanged(); - void previewStateChanged(); private slots: - /// Update slider value by spin value - /// \param theValue the new spin value - void onSpinValueChanged(double theValue); - /// Update spin value by slider value /// \param theValue the new slider value void onSliderValueChanged(int theValue); private: - QDoubleSpinBox* mySpinValue; /// value control QSlider* mySliderValue; /// slider to select value - QCheckBox* myPreview; /// do preview immediatelly + QLabel* myValLbl; }; #endif