![]() |
VR-Forces Developer's Guide
|
This class defines the dialog that allows the creation/update of Box objects in the scenario.

Public Member Functions | |
| DtBoxObjectDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode) | |
| virtual | ~DtBoxObjectDefinitionDialog () override |
| virtual void | init (const DtEntityType &, const QString &title, bool forPlan, DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode, const DtEditingType &) |
| virtual void | closeDialog () override |
| virtual QString | getName () override |
| virtual DtVector | getLocation () const |
| virtual void | setLength (double) |
| virtual void | setMaximumLength (double) |
| virtual void | setWidth (double) |
| virtual void | setMaximumWidth (double) |
| virtual void | setLocation (const DtVector &pt) |
| virtual void | setName (const QString &name) override |
| 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 bool | extendedLabelsValid () const |
| virtual void | clearOverlays () |
| virtual void | setNameVisible (bool flag) override |
| virtual void | setSetActivationTimeVisible (bool flag) |
| virtual void | updateLengthDecimalsDisplay () |
| virtual void | updateWidthDecimalsDisplay () |
| virtual void | setDistanceUnits (const makVrv::DtUnicode &) |
| virtual void | setAllowOverlaySelection (bool flag) override |
| virtual void | setAdjustSizeEnabled (bool flag) |
| virtual void | setTitle (const QString &title) override |
| virtual void | setCreateButtonEnabled (bool flag) |
| virtual void | setAdjustStyleEnabled (bool) |
| virtual void | setAdjustColorEnabled (bool) |
| virtual void | setNameLabel (const QString &) |
| 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 | setCancelButtonText (const QString &text) |
| virtual DtDialogInteractionMode | interactionMode () |
| virtual void | populate (const makVrv::DtUniqueID &) override |
| virtual void | hideDialog () override |
| virtual void | setShowFloorCeiling (bool) |
| virtual void | setFloor (double) |
| virtual double | floor () const |
| virtual void | setCeiling (double) |
| virtual double | ceiling () const |
| virtual void | populate (const DtCreateObjectCommand *cmd) override |
| virtual bool | blockSignals (bool) override |
| virtual void | populateOverlays () |
| virtual void | setForce (int) override |
| virtual void | hideForces () |
| virtual void | showForces () |
| virtual void | setReadOnly (bool) |
| virtual void | setColor (unsigned int color) |
| virtual void | addExtension (QWidget *) |
| virtual void | removeExtension (QWidget *) |
| virtual void | showPropertiesDialog (bool, bool showAttachObjectToMouse=true) |
| virtual void | setAttachObjectToMouse (bool) |
| virtual void | setAttachObjectToMouseVisible (bool) |
| virtual bool | attachObjectToMouse () const |
| virtual void | setCanChangeDimensions (bool) |
| virtual void | setAllowHeadingChange (bool) |
| virtual void | setHeading (double) |
| virtual double | heading () const |
| virtual void | updateCoordinateSystem () |
| virtual void | setLabel (const QString &name) |
| virtual void | setExtendedLabels (const std::map< int, DtString > &labels) |
| virtual void | setLabelEntryVisible (bool b) |
| void | includeSpacer (bool flag) |
| virtual void | setEmbarkationAllowed (bool flag) |
| virtual void | setEmbarkationWidgetVisible (bool flag) |
| DtEmbarkationWidget * | embarkationWidget () |
| DtLocationEntryWidget * | locationEntryWidget () |
| virtual void | setLocations (const std::vector< DtVector > &pts) |
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) | |
| virtual | ~DtAutoHideDock () override |
| 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 | setShowWindowTitle (bool) |
| bool | showWindowTitle () const |
| 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 () |
Public Attributes | |
| boost::signals2::signal< void(double)> | signal_floorChanged |
| boost::signals2::signal< void(double)> | signal_ceilingChanged |
| Ui_DtBoxObjectDefinitionWidgetUi | myUiImpl |
| DtAltitudeEntryWidget * | myFloor |
| DtAltitudeEntryWidget * | myCeiling |
| QWidget * | myParent |
| DtForceSelectionEntryWidget * | myForces |
| DtLocationEntryWidget * | myLocationWidget |
| DtEmbarkationWidget * | myEmbarkationWidget |
| DtAngleEntryWidget * | myHeading |
| DtExtendedLabelsEntryWidget * | myExtendedLabelsEntryWidget |
| DtOverlayParentEntryWidget * | myOverlaysCombo |
Public Attributes inherited from makVrf::DtAutoHideDock | |
| boost::signals2::signal< void()> | signal_windowTitleShownChanged |
Public Attributes inherited from makVrf::DtCreateAndEditObjectDialogInterface | |
| boost::signals2::signal< void()> | signal_dialogClosing |
| boost::signals2::signal< void()> | signal_dialogUpdated |
| boost::signals2::signal< void(const std::string &)> | signal_nameChanged |
| boost::signals2::signal< void(const std::string &)> | signal_labelChanged |
| boost::signals2::signal< void(const std::map< int, DtString > &)> | signal_extendedLabelsChanged |
| boost::signals2::signal< void(int, QString maker, QString value)> | signal_objectSpecificLabelChanged |
| boost::signals2::signal< void(bool)> | signal_reviewMouseClicks |
| boost::signals2::signal< void(const DtVector &)> | signal_locationAdded |
| boost::signals2::signal< void(const DtVector &)> | signal_locationSet |
| boost::signals2::signal< void(const std::string &)> | signal_overlayNameChanged |
| boost::signals2::signal< void(int)> | signal_forceChanged |
| boost::signals2::signal< void(bool)> | signal_publishObjectChanged |
| boost::signals2::signal< void(int)> | signal_colorChanged |
Protected Member Functions | |
| virtual void | setupGui () override |
| virtual void | setupConnections () |
| virtual void | closeEvent (QCloseEvent *event) override |
| virtual DtBoxObjectDefinitionDialogLogic * | createLogic () |
| virtual bool | inGeocentric () const |
| virtual bool | showAlpha () const |
| virtual void | showEvent (QShowEvent *) override |
Protected Member Functions inherited from makVrf::DtAutoHideDock | |
| virtual bool | eventFilter (QObject *p, QEvent *e) override |
| virtual void | enterEvent (QEvent *event) override |
| virtual void | leaveEvent (QEvent *event) override |
| virtual void | paintEvent (QPaintEvent *p) override |
| virtual void | resizeEvent (QResizeEvent *event) override |
Protected Attributes | |
| DtBoxObjectDefinitionDialogLogic * | myLogic |
| DtDialogInteractionMode | myInteractionMode |
| QString | myDefaultName |
| bool | myActivationTimeVisible |
| bool | mySettingGuiUp |
| bool | myBlockSignals |
| unsigned int | myBackgroundColor |
| bool | myEditingLocation |
| QDoubleValidator * | myLengthValidator |
| QDoubleValidator * | myWidthValidator |
| QString | myLengthLabel |
| QString | myWidthLabel |
Protected Attributes inherited from makVrf::DtAutoHideDock | |
| makVrv::DtDe & | myDe |
| DtExtendedTitleBarWidget * | myTitleBarWidget |
| makVrv::DtQIconConfigurations | myIcon |
| DtAutoHideDockType | myDockType |
| bool | myAdjustToMinimumSize |
| std::string | myClassName |
| QColor | myTitleFillColorStop0 |
| QColor | myTitleFillColorStop1 |
| QColor | myOutlineInnerColor |
| QColor | myOutlineOuterColor |
| bool | myShowWindowTitle = true |
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::DtBoxObjectDefinitionDialog::DtBoxObjectDefinitionDialog | ( | makVrv::DtDe & | de, |
| QWidget * | parent, | ||
| const QString & | title = "", |
||
| DtDialogInteractionMode | mode = DtCreationMode |
||
| ) |
|
overridevirtual |
|
virtual |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog, and makVrf::DtLocalWeatherBoxDefinitionDialog.
|
overridevirtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
overridevirtual |
Returns the point object's name.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Returns the Box object's location.
|
virtual |
Sets the Box's length.
|
virtual |
The max length the box can be.
|
virtual |
Sets the Box's width.
|
virtual |
The max width the box can be.
|
virtual |
Sets the point object's location.
|
overridevirtual |
Sets the point object's name.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
virtual |
Sets the point 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::DtNavigationAreaDefinitionDialog, and makVrf::DtLocalWeatherBoxDefinitionDialog.
|
virtual |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog, and makVrf::DtLocalWeatherBoxDefinitionDialog.
|
virtual |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
virtual |
|
virtual |
|
overridevirtual |
sets the name field to visible
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
overridevirtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
|
overridevirtual |
Reimplemented from makVrf::DtAutoHideDock.
|
virtual |
Enables/disables the create button.
|
virtual |
|
virtual |
|
virtual |
Sets the name label.
|
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 |
|
virtual |
|
overridevirtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
overridevirtual |
Hides the dialog.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
|
virtual |
Values set/returned in meters.
|
virtual |
|
virtual |
|
virtual |
|
overridevirtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Reimplemented in makVrf::DtLocalWeatherBoxDefinitionDialog.
|
overridevirtual |
\ brief
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 |
Show/hide properties dialog for this item.
|
virtual |
Set show object to mouse and call slot to let it flow through.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Sets whether or not to allow heading change. Heading change only modifies the points.
|
virtual |
Set in radians.
|
virtual |
Returns in radians.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
| void makVrf::DtBoxObjectDefinitionDialog::includeSpacer | ( | bool | flag | ) |
Minimizes the extra spacing present in the dialog.
|
virtual |
Sets whether or not attachment (embarkation) of this object is allowed on another object.
|
virtual |
Sets whether or not attachment (embarkation) is vibiel.
|
inline |
|
inline |
|
virtual |
|
overrideprotectedvirtual |
Initializes the visuals of this object.
Reimplemented from makVrf::DtAutoHideDock.
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog, and makVrf::DtLocalWeatherBoxDefinitionDialog.
|
protectedvirtual |
Reimplemented in makVrf::DtLocalWeatherBoxDefinitionDialog.
|
overrideprotectedvirtual |
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::DtNavigationAreaDefinitionDialog, and makVrf::DtLocalWeatherBoxDefinitionDialog.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in makVrf::DtLocalWeatherBoxDefinitionDialog.
|
overrideprotectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
protectedvirtualslot |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
overrideprotectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
| boost::signals2::signal<void (double)> makVrf::DtBoxObjectDefinitionDialog::signal_floorChanged |
| boost::signals2::signal<void (double)> makVrf::DtBoxObjectDefinitionDialog::signal_ceilingChanged |
| Ui_DtBoxObjectDefinitionWidgetUi makVrf::DtBoxObjectDefinitionDialog::myUiImpl |
| DtAltitudeEntryWidget* makVrf::DtBoxObjectDefinitionDialog::myFloor |
| DtAltitudeEntryWidget* makVrf::DtBoxObjectDefinitionDialog::myCeiling |
| QWidget* makVrf::DtBoxObjectDefinitionDialog::myParent |
| DtForceSelectionEntryWidget* makVrf::DtBoxObjectDefinitionDialog::myForces |
| DtLocationEntryWidget* makVrf::DtBoxObjectDefinitionDialog::myLocationWidget |
| DtEmbarkationWidget* makVrf::DtBoxObjectDefinitionDialog::myEmbarkationWidget |
| DtAngleEntryWidget* makVrf::DtBoxObjectDefinitionDialog::myHeading |
| DtExtendedLabelsEntryWidget* makVrf::DtBoxObjectDefinitionDialog::myExtendedLabelsEntryWidget |
| DtOverlayParentEntryWidget* makVrf::DtBoxObjectDefinitionDialog::myOverlaysCombo |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |