X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_TransparencyWidget.h;h=f18cff68c8409f35aa42ded2ad5a059747c73360;hb=745c72679f6346375d5e886b25cc3865f3c4daae;hp=a3f5b23b0245aed38ea39d34c303d49a2a238d73;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_TransparencyWidget.h b/src/XGUI/XGUI_TransparencyWidget.h index a3f5b23b0..f18cff68c 100644 --- a/src/XGUI/XGUI_TransparencyWidget.h +++ b/src/XGUI/XGUI_TransparencyWidget.h @@ -1,4 +1,4 @@ -// Copyright (C) 2014-2019 CEA/DEN, EDF R&D +// Copyright (C) 2014-2021 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 @@ -24,9 +24,8 @@ #include -class QDoubleSpinBox; class QSlider; -class QCheckBox; +class QLabel; /** * \ingroup GUI @@ -52,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