![]() |
VR-Forces 4.8 Class Documentation
|
DtModelScaleWidget is a toolbar widget that combines a button to enable and disable model scaling, and a drop-down button to bring up a slider for the model scale factor. More...

Public Member Functions | |
| DtModelScaleWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor. More... | |
| virtual | ~DtModelScaleWidget () |
| Destructor. More... | |
| virtual void | setEnabled (bool b) |
| Enable or disable the model scaling button. More... | |
| virtual void | setValue (bool b) |
| Set the value of the model caling button (on/off) More... | |
| virtual void | setModelScaleFactor (int factor) |
| Set the current model scale factor to be used by the scale factor slider. More... | |
| virtual void | setMaxModelScaleFactor (int maxModelScaleFactor) |
| Sets the model scale slider's maximum value. More... | |
Public Member Functions inherited from makVrv::DtModelScaleWidgetInterface | |
| virtual | ~DtModelScaleWidgetInterface () |
| Virtual DTOR. More... | |
Protected Slots | |
| virtual void | on_modelScaleToggleClicked () |
| connected to the internal model scale slider toggle button More... | |
| virtual void | on_modelScaleSliderChanged (int) |
Protected Member Functions | |
| void | setupGui () |
| Sets up the user interface. Called from constructor. More... | |
| virtual void | slot_activate (DtDe *subject) |
| virtual void | slot_deactivate (DtDe *) |
DtModelScaleWidget is a toolbar widget that combines a button to enable and disable model scaling, and a drop-down button to bring up a slider for the model scale factor.
| makVrv::DtModelScaleWidget::DtModelScaleWidget | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
Enable or disable the model scaling button.
If the scale slider is up, this will also bring that down
Implements makVrv::DtModelScaleWidgetInterface.
|
virtual |
Set the value of the model caling button (on/off)
Implements makVrv::DtModelScaleWidgetInterface.
|
virtual |
Set the current model scale factor to be used by the scale factor slider.
Implements makVrv::DtModelScaleWidgetInterface.
|
virtual |
Sets the model scale slider's maximum value.
Implements makVrv::DtModelScaleWidgetInterface.
|
protected |
Sets up the user interface. Called from constructor.
|
protectedvirtual |
|
inlineprotectedvirtual |
|
protectedvirtualslot |
connected to the internal model scale slider toggle button
|
protectedvirtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |