|
SHAPER
9.15.0
|
A class of a widget to chose transparency. More...

Signals | |
| void | transparencyValueChanged () |
Public Member Functions | |
| XGUI_TransparencyWidget (QWidget *theParent, const QString &theLabelText=QString()) | |
| Constructor. More... | |
| void | setValue (double theValue) |
| Initializes the dialog with the given value. More... | |
| double | getValue () const |
| Returns the current transparency value. More... | |
A class of a widget to chose transparency.
range of values is [0, 1], where 0 - there is no transparency, 1 - the object is fully transparent.
| XGUI_TransparencyWidget::XGUI_TransparencyWidget | ( | QWidget * | theParent, |
| const QString & | theLabelText = QString() |
||
| ) |
Constructor.
| theParent | a parent widget for the dialog |
| theLabelText | if not empty, the information label will be shown in the widget |
| void XGUI_TransparencyWidget::setValue | ( | double | theValue | ) |
Initializes the dialog with the given value.
| theValue | transparency value |
| double XGUI_TransparencyWidget::getValue | ( | ) | const |
Returns the current transparency value.