![]() |
VR-Forces Developer's Guide
|
A widget class for managing attachment.

Public Slots | |
| virtual void | toggleScaling (bool checked) |
| virtual void | toggleConstrain (bool checked) |
| virtual void | toggleTerrainDragging (bool checked) |
| virtual void | linearSpeedGainSliderChanged (int value) |
| virtual void | rotationSpeedGainSliderChanged (int value) |
| virtual void | orbitSpeedGainSliderChanged (int value) |
| virtual void | onModelScaleFactorSliderChanged (int value) |
| virtual void | onViewMagnificationSpinBoxChanged (double value) |
| virtual void | onLodScaleSpinBoxChanged (double value) |
| virtual void | onSpeedScalingMslRadioButtonClicked () |
| virtual void | onSpeedScalingAglRadioButtonClicked () |
| virtual void | onSpeedScalingMslModeOffsetSliderChanged (double value) |
Public Member Functions | |
| virtual | ~DtEyepointControlWidget () |
| virtual QIcon | icon () |
| virtual DtQIconConfigurations | qIconConfigurations () const |
| virtual QString | title () |
| virtual const std::string & | pageClassName () const |
| virtual void | setScalingCheckBox (bool checked) |
| virtual void | setConstrainCheckBox (bool checked) |
| virtual void | enableConstrainCheckBox (bool enabled) |
| virtual void | setTerrainDragCheckBox (bool checked) |
| virtual void | setLinearSpeedGainSlider (int gain) |
| virtual void | setRotationSpeedGainSlider (int gain) |
| virtual void | setOrbitSpeedGainSlider (int gain) |
| virtual void | setSliderGainPrecision (int precision) |
| virtual void | setModelScaleFactorSlider (int factor) |
| virtual void | enableModelScaleFactorSlider (bool enable) |
| virtual void | setMaxModelScaleFactor (int maxModelScaleFactor) |
| virtual void | setViewMagnificationSpinBox (double mag) |
| virtual void | enableViewMagnificationSpinBox (bool enable) |
| virtual void | setLodScaleSpinBox (double lodScale) |
| virtual void | enableLodScaleSpinBox (bool enable) |
| virtual void | setSpeedScalingMode (DtObserverObject::SpeedScalingMode mode) |
| virtual void | setSpeedScalingMslModeOffset (double offset) |
| virtual QSize | sizeHint () const |
| virtual void | setLodScaleMinRange (float minRange) |
| virtual void | setLodScaleMaxRange (float maxRange) |
| virtual void | setLodScaleDecimals (int decimals) |
| virtual void | setLodScaleSingleStep (float step) |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtPage () |
| virtual PageAction | pageAction () |
| virtual void | setPageAction (PageAction action) |
| virtual void | setActionFlag (int flag) |
| virtual int | actionFlag () |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| virtual QWidget * | parentDialog () |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| virtual void | askBeforeAction () |
| virtual void | executeAfterAsk (bool revert) |
| virtual void | resumeLastAction () |
| virtual void | onCloseEvent () |
| virtual void | onSwitchEvent () |
Public Member Functions inherited from makVrv::DtEyepointControlWidgetInterface | |
| virtual | ~DtEyepointControlWidgetInterface () |
Protected Member Functions | |
| DtEyepointControlWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual void | activate () |
| virtual void | deactivate () |
| void | setupGui () |
| virtual void | keyReleaseEvent (QKeyEvent *event) |
Protected Attributes | |
| DtEyepointControlWidgetLogic * | myLogic |
| std::string | myClassName |
| QSlider * | myLinearSpeedGainSlider |
| QSlider * | myRotationSpeedGainSlider |
| QSlider * | myOrbitSpeedGainSlider |
| QCheckBox * | myConstrainCheckBox |
| QCheckBox * | myScalingCheckBox |
| QCheckBox * | myTerrainDraggingCheckBox |
| DtObserverModeSelectionWidget * | myObserverModeComboBox |
| QSlider * | myModelScaleFactorSlider |
| QDoubleSpinBox * | myViewMagnificationSpinBox |
| DtSliderDoubleSpinboxWidget * | myLodScaleSpinBox |
| 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 |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
|
virtual |
virtual DTOR
|
protected |
Constructor of the page.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the icon configurations for the page. This is used to style the page's icon based on application settings.
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 value of the lod scale spin box.
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Configure the lod scale slider/spinbox (Logic will use values from default_widgetRanges.wrgx)
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Configure the lod scale slider/spinbox (Logic will use values from default_widgetRanges.wrgx)
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Configure the lod scale slider/spinbox (Logic will use values from default_widgetRanges.wrgx)
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Configure the lod scale slider/spinbox (Logic will use values from default_widgetRanges.wrgx)
Implements makVrv::DtEyepointControlWidgetInterface.
|
virtual |
Enable / disable the lod scale 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 |
|
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 |
|
protected |