VR-Forces 4.10 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Public Attributes | Protected Slots | Protected Member Functions
makVrf::DtLocalWeatherBoxDefinitionDialog Class Reference
Inheritance diagram for makVrf::DtLocalWeatherBoxDefinitionDialog:
Inheritance graph
[legend]

Public Slots

virtual void environmentSelected ()
 

Public Member Functions

 DtLocalWeatherBoxDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode)
 Constructor. More...
 
virtual ~DtLocalWeatherBoxDefinitionDialog ()
 Destructor. More...
 
virtual void setEnvironmentNames (const std::vector< std::string > &)
 
virtual int priority () const
 
virtual void setPriority (int)
 
virtual QString currentEnvironment () const
 
virtual void setEnvironment (const std::string &)
 
- Public Member Functions inherited from makVrf::DtBoxObjectDefinitionDialog
 DtBoxObjectDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode)
 
virtual ~DtBoxObjectDefinitionDialog ()
 
virtual void closeDialog ()
 
virtual QString getName ()
 Returns the point object's name. More...
 
virtual DtVector getLocation () const
 Returns the Box object's location. More...
 
virtual void setLength (double)
 Sets the Box's length. More...
 
virtual void setMaximumLength (double)
 The max length the box can be. More...
 
virtual void setWidth (double)
 Sets the Box's width. More...
 
virtual void setMaximumWidth (double)
 The max width the box can be. More...
 
virtual void setLocation (const DtVector &pt)
 Sets the point object's location. More...
 
virtual void setName (const QString &name)
 Sets the point object's name. More...
 
virtual void addOverlay (const QString &name, bool translate=true)
 Sets the point object's overlay. More...
 
virtual void removeOverlay (const QString &name)
 Remove an overlay from the object's overlay. More...
 
virtual void renameOverlay (const QString &oldName, const QString &newName)
 Rename an overlay int the object's overlay. More...
 
virtual void setOverlay (const QString &name)
 Sets the point object's overlay. More...
 
virtual bool publishObject () const
 
virtual bool extendedLabelsValid () const
 
virtual void clearOverlays ()
 
virtual void setNameVisible (bool flag)
 sets the name field to visible More...
 
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)
 Enables/disables the create button. More...
 
virtual void setAdjustStyleEnabled (bool)
 
virtual void setAdjustColorEnabled (bool)
 
virtual void setNameLabel (const QString &)
 Sets the name label. More...
 
virtual void setCreateButtonText (const QString &text)
 
virtual void setCreateButtonVisible (bool flag)
 Shows/hides the create button. More...
 
virtual void setUpdateButtonEnabled (bool flag)
 Enables/disables the update button. More...
 
virtual void setUpdateButtonText (const QString &text)
 Enables/disables the update button. More...
 
virtual void setUpdateButtonVisible (bool flag)
 Shows/hides the update button. More...
 
virtual void setCancelButtonEnabled (bool flag)
 Enables/disables the Done button. More...
 
virtual void setCancelButtonVisible (bool flag)
 Shows/hides the Done button. More...
 
virtual void setCancelButtonText (const QString &text)
 
virtual DtDialogInteractionMode interactionMode ()
 
virtual void populate (const makVrv::DtUniqueID &)
 
virtual void hideDialog ()
 Hides the dialog. More...
 
virtual void setShowFloorCeiling (bool)
 
virtual void setFloor (double)
 Values set/returned in meters. More...
 
virtual double floor () const
 
virtual void setCeiling (double)
 
virtual double ceiling () const
 
virtual void populate (const DtCreateObjectCommand *cmd)
 
virtual bool blockSignals (bool)
 
virtual void setForce (int)
 \ brief More...
 
virtual void hideForces ()
 Hides force label and combo. More...
 
virtual void showForces ()
 Shows force label and combo. More...
 
virtual void setReadOnly (bool)
 Sets read only the items on the dialog that should be when in mouse attach mode. More...
 
virtual void setColor (unsigned int color)
 
virtual void addExtension (QWidget *)
 Add an extension to the dialog. Will add to current extension. More...
 
virtual void removeExtension (QWidget *)
 Removes an extension. More...
 
