Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update viewer on delete an item
[modules/shaper.git]
/
src
/
XGUI
/
XGUI_TransparencyWidget.h
diff --git
a/src/XGUI/XGUI_TransparencyWidget.h
b/src/XGUI/XGUI_TransparencyWidget.h
index a3f5b23b0245aed38ea39d34c303d49a2a238d73..8de0d715bfe559f58e3805f113771d6521440d4a 100644
(file)
--- a/
src/XGUI/XGUI_TransparencyWidget.h
+++ b/
src/XGUI/XGUI_TransparencyWidget.h
@@
-24,9
+24,8
@@
#include <QWidget>
#include <QWidget>
-class QDoubleSpinBox;
class QSlider;
class QSlider;
-class Q
CheckBox
;
+class Q
Label
;
/**
* \ingroup GUI
/**
* \ingroup GUI
@@
-52,27
+51,17
@@
public:
/// \return value
double getValue() const;
/// \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();
signals:
void transparencyValueChanged();
- void previewStateChanged();
private slots:
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:
/// 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
QSlider* mySliderValue; /// slider to select value
- Q
CheckBox* myPreview; /// do preview immediatelly
+ Q
Label* myValLbl;
};
#endif
};
#endif