![]() |
VR-Forces 5.0.1 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 () |
| virtual void | init (const DtEntityType &, const QString &title, bool forPlan, DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode, const DtEditingType &) |
| virtual void | closeDialog () |
| virtual QString | getName () |
| 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) |
| 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) |
| virtual void | setSetActivationTimeVisible (bool flag) |
| virtual void | updateLengthDecimalsDisplay () |
| virtual void | updateWidthDecimalsDisplay () |
| virtual void | setDistanceUnits (const makVrv::DtUnicode &) |
| virtual void | setAllowOverlaySelection (bool flag) |
| virtual void | setAdjustSizeEnabled (bool flag) |
| virtual void | setTitle (const QString &title) |
| 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 &) |
| virtual void | hideDialog () |
| 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) |
| virtual bool | blockSignals (bool) |
| virtual void | populateOverlays () |
| virtual void | setForce (int) |
| 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) | |
| ~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 DtBoxObjectDefinitionDialogLogic * | createLogic () |
| virtual bool | inGeocentric () const |
| virtual bool | showAlpha () const |
| virtual void | showEvent (QShowEvent *) |
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) |
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 |
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 |
||
| ) |
|
virtual |
|
virtual |
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
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.
|
virtual |
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 |
|
virtual |
|
virtual |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
virtual |
|
virtual |
|
virtual |
sets the name field to visible
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
|
virtual |
|
virtual |
|
virtual |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
|
virtual |
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 |
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Hides the dialog.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Reimplemented in makVrf::DtCloudLayerBoxDefinitionDialog.
|
virtual |
Values set/returned in meters.
Reimplemented in makVrf::DtCloudLayerBoxDefinitionDialog.
|
virtual |
Reimplemented in makVrf::DtCloudLayerBoxDefinitionDialog.
|
virtual |
Reimplemented in makVrf::DtCloudLayerBoxDefinitionDialog.
|
virtual |
Reimplemented in makVrf::DtCloudLayerBoxDefinitionDialog.
|
virtual |
Implements makVrf::DtCreateAndEditObjectDialogInterface.
Implements makVrf::DtCreateAndEditObjectDialogInterface.
|
virtual |
Reimplemented in makVrf::DtLocalWeatherBoxDefinitionDialog, and makVrf::DtCloudLayerBoxDefinitionDialog.
|
virtual |
\ 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 |
Reimplemented in makVrf::DtCloudLayerBoxDefinitionDialog.
|
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 |
|
protectedvirtual |
Initializes the visuals of this object.
Reimplemented from makVrf::DtAutoHideDock.
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog, makVrf::DtLocalWeatherBoxDefinitionDialog, and makVrf::DtCloudLayerBoxDefinitionDialog.
|
protectedvirtual |
Reimplemented in makVrf::DtLocalWeatherBoxDefinitionDialog, and makVrf::DtCloudLayerBoxDefinitionDialog.
|
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::DtNavigationAreaDefinitionDialog, makVrf::DtLocalWeatherBoxDefinitionDialog, and makVrf::DtCloudLayerBoxDefinitionDialog.
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in makVrf::DtLocalWeatherBoxDefinitionDialog.
|
protectedvirtual |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
|
protectedvirtualslot |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
protectedvirtualslot |
Reimplemented in makVrf::DtNavigationAreaDefinitionDialog.
|
protectedvirtualslot |
|
protectedvirtualslot |
|
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 |