virtual void showPropertiesDialog (bool)
 Show/hide properties dialog for this item. More...
 
virtual void setAttachObjectToMouse (bool)
 Set show object to mouse and call slot to let it flow through. More...
 
virtual void setAttachObjectToMouseVisible (bool)
 
virtual bool attachObjectToMouse () const
 
virtual void setCanChangeDimensions (bool)
 
virtual void setAllowHeadingChange (bool)
 Sets whether or not to allow heading change. Heading change only modifies the points. More...
 
virtual void setHeading (double)
 Set in radians. More...
 
virtual double heading () const
 Returns in radians. More...
 
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)
 Minimizes the extra spacing present in the dialog. More...
 
virtual void setEmbarkationAllowed (bool flag)
 Sets whether or not attachment (embarkation) of this object is allowed on another object. More...
 
virtual void setEmbarkationWidgetVisible (bool flag)
 Sets whether or not attachment (embarkation) is vibiel. More...
 
DtEmbarkationWidgetembarkationWidget ()
 
DtLocationEntryWidgetlocationEntryWidget ()
 
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)
 Ctor. More...
 
 ~DtAutoHideDock ()
 Dtor. More...
 
virtual const QIcon & icon ()
 Set/Get the icon. More...
 
virtual void setIcon (const QIcon &icon)
 
virtual DtAutoHideDockType dockType () const
 Set/Get the type of dock this item represents. More...
 
virtual void setDockType (DtAutoHideDockType t)
 
virtual bool pinned () const
 Set/Get the pin status. More...
 
virtual void setPinned (bool flag)
 
virtual void setAdjustToMinimumSize (bool)
 Whether or not to adjust the size of the doc (on open) to minimum size. Default is true. More...
 
virtual bool adjustToMinimumSize () const
 
const std::string & className () const
 
virtual bool keepAlive () const
 Return true to keep this dock on display even after the mouse have left the dock widget. More...
 
- Public Member Functions inherited from makVrf::DtCreateAndEditObjectDialogInterface
virtual ~DtCreateAndEditObjectDialogInterface ()
 

Public Attributes

boost::signals2::signal< void(QString)> signal_setEnvironment
 
boost::signals2::signal< void(int)> signal_priorityChanged
 
boost::signals2::signal< void()> signal_editEnvironment
 
QWidget * myExtension
 
QLabelmyDefinedEnvironmentsLabel
 
QComboBoxmyDefinedEnvironments
 
QPushButtonmyEditEnvironment
 
QLabelmyPriorityLabel
 
QSpinBoxmyPriority
 
- Public Attributes inherited from makVrf::DtBoxObjectDefinitionDialog
boost::signals2::signal< void(double)> signal_floorChanged
 
boost::signals2::signal< void(double)> signal_ceilingChanged
 
Ui_DtBoxObjectDefinitionWidgetUi myUiImpl
 
DtAltitudeEntryWidgetmyFloor
 
DtAltitudeEntryWidgetmyCeiling
 
QWidget * myParent
 
DtForceSelectionEntryWidgetmyForces
 
DtLocationEntryWidgetmyLocationWidget
 
DtEmbarkationWidgetmyEmbarkationWidget
 
DtAngleEntryWidgetmyHeading
 
DtExtendedLabelsEntryWidgetmyExtendedLabelsEntryWidget
 
DtOverlayParentEntryWidgetmyOverlaysCombo
 
- Public Attributes inherited from makVrf::DtCreateAndEditObjectDialogInterface
boost::signals2::signal< void()> signal_dialogClosing
 This signal gets emitted when the dialog is closing. More...
 
boost::signals2::signal< void()> signal_dialogUpdated
 This signal gets emitted when the dialog is updated. More...
 
boost::signals2::signal< void(const
std::string &)> 
signal_nameChanged
 This signal gets emitted when the name is updated. More...
 
boost::signals2::signal< void(const
std::string &)> 
signal_labelChanged
 This signal gets emitted when the label is updated. More...
 
boost::signals2::signal< void(const
std::map< int, DtString > &)> 
signal_extendedLabelsChanged
 This signal gets emitted when the label is updated. More...
 
boost::signals2::signal< void(bool)> signal_reviewMouseClicks
 This signal get emitted when the "enable/disable mouse clicks for automatic creation" option is toggled. More...
 
boost::signals2::signal< void(const
DtVector &)> 
signal_locationAdded
 This signal gets emitted when a location is added to the dialog. More...
 
boost::signals2::signal< void(const
DtVector &)> 
signal_locationSet
 This signal gets emitted when a location is set into the dialog. More...
 
boost::signals2::signal< void(const
std::string &)> 
signal_overlayNameChanged
 This signal gets emitted when the overlay name changes in the dialog. More...
 
boost::signals2::signal< void(int)> signal_forceChanged
 This signal gets emitted when the force changes in the dialog. More...
 
boost::signals2::signal< void(bool)> signal_publishObjectChanged
 This signal gets sent when object publication changes. More...
 
boost::signals2::signal< void(int)> signal_colorChanged
 This signal gets sent when color has changed. More...
 

Protected Slots

virtual void priorityChanged ()
 
virtual void onEditEnvironment ()
 
- Protected Slots inherited from makVrf::DtBoxObjectDefinitionDialog
virtual void slot_onFloorChanged ()
 
virtual void slot_onCeilingChanged ()
 
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_onOverlaysComboCurrentIndexChanged (int index)
 
virtual void slot_onForceComboCurrentIndexChanged (int index)
 
virtual void slot_onLengthChanged (const QString &)
 
virtual void slot_onWidthChanged (const QString &)
 
virtual void slot_onLengthFinished ()
 
virtual void slot_onWidthFinished ()
 
virtual void slot_closePressed ()
 
virtual void slot_onLocationChanged ()
 
virtual void slot_onPublishObjectChanged ()
 
virtual void slot_onBtnColorClicked ()
 
virtual void slot_onLabelEdited ()
 
virtual void slot_onSetActivationTime ()
 
virtual void slot_onExtendedLabelsEdited ()
 
- Protected Slots inherited from makVrf::DtAutoHideDock
virtual void slot_closePressed ()
 Gets called when the close button is pressed on the titleBarWidget. More...
 
virtual void slot_pinPressed (bool flag)
 Gets called when the pin is pressed on the titleBarWidget. More...
 
virtual void slot_topLevelChanged (bool)
 Gets called when the widget changes its floating status. More...
 

Protected Member Functions

virtual void setupGui ()
 Initializes the visuals of this object. More...
 
virtual bool showAlpha () const
 
virtual
DtBoxObjectDefinitionDialogLogic
createLogic ()
 Creates a new logic for this dialog. Override to return a subclass of the base logic. More...
 
virtual void populateOverlays ()
 
virtual void init (const DtEntityType &entityType, const QString &title, bool forPlan, DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode mode, const DtEditingType &editType)
 
virtual void setupConnections ()
 
virtual void setPublishObjectVisible (bool b)
 Weather objects are always published. More...
 
virtual void setPublishObject (bool b)
 
- Protected Member Functions inherited from makVrf::DtBoxObjectDefinitionDialog
virtual void closeEvent (QCloseEvent *event)
 This event gets automatically called when the widget is about to be closed. More...
 
virtual bool inGeocentric () const
 
virtual void showEvent (QShowEvent *)
 
- 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. More...
 
virtual void enterEvent (QEvent *event)
 Automatic event that gets triggered when the mouse enters the widget. More...
 
virtual void leaveEvent (QEvent *event)
 Automatic event that gets triggered when the mouse leaves the widget. More...
 
virtual void paintEvent (QPaintEvent *p)
 This event gets automatically called when the widget is about to be painted on screen. More...
 
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)
 This signal gets emitted when the widget is closing. More...
 
void signal_pinPressed (DtAutoHideDock *dock)
 This signal gets emitted when the pin button is pressed on this widget. More...
 
void signal_topLevelChanged (DtAutoHideDock *dock)
 This signal gets emitted when this widget changes its status from docked to floating and vice versa. More...
 
void signal_resized (DtAutoHideDock *dock)
 This signal gets emitted when this widget is resized. More...
 
void signal_destroyed (DtAutoHideDock *dock)
 This signal gets emitted when this widget is about to be destroyed. More...
 
