![]() |
VR-Forces 4.3.1 Class Documentation
|

Public Member Functions | |
| DtScenarioEventDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode) | |
| Constructor. | |
| virtual | ~DtScenarioEventDefinitionDialog () |
| Destructor. | |
| virtual void | setToEvent (DtRwScenarioEvent &) const |
| virtual void | setupScenarioEvent (const DtRwScenarioEvent &evt) |
| virtual int | ordinal () const |
| virtual void | setPublishObjectVisible (bool b) |
| Override. Can never not publish intelligence objects or scenario events. | |
| virtual void | setPublishObject (bool b) |
Public Member Functions inherited from makVrf::DtPointObjectDefinitionDialog | |
| DtPointObjectDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode) | |
| virtual | ~DtPointObjectDefinitionDialog () |
| virtual void | closeDialog () |
| virtual QString | getName () |
| Returns the point object's name. | |
| virtual double | getHeading () |
| Returns the point object's heading. | |
| virtual DtVector | getLocation () |
| Returns the point object's location. | |
| virtual double | getAltitudeAboveSeaLevel () const |
| virtual double | getAltitudeAboveGroundLevel () const |
| virtual void | setHeading (double heading) |
| Sets the point object's heading. | |
| virtual void | setAltitudeAboveTerrain (double altitude) |
| virtual void | setAltitudeAboveSeaLevel (double altitude) |
| virtual void | setLocation (const DtVector &pt, bool resetAltitude=true) |
| Sets the point object's location. | |
| virtual void | setName (const QString &name) |
| Sets the point object's name. | |
| virtual void | setLabel (const QString &name) |
| Sets the point object's label. | |
| virtual void | setExtendedLabels (const std::map< int, DtString > &lab) |
| Sets the point object's extended labels. | |
| virtual void | addOverlay (const QString &name, bool translate=true) |
| Add an overlay to the object's overlay. | |
| virtual void | removeOverlay (const QString &name) |
| Remove an overlay from the object's overlay. | |
| virtual void | renameOverlay (const QString &oldName, const QString &newName) |
| Rename an overlay int the object's overlay. | |
| virtual void | setOverlay (const QString &name) |
| Sets the point object's overlay. | |
| virtual bool | publishObject () const |
| virtual void | refreshLabels () |
| virtual void | clearOverlays () |
| virtual void | setNameVisible (bool flag) |
| sets the name field to visible | |
| virtual void | setHeadingVisible (bool flag) |
| virtual void | setHeadingDecimalPlaces (int decimalPlaces) |
| Called by DtPointObjectDefinitionDialogLogic::refreshLabels to set the number of decimal places based on the DtSharedDisplayUnitsSettings. | |
| virtual void | setHeadingStep (double) |
| Sets the step value of the heading spin. | |
| virtual void | setAllowOverlaySelection (bool flag) |
| virtual void | setTitle (const QString &title) |
| virtual void | setCreateButtonEnabled (bool flag) |
| Enables/disables the create button. | |
| virtual void | setCreateButtonText (const QString &text) |
| virtual void | setCreateButtonVisible (bool flag) |
| Shows/hides the create button. | |
| virtual void | setUpdateButtonEnabled (bool flag) |
| Enables/disables the update button. | |
| virtual void | setUpdateButtonText (const QString &text) |
| Enables/disables the update button. | |
| virtual void | setUpdateButtonVisible (bool flag) |
| Shows/hides the update button. | |
| virtual void | setCancelButtonEnabled (bool flag) |
| Enables/disables the Done button. | |
| virtual void | setCancelButtonVisible (bool flag) |
| Shows/hides the Done button. | |
| virtual void | setNameLabel (const QString &text) |
| Sets the name label. | |
| virtual void | setCancelButtonText (const QString &text) |
| virtual void | setAttachObjectToMouseVisible (bool flag) |
| Shows/hides the check to enable/disable the mouse click preview. | |
| virtual void | setAttachObjectToMouseChecked (bool flag) |
| virtual bool | attachObjectToMouseEnabled () |
| virtual void | setLabelEntryVisible (bool) |
| virtual void | setAttachObjectToMouseEnabled (bool flag) |
| virtual DtDialogInteractionMode | interactionMode () |
| virtual void | populate (const makVrv::DtUniqueID &) |
| virtual void | hideDialog () |
| Hides the dialog. | |
| DtAltitudeClampType | currentAltitudeTypeSelection () const |
| virtual void | setCurrentAltitudeTypeSelection (const DtAltitudeClampType &) |
| virtual void | setAltitudeAllowed (bool) |
| Disables (greys out) the entire Altitude Entry box in the dialog if set to false. | |
| virtual void | setAltitudeSelectionEnabled (bool) |
| Enables Z selection. | |
| virtual void | populate (const DtCreateObjectCommand *cmd) |
| virtual bool | blockSignals (bool) |
| virtual void | setForce (int) |
| Set force. | |
| virtual int | force () const |
| virtual void | hideForces () |
| Hides force label and combo. | |
| virtual void | showForces () |
| Shows force label and combo. | |
| virtual void | setReadOnly (bool) |
| Sets read only the items on the dialog that should be when in mouse attach mode. | |
| virtual void | addExtension (QWidget *) |
| Add an extension to the dialog. Will add to current extension. | |
| virtual void | removeExtension (QWidget *) |
| Removes an extension. | |
| virtual void | showPropertiesDialog (bool) |
| Show/hide properties dialog for this item. | |
| DtLocationEntryWidget * | locationEntryWidget () |
| virtual void | setShowStyleButton (bool) |
| virtual void | includeSpacer (bool flag) |
Public Member Functions inherited from makVrf::DtAutoHideDock | |
| DtAutoHideDock (makVrv::DtDe &de, const QString &title="", QWidget *parent=0, Qt::WindowFlags flags=0) | |
| Ctor. | |
| ~DtAutoHideDock () | |
| Dtor. | |
| virtual const QIcon & | icon () |
| Set/Get the icon. | |
| virtual void | setIcon (const QIcon &icon) |
| virtual DtAutoHideDockType | dockType () const |
| Set/Get the type of dock this item represents. | |
| virtual void | setDockType (DtAutoHideDockType t) |
| virtual bool | pinned () const |
| Set/Get the pin status. | |
| virtual void | setPinned (bool flag) |
Public Member Functions inherited from makVrf::DtCreateAndEditObjectDialogInterface | |
| virtual | ~DtCreateAndEditObjectDialogInterface () |
Public Attributes | |
| Ui_DtScenarioEventUI | myExtUiImpl |
| DtDateTimeEntryWidget * | myStartDateTime |
| DtDateTimeEntryWidget * | myEndDateTime |
| DtTimeEntryWidget * | myEndTime |
| Used for SPLUS. | |
| DtTimeEntryWidget * | myStartTime |
| Used for SPLUS. | |
| DtEventContents * | myEventContainer |
| QDialog * | myEventContainerDialog |
| QPushButton * | myCloseEventDialogButton |
| QCheckBox * | myUseLocation |
Public Attributes inherited from makVrf::DtPointObjectDefinitionDialog | |
| Ui_PointObjectDefinitionWidgetUi | myUiImpl |
| DtForceSelectionEntryWidget * | myForces |
| QWidget * | myParent |
| DtExtendedLabelsEntryWidget * | myExtendedLabelsEntryWidget |
| DtLocationEntryWidget * | myLocationWidget |
Public Attributes inherited from makVrf::DtCreateAndEditObjectDialogInterface | |
| boost::signal< void()> | signal_dialogClosing |
| This signal gets emitted when the dialog is closing. | |
| boost::signal< void()> | signal_dialogUpdated |
| This signal gets emitted when the dialog is updated. | |
| boost::signal< void(const std::string &)> | signal_nameChanged |
| This signal gets emitted when the name is updated. | |
| boost::signal< void(const std::string &)> | signal_labelChanged |
| This signal gets emitted when the label is updated. | |
| boost::signal< void(const std::map< int, DtString > &)> | signal_extendedLabelsChanged |
| This signal gets emitted when the label is updated. | |
| boost::signal< void(bool)> | signal_reviewMouseClicks |
| This signal get emitted when the "enable/disable mouse clicks
for automatic creation" option is toggled. | |
| boost::signal< void(const DtVector &)> | signal_locationAdded |
| This signal gets emitted when a location is added to the dialog. | |
| boost::signal< void(const DtVector &)> | signal_locationSet |
| This signal gets emitted when a location is set into the dialog. | |
| boost::signal< void(const std::string &)> | signal_overlayNameChanged |
| This signal gets emitted when the overlay name changes in the dialog. | |
| boost::signal< void(int)> | signal_forceChanged |
| This signal gets emitted when the force changes in the dialog. | |
| boost::signal< void(bool)> | signal_publishObjectChanged |
| This signal gets sent when object publication changes. | |
| boost::signal< void(int)> | signal_colorChanged |
| This signal gets sent when color has changed. | |
Protected Slots | |
| virtual void | onSelectEventSymbol () |
| virtual void | onStartEventTriggerTypeChanged () |
| virtual void | onEndEventTriggerTypeChanged () |
| virtual void | onAvailableToAllForcesChanged () |
| virtual void | onUseLocationChanged () |
| virtual void | showEventContents () |
| virtual void | onEditLinks () |
| virtual void | onEditSensorSignatures () |
| virtual void | onEventIconChanged () |
Protected Slots inherited from makVrf::DtPointObjectDefinitionDialog | |
| virtual void | slot_onBtnStyleClicked () |
| virtual void | slot_attachObjectToMouseClicked (bool flag) |
| virtual void | slot_onCreateButtonClicked () |
| virtual void | slot_onUpdateButtonClicked () |
| virtual void | slot_onDoneButtonClicked () |
| virtual void | slot_onNamePrefixEdited () |
| virtual void | slot_onLabelEdited () |
| virtual void | slot_onExtendedLabelsEdited () |
| virtual void | slot_onOverlaysComboCurrentIndexChanged (int index) |
| virtual void | slot_onForceComboCurrentIndexChanged (int index) |
| virtual void | slot_onHeadingChanged (double value) |
| virtual void | slot_closePressed () |
| virtual void | slot_onAltitudeSelectionTypeChanged (const DtAltitudeClampType &) |
| virtual void | slot_onLocationChanged () |
| virtual void | slot_onAltitudeAboveSeaLevelEdited (double value) |
| virtual void | slot_onAltitudeAboveGroundLevelEdited (double value) |
| virtual void | slot_onPublishObjectChanged () |
Protected Slots inherited from makVrf::DtAutoHideDock | |
| virtual void | slot_closePressed () |
| Gets called when the close button is pressed on the titleBarWidget. | |
| virtual void | slot_pinPressed (bool flag) |
| Gets called when the pin is pressed on the titleBarWidget. | |
| virtual void | slot_topLevelChanged (bool) |
| Gets called when the widget changes its floating status. | |
Protected Member Functions | |
| virtual void | setupGui () |
| virtual void | addForce (const QString &name, int force) |
| virtual DtPointObjectDefinitionDialogLogic * | createLogic () |
| Creates a new logic for this dialog. Override to return a subclass of the base logic. | |
| virtual void | setupConnections () |
| virtual QString | selectFile (const QString &filters, const QString &title) |
| virtual void | populateOverlays () |
| virtual void | init (const DtEntityType &) |
| virtual void | initializeForIntelligenceObject () |
| virtual void | selectScenarioEventIcon (QString filename) |
Protected Member Functions inherited from makVrf::DtPointObjectDefinitionDialog | |
| virtual void | closeEvent (QCloseEvent *event) |
| This event gets automatically called when the widget is about to be closed. | |
Protected Member Functions inherited from makVrf::DtAutoHideDock | |
| virtual bool | eventFilter (QObject *p, QEvent *e) |
| Event filter installed to listen for mouse events from the titleBarWidget. | |
| virtual void | enterEvent (QEvent *event) |
| Automatic event that gets triggered when the mouse enters the widget. | |
| virtual void | leaveEvent (QEvent *event) |
| Automatic event that gets triggered when the mouse leaves the widget. | |
| virtual void | paintEvent (QPaintEvent *p) |
| This event gets automatically called when the widget is about to be painted on screen. | |
| virtual void | resizeEvent (QResizeEvent *event) |
Protected Attributes | |
| DtScenarioEventDefinitionDialogLogic * | myCustomLogic |
| DtString | myUniqueId |
| bool | myNeedToSetStartTime |
| bool | myNeedToSetEndTime |
| bool | myIsIntelligenceObject |
| makVrv::DtSignalConnectionManager | myConnectionManager |
| std::map< std::string, double > | mySensorSignatures |
Protected Attributes inherited from makVrf::DtPointObjectDefinitionDialog | |
| DtPointObjectDefinitionDialogLogic * | myLogic |
| DtDialogInteractionMode | myInteractionMode |
| QString | myDefaultName |
| bool | mySettingGuiUp |
| bool | myBlockSignals |
| DtEntityType | myEditingType |
| bool | myEditingLocation |
| bool | myCreated |
Protected Attributes inherited from makVrf::DtAutoHideDock | |
| makVrv::DtDe & | myDe |
| DtExtendedTitleBarWidget * | myTitleBarWidget |
| QIcon | myIcon |
| DtAutoHideDockType | myDockType |
Additional Inherited Members | |
Public Types inherited from makVrf::DtAutoHideDock | |
| enum | DtAutoHideDockType { Palette = 0, Dialog } |
Public Types inherited from makVrf::DtCreateAndEditObjectDialogInterface | |
| enum | DtDialogInteractionMode { DtCreationMode = 0, DtEditingMode } |
Signals inherited from makVrf::DtAutoHideDock | |
| void | signal_closing (DtAutoHideDock *dock) |
| This signal gets emitted when the widget is closing. | |
| void | signal_pinPressed (DtAutoHideDock *dock) |
| This signal gets emitted when the pin button is pressed on this widget. | |
| void | signal_topLevelChanged (DtAutoHideDock *dock) |
| This signal gets emitted when this widget changes its status from docked to floating and vice versa. | |
| void | signal_resized (DtAutoHideDock *dock) |
| This signal gets emitted when this widget is resized. | |
| void | signal_destroyed (DtAutoHideDock *dock) |
| This signal gets emitted when this widget is about to be destroyed. | |
| void | signal_enter (DtAutoHideDock *dock) |
| This signal gets emitted when the mouse enters on this widget. | |
| void | signal_leave (DtAutoHideDock *dock) |
| This signal gets emitted when the mouse leaves this widget. | |
The dialog class is derived here from DtPointbjectDefinitionDialog, which is ultimately multiply derived from a base interface class and QDockWidget, a Qt object. While dialogs in the VR-Forces API have their own UI object classes, this example derives from DPoinObjectDefinitionDialog and makes direct post de facto modifications to the Qt layout, adding on mutators and accessors.
| makVrf::DtScenarioEventDefinitionDialog::DtScenarioEventDefinitionDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const QString & | title = "", |
||
| DtDialogInteractionMode | mode = DtCreationMode |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Override. Can never not publish intelligence objects or scenario events.
Reimplemented from makVrf::DtPointObjectDefinitionDialog.
|
virtual |
Reimplemented from makVrf::DtPointObjectDefinitionDialog.
|
protectedvirtual |
called during initialization, setupGui() first calls the method of the same name of the base class, which instantiates the Qt dialog. The derived logic then modifies the base dialog, inserting new UI elements.
Reimplemented from makVrf::DtPointObjectDefinitionDialog.
|
protectedvirtual |
|
protectedvirtual |
Creates a new logic for this dialog. Override to return a subclass of the base logic.
Reimplemented from makVrf::DtPointObjectDefinitionDialog.
|
protectedvirtual |
Reimplemented from makVrf::DtPointObjectDefinitionDialog.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented from makVrf::DtPointObjectDefinitionDialog.
|
protectedvirtual |
Reimplemented from makVrf::DtPointObjectDefinitionDialog.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| Ui_DtScenarioEventUI makVrf::DtScenarioEventDefinitionDialog::myExtUiImpl |
| DtDateTimeEntryWidget* makVrf::DtScenarioEventDefinitionDialog::myStartDateTime |
| DtDateTimeEntryWidget* makVrf::DtScenarioEventDefinitionDialog::myEndDateTime |
| DtTimeEntryWidget* makVrf::DtScenarioEventDefinitionDialog::myEndTime |
Used for SPLUS.
| DtTimeEntryWidget* makVrf::DtScenarioEventDefinitionDialog::myStartTime |
Used for SPLUS.
| DtEventContents* makVrf::DtScenarioEventDefinitionDialog::myEventContainer |
| QDialog* makVrf::DtScenarioEventDefinitionDialog::myEventContainerDialog |
| QPushButton* makVrf::DtScenarioEventDefinitionDialog::myCloseEventDialogButton |
| QCheckBox* makVrf::DtScenarioEventDefinitionDialog::myUseLocation |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |