X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FXGUI%2FXGUI_TransparencyWidget.h;h=8de0d715bfe559f58e3805f113771d6521440d4a;hb=f421ab3932a5e09ae8082215c3eaaa8cc4944e02;hp=a3f5b23b0245aed38ea39d34c303d49a2a238d73;hpb=c4eab94a20a0d93100549a210582d46409fec1cc;p=modules%2Fshaper.git diff --git a/src/XGUI/XGUI_TransparencyWidget.h b/src/XGUI/XGUI_TransparencyWidget.h index a3f5b23b0..8de0d715b 100644 --- a/src/XGUI/XGUI_TransparencyWidget.h +++ b/src/XGUI/XGUI_TransparencyWidget.h @@ -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