![]() |
VR-Forces 4.1 Class Documentation
|
A widget class for putting simulation Time buttons on that are tied to existing menu items. More...

Public Member Functions | |
| DtSimulationTimeScaleWidgetSlider (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags flags=0) | |
| CTOR. | |
| virtual | ~DtSimulationTimeScaleWidgetSlider () |
| DTOR. | |
| virtual void | setTimeMultiplier (double multiplier) |
| Sets the time multiplier to the specified value. Calls down to logic to set. | |
| virtual double | timeMultiplier () const |
| virtual void | setTimeMultiplier (int tick, double multiplier) |
| Sets the value of the time multiplier. | |
| virtual void | setRange (int low, int high, int tickInterval=1) |
| Sets the range on the slider. | |
| virtual void | setValidatorRange (double low, double high) |
| Sets the range on the validator. | |
| virtual void | range (int &low, int &high) const |
| Returns the range on the slider. | |
| virtual void | setEnabled (bool) |
| Enables/disables widget. | |
| virtual bool | enabled () const |
| Returns enable state of widget. | |
Public Member Functions inherited from makVrf::DtSimulationTimeScaleWidgetInterface | |
| virtual | ~DtSimulationTimeScaleWidgetInterface () |
| Virtual DTOR. | |
Public Attributes | |
| DtSimulationTimeScaleWidgetLogic * | myLogic |
| QDoubleValidator | myDoubleValidator |
| QLineEdit * | myTimeMultiplierEdit |
| QSlider * | myTimeMultiplierSlider |
Protected Slots | |
| virtual void | changeTimeMultiplier (int) |
| virtual void | changeTimeMultiplier (const QString &) |
Protected Member Functions | |
| virtual void | setupGui () |
| Sets up the contents of the widget onto the supplied parent. | |
A widget class for putting simulation Time buttons on that are tied to existing menu items.
| makVrf::DtSimulationTimeScaleWidgetSlider::DtSimulationTimeScaleWidgetSlider | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | flags = 0 |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Sets the time multiplier to the specified value. Calls down to logic to set.
|
virtual |
|
virtual |
Sets the value of the time multiplier.
Implements makVrf::DtSimulationTimeScaleWidgetInterface.
|
virtual |
Sets the range on the slider.
Implements makVrf::DtSimulationTimeScaleWidgetInterface.
|
virtual |
Sets the range on the validator.
Implements makVrf::DtSimulationTimeScaleWidgetInterface.
|
virtual |
Returns the range on the slider.
Implements makVrf::DtSimulationTimeScaleWidgetInterface.
|
virtual |
Enables/disables widget.
Implements makVrf::DtSimulationTimeScaleWidgetInterface.
|
virtual |
Returns enable state of widget.
Implements makVrf::DtSimulationTimeScaleWidgetInterface.
|
protectedvirtual |
Sets up the contents of the widget onto the supplied parent.
|
protectedvirtualslot |
|
protectedvirtualslot |
| DtSimulationTimeScaleWidgetLogic* makVrf::DtSimulationTimeScaleWidgetSlider::myLogic |
| QDoubleValidator makVrf::DtSimulationTimeScaleWidgetSlider::myDoubleValidator |
| QLineEdit* makVrf::DtSimulationTimeScaleWidgetSlider::myTimeMultiplierEdit |
| QSlider* makVrf::DtSimulationTimeScaleWidgetSlider::myTimeMultiplierSlider |