![]() |
VR-Forces 5.0.1 Developer's Guide
|
This class defines the dialog that allows the creation/update of point objects in the scenario (entities, props, waypoints)

Public Member Functions | |
| DtPointObjectDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode, const std::string &className="DtPointObjectDefinitionDialog") | |
| virtual | ~DtPointObjectDefinitionDialog () |
| virtual void | init (const DtEntityType &, DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode) |
| virtual void | closeDialog () |
| virtual QString | getName () |
| virtual double | getHeading () |
| virtual double | getPitch () |
| virtual DtVector | getLocation () |
| virtual double | getAltitudeAboveSeaLevel () const |
| virtual void | setEmbarkationAllowed (bool flag) |
| virtual void | setEmbarkationWidgetVisible (bool flag) |
| virtual double | getAltitudeAboveGroundLevel () const |
| virtual void | setHeading (double heading) |
| virtual void | setPitch (double heading) |
| virtual QSize | minimumSizeHint () const |
| virtual void | setAltitudeAboveTerrain (double altitude) |
| virtual void | setAltitudeAboveSeaLevel (double altitude) |
| virtual void | setLocation (const DtVector &pt, bool resetAltitude=true) |
| virtual void | setName (const QString &name) |
| virtual void | setLabel (const QString &name) |
| virtual void | setExtendedLabels (const std::map< int, DtString > &lab) |
| virtual void | addOverlay (const QString &name, bool translate=true) |
| virtual void | removeOverlay (const QString &name) |
| virtual void | renameOverlay (const QString &oldName, const QString &newName) |
| virtual void | setOverlay (const QString &name) |
| virtual void | setPublishObjectVisible (bool) |
| virtual void | setPublishObject (bool) |
| virtual bool | publishObject () const |
| virtual void | refreshLabels () |
| virtual void | clearOverlays () |
| virtual void | setNameVisible (bool flag) |
| virtual void | setSetActivationTimeVisible (bool flag) |
| virtual void | setHeadingVisible (bool flag) |
| virtual void | setPitchVisible (bool flag) |
| virtual void | setHeadingDecimalPlaces (int decimalPlaces) |
| virtual void | setHeadingStep (double) |
| virtual void | setAllowOverlaySelection (bool flag) |
| virtual void | setAllowVisualMetaDataSelection (bool flag) |
| virtual void | setTitle (const QString &title) |
| virtual void | setCreateButtonEnabled (bool flag) |
| virtual void | setCreateButtonText (const QString &text) |
| virtual void | setCreateButtonVisible (bool flag) |
| virtual void | setUpdateButtonEnabled (bool flag) |
| virtual void | setUpdateButtonText (const QString &text) |
| virtual void | setUpdateButtonVisible (bool flag) |
| virtual void | setCancelButtonEnabled (bool flag) |
| virtual void | setCancelButtonVisible (bool flag) |
| virtual void | setNameLabel (const QString &text) |
| virtual void | setCancelButtonText (const QString &text) |
| virtual void | setAttachObjectToMouseVisible (bool flag) |
| 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 () |
| DtAltitudeClampType | currentAltitudeTypeSelection () const |
| virtual void | setCurrentAltitudeTypeSelection (const DtAltitudeClampType &) |
| virtual void | setAltitudeAllowed (bool) |
| virtual void | setAltitudeSelectionEnabled (bool) |
| virtual void | populate (const DtCreateObjectCommand *cmd) |
| virtual bool | blockSignals (bool) |
| virtual void | populateOverlays () |
| virtual void | populateVisualMetaData (const DtEntityType &) |
| virtual void | populateVisualMetaData (makVrv::DtUniqueID) |
| virtual void | populateVisualMetaData (const DtEntityType &type, const DtRwStringAttributeList *atrList) |
| virtual void | setForce (int) |
| virtual void | hideForces () |
| virtual void | showForces () |
| virtual void | setReadOnly (bool) |
| virtual void | addExtension (QWidget *) |
| virtual void | removeExtension (QWidget *) |
| virtual void | updateEmbarkationWidget (const DtVector &pt) |
| virtual void | showPropertiesDialog (bool, bool showAttachObjectToMouse=true) |
| DtLocationEntryWidget * | locationEntryWidget () |
| DtEmbarkationWidget * | embarkationWidget () |
| virtual void | setShowStyleButton (bool) |
| virtual void | includeSpacer (bool flag) |
| virtual void | setVisualMarking (const std::string &linkageName, const std::string &value) |
| virtual void | setCacheMarkingSelections (bool) |
| virtual void | setupVariants (const std::map< std::string, std::string > &) |
Public Member Functions inherited from makVrf::DtAutoHideDock | |
| DtAutoHideDock (makVrv::DtDe &de, const QString &title="", const std::string &className="", QWidget *parent=0, Qt::WindowFlags flags=0) | |
| ~DtAutoHideDock () | |
| virtual const makVrv::DtQIconConfigurations & | icon () |
| virtual void | setIcon (const makVrv::DtQIconConfigurations &icon) |
| virtual DtAutoHideDockType | dockType () const |
| virtual void | setDockType (DtAutoHideDockType t) |
| virtual bool | pinned () const |
| virtual void | setPinned (bool flag) |
| virtual void | setAdjustToMinimumSize (bool) |
| virtual bool | adjustToMinimumSize () const |
| const std::string & | className () const |
| virtual bool | keepAlive () const |
Public Member Functions inherited from makVrf::DtCreateAndEditObjectDialogInterface | |
| virtual | ~DtCreateAndEditObjectDialogInterface () |
Protected Member Functions | |
| virtual void | setupGui () |
| virtual void | setupConnections () |
| virtual void | closeEvent (QCloseEvent *event) |
| virtual DtPointObjectDefinitionDialogLogic * | createLogic () |
| virtual void | showEvent (QShowEvent *) |
| virtual bool | needsNameCheck () const |
Protected Member Functions inherited from makVrf::DtAutoHideDock | |
| virtual bool | eventFilter (QObject *p, QEvent *e) |
| virtual void | enterEvent (QEvent *event) |
| virtual void | leaveEvent (QEvent *event) |
| virtual void | paintEvent (QPaintEvent *p) |
| virtual void | resizeEvent (QResizeEvent *event) |
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) |
| void | signal_pinPressed (DtAutoHideDock *dock) |
| void | signal_topLevelChanged (DtAutoHideDock *dock) |
| void | signal_resized (DtAutoHideDock *dock) |
| void | signal_destroyed (DtAutoHideDock *dock) |
| void | signal_enter (DtAutoHideDock *dock) |
| void | signal_leave (DtAutoHideDock *dock) |
Properties inherited from makVrf::DtAutoHideDock | |
| QColor | TitleFillColorStop0 |
| QColor | TitleFillColorStop1 |
| QColor | OutlineInnerColor |
| QColor | OutlineOuterColor |
| makVrf::DtPointObjectDefinitionDialog::DtPointObjectDefinitionDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const QString & | title = "", |
||
| DtDialogInteractionMode | mode = DtCreationMode, |
||
| const std::string & | className = "DtPointObjectDefinitionDialog" |
||
| ) |
|
virtual |
|
virtual |
Reimplemented in makVrf::DtScenarioEventDefinitionDialog, makVrf::DtAerodromeDefinitionDialog, makVrf::DtRunwayVertexObjectDefinitionDialog, makVrf::DtMunitionDetonationDefinitionDialog, makVrf::DtEditSpawnPointDialog, makVrf::DtDynamicTerrainSwitchDialog, makVrf::DtPropDefinitionDialog, and makVrf::DtVertexObjectDefinitionDialog.
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Returns the point object's name.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Returns the point object's heading.
|
virtual |
Returns the point object's pitch.
|
virtual |
Returns the point object's location.
|
virtual |
|
virtual |
Sets whether or not attachment (embarkation) of this object is allowed on another object.
|
virtual |
Sets whether or not attachment (embarkation) is vibiel.
|
virtual |
|
virtual |
Sets the point object's heading.
|
virtual |
Sets the point object's pitch.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets the point object's location.
|
virtual |
Sets the point object's name.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Sets the point object's label.
|
virtual |
Sets the point object's extended labels.
|
virtual |
Add an overlay to the object's overlay.
|
virtual |
Remove an overlay from the object's overlay.
|
virtual |
Rename an overlay int the object's overlay.
|
virtual |
Sets the point object's overlay.
|
virtual |
Reimplemented in makVrf::DtScenarioEventDefinitionDialog.
|
virtual |
Reimplemented in makVrf::DtScenarioEventDefinitionDialog.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
sets the name field to visible
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Called by DtPointObjectDefinitionDialogLogic::refreshLabels to set the number of decimal places based on the DtSharedDisplayUnitsSettings.
|
virtual |
Sets the step value of the heading spin.
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
|
virtual |
Reimplemented from makVrf::DtAutoHideDock.
|
virtual |
Enables/disables the create button.
|
virtual |
|
virtual |
Shows/hides the create button.
|
virtual |
Enables/disables the update button.
|
virtual |
Enables/disables the update button.
|
virtual |
Shows/hides the update button.
|
virtual |
Enables/disables the Done button.
|
virtual |
Shows/hides the Done button.
|
virtual |
Sets the name label.
|
virtual |
|
virtual |
Shows/hides the check to enable/disable the mouse click preview.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
Reimplemented in makVrf::DtPropDefinitionDialog.
|
virtual |
Hides the dialog.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
| DtAltitudeClampType makVrf::DtPointObjectDefinitionDialog::currentAltitudeTypeSelection | ( | ) | const |
|
virtual |
|
virtual |
Disables (greys out) the entire Altitude Entry box in the dialog if set to false.
|
virtual |
Enables Z selection.
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Reimplemented in makVrf::DtScenarioEventDefinitionDialog, and makVrf::DtAerodromeDefinitionDialog.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Set force.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Hides force label and combo.
|
virtual |
Shows force label and combo.
|
virtual |
Sets read only the items on the dialog that should be when in mouse attach mode.
|
virtual |
Add an extension to the dialog. Will add to current extension.
|
virtual |
Removes an extension.
|
virtual |
Reimplemented in makVrf::DtVertexObjectDefinitionDialog.
|
virtual |
Show/hide properties dialog for this item.
|
inline |
|
inline |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protectedvirtual |
Initializes the visuals of this object.
Reimplemented from makVrf::DtAutoHideDock.
Reimplemented in makVrf::DtScenarioEventDefinitionDialog, makVrf::DtMissileTargetDefinitionDialog, makVrf::DtAerodromeDefinitionDialog, makVrf::DtMunitionDetonationDefinitionDialog, and makVrf::DtDynamicTerrainSwitchDialog.
|
protectedvirtual |
Reimplemented in makVrf::DtScenarioEventDefinitionDialog, and makVrf::DtMissileTargetDefinitionDialog.
|
protectedvirtual |
This event gets automatically called when the widget is about to be closed.
Reimplemented from makVrf::DtAutoHideDock.
|
protectedvirtual |
Creates a new logic for this dialog. Override to return a subclass of the base logic.
Reimplemented in makVrf::DtScenarioEventDefinitionDialog, makVrf::DtAerodromeDefinitionDialog, makVrf::DtRunwayVertexObjectDefinitionDialog, makVrf::DtMunitionDetonationDefinitionDialog, makVrf::DtMissileTargetDefinitionDialog, makVrf::DtPropDefinitionDialog, and makVrf::DtDynamicTerrainSwitchDialog.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in makVrf::DtPropDefinitionDialog, and makVrf::DtVertexObjectDefinitionDialog.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in makVrf::DtMunitionDetonationDefinitionDialog, and makVrf::DtDynamicTerrainSwitchDialog.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| Ui_PointObjectDefinitionWidgetUi makVrf::DtPointObjectDefinitionDialog::myUiImpl |
| DtForceSelectionEntryWidget* makVrf::DtPointObjectDefinitionDialog::myForces |
| QWidget* makVrf::DtPointObjectDefinitionDialog::myParent |
| DtExtendedLabelsEntryWidget* makVrf::DtPointObjectDefinitionDialog::myExtendedLabelsEntryWidget |
| DtLocationEntryWidget* makVrf::DtPointObjectDefinitionDialog::myLocationWidget |
| DtEmbarkationWidget* makVrf::DtPointObjectDefinitionDialog::myEmbarkationWidget |
| DtOverlayParentEntryWidget* makVrf::DtPointObjectDefinitionDialog::myOverlaysCombo |
| DtVisualMetaDataSelectionWidget* makVrf::DtPointObjectDefinitionDialog::myVisualMetaDataSelectionWidget |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |