![]() |
VR-Forces 4.5 Class Documentation
|
A widget class for managing attachment. More...

Public Slots | |
| virtual void | toggleScaling (bool checked) |
| handle the scaling check box toggled | |
| virtual void | toggleConstrain (bool checked) |
| handle the constrain check box toggled | |
| virtual void | toggleTerrainDragging (bool checked) |
| handle the terrain dragging check box toggled | |
| virtual void | linearSpeedGainSliderChanged (int value) |
| handle the linear speed gain slider moved | |
| virtual void | rotationSpeedGainSliderChanged (int value) |
| handle the rotation speed gain slider moved | |
| virtual void | orbitSpeedGainSliderChanged (int value) |
| handle the orbit speed gain slider moved | |
| virtual void | onModelScaleFactorSliderChanged (int value) |
| virtual void | onViewMagnificationSpinBoxChanged (double value) |
| virtual void | onSpeedScalingMslRadioButtonClicked () |
| virtual void | onSpeedScalingAglRadioButtonClicked () |
| virtual void | onSpeedScalingMslModeOffsetSliderChanged (double value) |
Public Member Functions | |
| virtual | ~DtEyepointControlWidget () |
| virtual DTOR | |
| virtual QIcon | icon () |
| Get the icon of the page. | |
| virtual QString | title () |
| Get the title of the page. | |
| virtual const std::string & | pageClassName () const |
| Get the class name of the page. | |
| virtual void | setScalingCheckBox (bool checked) |
| Set the scaling check box. | |
| virtual void | setConstrainCheckBox (bool checked) |
| Set the constrain (to terrain) check box. | |
| virtual void | enableConstrainCheckBox (bool enabled) |
| Enable or disable the constrain (to terrain) check box. | |
| virtual void | setTerrainDragCheckBox (bool checked) |
| Set the terrain dragging enabled check box. | |
| virtual void | setLinearSpeedGainSlider (int gain) |
| Set the linear speed gain slider. | |
| virtual void | setRotationSpeedGainSlider (int gain) |
| Set the rotation speed gain slider. | |
| virtual void | setOrbitSpeedGainSlider (int gain) |
| Set the orbit speed gain slider. | |
| virtual void | setSliderGainPrecision (int precision) |
| Set the gain precision for all sliders. | |
| virtual void | setModelScaleFactorSlider (int factor) |
| Set the model scale factor. | |
| virtual void | enableModelScaleFactorSlider (bool enable) |
| Enable / disable model scale factor slider. | |
| virtual void | setMaxModelScaleFactor (int maxModelScaleFactor) |
| Set the model scale slider's maximum value. | |
| virtual void | setViewMagnificationSpinBox (double mag) |
| Set the value of the view magnification spin box. | |
| virtual void | enableViewMagnificationSpinBox (bool enable) |
| Enable / disable the view magnification spin box. | |
| virtual void | setSpeedScalingMode (DtObserverObject::SpeedScalingMode mode) |
| Set the speed scaling mode in use. | |
| virtual void | setSpeedScalingMslModeOffset (double offset) |
| Set the offset to use for MSL mode speed scaling. | |
| virtual QSize | sizeHint () const |
| QWidget override to provide a size hint. | |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| CTOR for page. | |
| virtual | ~DtPage () |
| DTOR for page. | |
| virtual PageAction | pageAction () |
| return the current action on the page | |
| virtual void | setPageAction (PageAction action) |
| set the curret action on the page | |
| virtual void | setActionFlag (int flag) |
| set the action flag of the page | |
| virtual int | actionFlag () |
| return the action flag of the page | |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| set the parent dialog that owns this page | |
| virtual QWidget * | parentDialog () |
| return the parent dialog that own this page | |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| test the action flag with the action, return true if we should ask before executing the action /param action the current page action | |
| virtual void | askBeforeAction () |
| Called when the action flag is set and before the action is beind executed, default do nothing. | |
| virtual void | executeAfterAsk (bool revert) |
| Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it. | |
| virtual void | resumeLastAction () |
| resume the last action of the page | |
| virtual void | onCloseEvent () |
| will be called when user hit the close button of this page, default do nothing. | |
| virtual void | onSwitchEvent () |
| will be called when user try switch to another page, default do nothing. | |
Public Member Functions inherited from makVrv::DtEyepointControlWidgetInterface | |
| virtual | ~DtEyepointControlWidgetInterface () |
| Virtual DTOR. | |
Protected Member Functions | |
| DtEyepointControlWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| Constructor of the page. | |
| virtual void | activate () |
| Called when the page is displayed. | |
| virtual void | deactivate () |
| Called when the page is hidden. | |
| void | setupGui () |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
| Override this so key release in this widget isn't passed down to main window (which then creates an OSG key event with channel 1, which may not be the current channel. | |
Protected Attributes | |
| DtEyepointControlWidgetLogic * | myLogic |
| Pointer to our logic handler. | |
| std::string | myClassName |
| QSlider * | myLinearSpeedGainSlider |
| QSlider * | myRotationSpeedGainSlider |
| QSlider * | myOrbitSpeedGainSlider |
| QCheckBox * | myConstrainCheckBox |
| QCheckBox * | myScalingCheckBox |
| QCheckBox * | myTerrainDraggingCheckBox |
| DtObserverModeSelectionWidget * | myObserverModeComboBox |
| QSlider * | myModelScaleFactorSlider |
| QDoubleSpinBox * | myViewMagnificationSpinBox |
| QButtonGroup * | mySpeedScalingModeButtonGroup |
| QRadioButton * | mySpeedScalingAglRadioButton |
| QRadioButton * | mySpeedScalingMslRadioButton |
| DtSliderDoubleSpinboxWidget * | mySpeedScalingMslModeOffsetSlider |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Friends | |
| class | DtEyepointControlWidgetCreator |
| Let the creator create the page. | |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
A widget class for managing attachment.
|
virtual |
virtual DTOR
|
protected |
Constructor of the page.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
virtual |
Set the scaling check box.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the constrain (to terrain) check box.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Enable or disable the constrain (to terrain) check box.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the terrain dragging enabled check box.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the linear speed gain slider.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the rotation speed gain slider.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the orbit speed gain slider.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the gain precision for all sliders.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the model scale factor.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Enable / disable model scale factor slider.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the model scale slider's maximum value.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the value of the view magnification spin box.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Enable / disable the view magnification spin box.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the speed scaling mode in use.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Set the offset to use for MSL mode speed scaling.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
QWidget override to provide a size hint.
|
virtualslot |
handle the scaling check box toggled
|
virtualslot |
handle the constrain check box toggled
|
virtualslot |
handle the terrain dragging check box toggled
|
virtualslot |
handle the linear speed gain slider moved
|
virtualslot |
handle the rotation speed gain slider moved
|
virtualslot |
handle the orbit speed gain slider moved
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
virtualslot |
|
protectedvirtual |
Called when the page is displayed.
Implements makVrv::DtPage.
|
protectedvirtual |
Called when the page is hidden.
Implements makVrv::DtPage.
|
protected |
|
protectedvirtual |
Override this so key release in this widget isn't passed down to main window (which then creates an OSG key event with channel 1, which may not be the current channel.
|
friend |
Let the creator create the page.
|
protected |
Pointer to our logic handler.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |