![]() |
VR-Forces 4.10 Class Documentation
|
This class is the terrain scale widget visible on the toolbar. More...

Public Slots | |
| void | on_terrainScaleSliderChanged (int value) |
| virtual void | on_toolButtonClicked (bool checked) |
Public Member Functions | |
| DtTerrainScaleWidget (DtDe &de, QWidget *parent, const Qt::WindowFlags flags=0) | |
| Constructor. More... | |
| virtual | ~DtTerrainScaleWidget () |
| Virtual Destructor. More... | |
| void | setupGui () |
| Sets up the user interface. More... | |
| virtual void | setEnabled (bool enabled) |
| Sets widget to be enabled/disabled. More... | |
| virtual void | setTerrainScalingEnabled (bool onOrOff) |
| Sets terrain scaling enabled widget value to true/false (on/off) More... | |
| virtual void | setTerrainScaleFactor (double scaleFactor) |
| Sets the value of the model scale factor slider. More... | |
Public Member Functions inherited from makVrv::DtToolbarWidget | |
| DtToolbarWidget (QWidget *p=0, Qt::WindowFlags f=0) | |
| CTOR The parent widget should be a QToolBar so that we can connect to its toolButtonStyleChanged(Qt::ToolButtonStyle) signal. More... | |
| virtual | ~DtToolbarWidget () |
| DTOR. More... | |
| void | setToolButtonChecked (bool checked) |
| Set/Get whether or not the tool button is checked. More... | |
| bool | isToolButtonChecked () const |
| void | setToolButtonStyle (Qt::ToolButtonStyle style) |
| Set/Get the current toolbutton style If myToolButton is uninitialized, the getter defaults to returning Qt::ToolButtonFollowStyle. More... | |
| Qt::ToolButtonStyle | toolButtonStyle () const |
Public Member Functions inherited from makVrv::DtTerrainScaleWidgetInterface | |
| virtual | ~DtTerrainScaleWidgetInterface () |
| Virtual DTOR. More... | |
Protected Attributes | |
| DtDe & | myDe |
| DtTerrainScaleWidgetLogic * | myLogic |
| DtPopupToolbarButton * | mySliderEnableButton |
| DtTerrainScaleSliderWidget * | mySliderWidget |
| DtPopupToolbar * | mySliderToolBar |
| bool | mySliderWidgetShown |
Protected Attributes inherited from makVrv::DtToolbarWidget | |
| QToolButton * | myToolButton |
| QHBoxLayout * | myWidgetLayout |
Private Member Functions | |
| DtTerrainScaleWidget () | |
| Default CTOR. More... | |
| DtTerrainScaleWidget (const DtTerrainScaleWidget &) | |
| Copy CTOR. More... | |
| DtTerrainScaleWidget & | operator= (const DtTerrainScaleWidget &) |
| Copy operator. More... | |
Additional Inherited Members | |
Public Attributes inherited from makVrv::DtTerrainScaleWidgetInterface | |
| boost::signalslib::signal < void(bool)> | signal_terrainScalingEnabledSet |
| Emitted by the widget when the user changes terrain scaling enabled. More... | |
| boost::signalslib::signal < void(double)> | signal_terrainScaleFactorSet |
| Emitted by the widget when the user changes the terrain scale factor. More... | |
Protected Slots inherited from makVrv::DtToolbarWidget | |
| virtual void | on_toolButtonStyleChanged (Qt::ToolButtonStyle val) |
| Updates widget to match the new ToolButtonStyle. More... | |
| virtual void | on_toolButtonClicked (bool checked)=0 |
| Slot when this widget's toolbutton has been clicked. More... | |
| virtual void | on_aboutToShow () |
| Slot for when the menu for this widget is about to be shown The slot is only used if this toolbar widget is configured to have a menu. More... | |
Protected Member Functions inherited from makVrv::DtToolbarWidget | |
| virtual void | configureToolButton (const QString &text, const QString &tooltip, const QString &iconPath, bool checkable=false, bool hasMenu=false, QToolButton::ToolButtonPopupMode menuMode=QToolButton::DelayedPopup) |
| Configure the QToolButton for this toolbar widget. More... | |
| virtual void | setWidgetsVisible (bool visible) |
| Called whenever the ToolButtonStyle has changed. More... | |
This class is the terrain scale widget visible on the toolbar.
| makVrv::DtTerrainScaleWidget::DtTerrainScaleWidget | ( | DtDe & | de, |
| QWidget * | parent, | ||
| const Qt::WindowFlags | flags = 0 |
||
| ) |
Constructor.
|
virtual |
Virtual Destructor.
|
private |
Default CTOR.
|
private |
Copy CTOR.
|
private |
Copy operator.
| void makVrv::DtTerrainScaleWidget::setupGui | ( | ) |
Sets up the user interface.
|
virtual |
Sets widget to be enabled/disabled.
Implements makVrv::DtTerrainScaleWidgetInterface.
|
virtual |
Sets terrain scaling enabled widget value to true/false (on/off)
Implements makVrv::DtTerrainScaleWidgetInterface.
|
virtual |
Sets the value of the model scale factor slider.
Implements makVrv::DtTerrainScaleWidgetInterface.
|
slot |
|
virtualslot |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |