![]() |
VR-Forces 5.0.2 Developer's Guide
|
DtEntityLabelsWidget is a toolbar widget that combines a button to enable and disable simulation object labels, and a drop-down button to bring up a list of symbol decorations the user can enable/disable.

Public Member Functions | |
| DtEntityLabelsWidget (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtEntityLabelsWidget () |
| virtual void | setEntityLabelsEnabled (bool enabled) const |
| virtual void | setupGui () |
| virtual void | setWidgetsVisible (bool visible) |
Public Member Functions inherited from makVrv::DtToolbarWidget | |
| DtToolbarWidget (DtDe &de, QWidget *p=0, Qt::WindowFlags f=0) | |
| virtual | ~DtToolbarWidget () |
| void | setToolButtonChecked (bool checked) |
| bool | isToolButtonChecked () const |
| void | setToolButtonStyle (Qt::ToolButtonStyle style) |
| Qt::ToolButtonStyle | toolButtonStyle () const |
Protected Slots | |
| virtual void | on_toolButtonClicked (bool checked) |
Protected Slots inherited from makVrv::DtToolbarWidget | |
| virtual void | on_toolButtonStyleChanged (Qt::ToolButtonStyle val) |
| virtual void | on_toolButtonClicked (bool checked)=0 |
| virtual void | on_aboutToShow () |
Protected Member Functions | |
| virtual void | slot_postInitialize () |
Protected Member Functions inherited from makVrv::DtToolbarWidget | |
| virtual void | configureToolButton (const QString &text, const QString &tooltip, const QString &iconFilename, bool checkable=false, bool hasMenu=false, QToolButton::ToolButtonPopupMode menuMode=QToolButton::DelayedPopup, const QString &checkedIconFilePath=QString("")) |
| virtual void | configureThemedToolButton (const QString &text, const QString &tooltip, const QString &iconFilename, bool checkable=false, bool hasMenu=false, QToolButton::ToolButtonPopupMode menuMode=QToolButton::DelayedPopup, const QString &checkedIconFileName=QString("")) |
Protected Attributes | |
| DtSymbolDecorationToolbarWidget * | mySymbolDecorationToolButton |
| DtSignalConnectionManager | myConnections |
Protected Attributes inherited from makVrv::DtToolbarWidget | |
| DtDe & | myDe |
| QToolButton * | myToolButton |
| QHBoxLayout * | myWidgetLayout |
Private Member Functions | |
| DtEntityLabelsWidget () | |
| DtEntityLabelsWidget (const DtEntityLabelsWidget &) | |
| DtEntityLabelsWidget & | operator= (const DtEntityLabelsWidget &) |
| makVrv::DtEntityLabelsWidget::DtEntityLabelsWidget | ( | DtDe & | de, |
| QWidget * | parent = 0, |
||
| Qt::WindowFlags | f = 0 |
||
| ) |
Initializing Constructor.
| [in] | de | is the display engine for this instance. |
| [in] | parent | is the parent widget for this instance. |
| [in] | f | is a set of window flags for this widget. |
|
virtual |
Virtual Destructor.
|
private |
Default CTOR.
|
private |
Copy CTOR.
|
private |
Copy operator.
|
virtual |
Sets audio to be enabled/disabled.
| [in] | enabled | is the new state of audio. |
|
virtual |
Sets up the user interface.
|
virtual |
Called whenever the ToolButtonStyle has changed.
| visible | Whether or not any custom widgets are visible This function updates the visibility of mySymbolDecorationToolButton |
Reimplemented from makVrv::DtToolbarWidget.
|
protectedvirtualslot |
Slot when this widget's toolbutton has been clicked.
| checked | Whether or not the QToolButton is checked or not |
|
protectedvirtual |
Used to set the state of the entity labels widget.
|
protected |
"DtSymbolDecorationToolbarWidget" widget builder from DtQtToolbarAssembler
|
protected |