void signal_enter (DtAutoHideDock *dock)
 This signal gets emitted when the mouse enters on this widget. More...
 
void signal_leave (DtAutoHideDock *dock)
 This signal gets emitted when the mouse leaves this widget. More...
 
- Protected Attributes inherited from makVrf::DtBoxObjectDefinitionDialog
DtBoxObjectDefinitionDialogLogicmyLogic
 
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::DtDemyDe
 
DtExtendedTitleBarWidgetmyTitleBarWidget
 
QIcon myIcon
 
DtAutoHideDockType myDockType
 
bool myAdjustToMinimumSize
 
std::string myClassName
 

Constructor & Destructor Documentation

makVrf::DtLocalWeatherBoxDefinitionDialog::DtLocalWeatherBoxDefinitionDialog ( makVrv::DtDe de,
QWidget *  parent,
const QString &  title = "",
DtDialogInteractionMode  mode = DtCreationMode 
)

Constructor.

virtual makVrf::DtLocalWeatherBoxDefinitionDialog::~DtLocalWeatherBoxDefinitionDialog ( )
virtual

Destructor.

Member Function Documentation

virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::setEnvironmentNames ( const std::vector< std::string > &  )
virtual
virtual int makVrf::DtLocalWeatherBoxDefinitionDialog::priority ( ) const
virtual
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::setPriority ( int  )
virtual
virtual QString makVrf::DtLocalWeatherBoxDefinitionDialog::currentEnvironment ( ) const
virtual
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::setEnvironment ( const std::string &  )
virtual
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::environmentSelected ( )
virtualslot
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::priorityChanged ( )
protectedvirtualslot
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::onEditEnvironment ( )
protectedvirtualslot
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::setupGui ( )
protectedvirtual

Initializes the visuals of this object.

Reimplemented from makVrf::DtBoxObjectDefinitionDialog.

virtual bool makVrf::DtLocalWeatherBoxDefinitionDialog::showAlpha ( ) const
protectedvirtual
virtual DtBoxObjectDefinitionDialogLogic* makVrf::DtLocalWeatherBoxDefinitionDialog::createLogic ( )
protectedvirtual

Creates a new logic for this dialog. Override to return a subclass of the base logic.

Reimplemented from makVrf::DtBoxObjectDefinitionDialog.

virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::populateOverlays ( )
protectedvirtual
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::init ( const DtEntityType &  entityType,
const QString &  title,
bool  forPlan,
DtCreateAndEditObjectDialogInterface::DtDialogInteractionMode  mode,
const DtEditingType editType 
)
protectedvirtual
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::setupConnections ( )
protectedvirtual
virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::setPublishObjectVisible ( bool  b)
protectedvirtual

Weather objects are always published.

Reimplemented from makVrf::DtBoxObjectDefinitionDialog.

virtual void makVrf::DtLocalWeatherBoxDefinitionDialog::setPublishObject ( bool  b)
protectedvirtual

Member Data Documentation

boost::signals2::signal<void (QString)> makVrf::DtLocalWeatherBoxDefinitionDialog::signal_setEnvironment
boost::signals2::signal<void (int)> makVrf::DtLocalWeatherBoxDefinitionDialog::signal_priorityChanged
boost::signals2::signal<void ()> makVrf::DtLocalWeatherBoxDefinitionDialog::signal_editEnvironment
QWidget* makVrf::DtLocalWeatherBoxDefinitionDialog::myExtension
QLabel* makVrf::DtLocalWeatherBoxDefinitionDialog::myDefinedEnvironmentsLabel
QComboBox* makVrf::DtLocalWeatherBoxDefinitionDialog::myDefinedEnvironments
QPushButton* makVrf::DtLocalWeatherBoxDefinitionDialog::myEditEnvironment
QLabel* makVrf::DtLocalWeatherBoxDefinitionDialog::myPriorityLabel
QSpinBox* makVrf::DtLocalWeatherBoxDefinitionDialog::myPriority

The documentation for this class was generated from the following file:

Document ID: Generated on Tue Sep 21 17:42:52 EDT 2021 from SVN revision 234861
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)