Salome HOME
Copyright update 2022
[modules/shaper.git] / src / XGUI / XGUI_TransparencyWidget.h
index a3f5b23b0245aed38ea39d34c303d49a2a238d73..e5ee44f4532d5777ec482486fc4599b88d2f0ea7 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2022  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 <QWidget>
 
-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