VR-Forces 4.6.1 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 | Protected Attributes
makVrf::DtLocalWeatherAreaDefinitionDialog Class Reference
Inheritance diagram for makVrf::DtLocalWeatherAreaDefinitionDialog:
Inheritance graph
[legend]

Public Slots

virtual void environmentSelected ()
- Public Slots inherited from makVrf::DtShapeObjectDefinitionDialog
virtual void slot_onShapeLocationsCellChanged (int, int)
 Call to force the updating of a cell contents.
virtual void slot_altitudeTypeChanged ()
 Call to force update of display based on a change of altitude selection type.

Public Member Functions

 DtLocalWeatherAreaDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode)
 Constructor.
virtual ~DtLocalWeatherAreaDefinitionDialog ()
 Destructor.
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::DtShapeObjectDefinitionDialog
 DtShapeObjectDefinitionDialog (makVrv::DtDe &de, QWidget *parent, const QString &title="", DtDialogInteractionMode mode=DtCreationMode)
virtual ~DtShapeObjectDefinitionDialog ()
virtual void closeDialog ()
virtual void setLocationInGridFor (int row, const DtGeodeticCoord &, makVrv::DtSharedDisplayUnitsSettings::CoordSys=makArchives::DtDisplayUnitsSettingsRecord::End_CoordSys, makVrv::DtSharedDisplayUnitsSettings::DistanceUnits=makArchives::DtDisplayUnitsSettingsRecord::End_DistanceUnits)
 Sets the location into the grid at the specified row, using the location entry widget for format.
virtual bool validateDMS (const std::string &str) const
 Validate DMS string.
virtual void addLocation (const DtVector &loc, int index=-1)
 Add a new point.
virtual void setEmbarkationAllowed (bool flag)
 Sets whether or not attachment (embarkation) of this object is allowed on another object.
virtual void clear ()
virtual void removePoint (int)
virtual void setUseInputValidation (bool b)
 Set to not use item validation. Default is true (to validate cell items)
virtual void insertLocation (int index, const DtVector &loc)
virtual void selectLocation (int index)
virtual DtGeodeticCoord getLocation (int index)
 Returns the location of the control point located at the given index.
virtual QString getName ()
 Returns the shape object's name.
virtual void hideDialog ()
 Hides the dialog.
virtual int selectedPointIndex () const
virtual int rowCount () const
virtual void setAltitudeAboveTerrain (bool)
 Set altitude above terrain/sea level.
virtual bool altitudeAboveTerrain () const
virtual void setAttachedToMouseVisible (bool)
virtual void setName (const QString &name)
 Sets the shape object's name.
virtual void setLabel (const QString &name)
 Sets the shapes object's label.
virtual void setExtendedLabels (const std::map< int, DtString > &lab)
 Sets the point object's extended labels.
virtual void setLabelEntryVisible (bool)
virtual void setNameVisible (bool flag)
 sets the name field to visible
virtual void setSetActivationTimeVisible (bool flag)
virtual void setTitle (const QString &title)
virtual void setCreateButtonEnabled (bool flag)
 Enables/disables the create button.
virtual void setAdjustStyleEnabled (bool)
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 setUpdateButtonVisible (bool flag)
 Shows/hides the update button.
virtual void setAllowOverlaySelection (bool flag)
virtual void setUpdateButtonText (const QString &text)
virtual void setDoneButtonEnabled (bool flag)
 Enables/disables the Done button.
virtual void setDoneButtonVisible (bool flag)
 Shows/hides the Done button.
virtual void setShowFloorCeiling (bool)
virtual void setFloor (double)
 Values set/returned in meters.
virtual double floor () const
virtual void setFloorLabel (const QString &)
virtual void setCeiling (double)
virtual double ceiling () const
virtual void setCeilingLabel (const QString &)
virtual void hideForces ()
virtual void setUpButtonVisible (bool flag)
virtual void setDownButtonVisible (bool flag)
virtual void setAddPointButtonVisible (bool flag)
virtual void setAddPointButtonEnabled (bool flag)
virtual void setAdjustAltitudeButtonVisible (bool flag)
virtual void setAdjustAltitudeButtonEnabled (bool flag)
virtual void setRemovePointButtonVisible (bool flag)
virtual void setRemovePointButtonEnabled (bool flag)
virtual void setShowStyleButton (bool flag)
virtual void setShowColorButton (bool flag)
virtual void setControlButtonsVisible (bool flag)
virtual void setAttachObjectToMouse (bool)
virtual DtDialogInteractionMode interactionMode ()
virtual void populate (const makVrv::DtUniqueID &)
virtual void populate (const DtCreateObjectCommand *cmd)
virtual bool blockSignals (bool)
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 clearOverlays ()
virtual void setAltitudeAboveTerrain (int row, double alt)
bool attachedToMouse () const
virtual double altitude (int) const
 Returns an altitude at the given row.
virtual void setAltitude (int, double, bool blocked=false)
 Regardless of the altitude selection, set the altitude to the specified value on the given row.
virtual void setAltitudeAllowed (bool)
 Sets whether or not altitude items are shown.
bool altitudeAllowed () const
bool altitudeShown () const
virtual void setShowForces (bool)
 Show forces combo.
virtual void setReadOnly (bool)
 Sets read only the items on the dialog that should be when in mouse attach mode.
virtual void setReadOnly (int, bool)
 Sets the row read only or not.
virtual void setColor (unsigned int color)
virtual void setXLabel (const QString &)
virtual void setYLabel (const QString &)
virtual void setZLabel (const QString &)
virtual void adjustAltitudeAdjustmentDialogLabels ()
virtual void setupForCoordinateSystemAndUnits (makVrv::DtSharedDisplayUnitsSettings::CoordSys, makVrv::DtSharedDisplayUnitsSettings::DistanceUnits)
virtual void setAllowHeadingChange (bool)
 Sets whether or not to allow heading change. Heading change only modifies the points.
virtual void setHeading (double)
 Set in radians.
virtual double heading () const
 Returns in radians.
virtual void refreshLocs ()
virtual void refreshAltitudes ()
virtual void refreshLocs (const std::vector< DtGeodeticCoord > &)
virtual void clearSelection ()
virtual void setForce (int force)
 Selects the force.
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.
virtual void setTerrainProfileButtonEnabled (bool)
 Enables/disables terrain profile show button.
virtual void setTerrainProfileButtonVisible (bool)
virtual void includeSpacer (bool)
 Adds/removes the spacer from the top of the dialog.
virtual bool extendedLabelsValid () const
virtual void setEmbarkationWidgetVisible (bool flag)
 Sets whether or not attachment (embarkation) is vibiel.
DtEmbarkationWidgetembarkationWidget ()
virtual QSize minimumSizeHint () const
- 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.
 ~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)
virtual void setAdjustToMinimumSize (bool)
 Whether or not to adjust the size of the doc (on open) to minimum size. Default is true.
virtual bool adjustToMinimumSize () const
const std::string & className () const
- Public Member Functions inherited from makVrf::DtCreateAndEditObjectDialogInterface
virtual ~DtCreateAndEditObjectDialogInterface ()

Public Attributes

boost::signal< void(QString)> signal_setEnvironment
boost::signal< void(int)> signal_priorityChanged
boost::signal< void()> signal_editEnvironment
QWidget * myExtension
QLabelmyDefinedEnvironmentsLabel
QComboBoxmyDefinedEnvironments
QPushButtonmyEditEnvironment
QLabelmyPriorityLabel
QSpinBoxmyPriority
- Public Attributes inherited from makVrf::DtShapeObjectDefinitionDialog
boost::signal< void(double)> signal_floorChanged
boost::signal< void(double)> signal_ceilingChanged
Ui_ShapeObjectDefinitionWidgetUi myUiImpl
DtHeadingEntryWidgetmyHeading
DtForceSelectionEntryWidgetmyForces
DtShapeValidatingTableWidgetmyShapeLocations
DtExtendedLabelsEntryWidgetmyExtendedLabelsEntryWidget
DtAltitudeEntryWidgetmyFloor
DtAltitudeEntryWidgetmyCeiling
DtEmbarkationWidgetmyEmbarkationWidget
DtOverlayParentEntryWidgetmyOverlaysCombo
- 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 priorityChanged ()
virtual void onEditEnvironment ()
- Protected Slots inherited from makVrf::DtShapeObjectDefinitionDialog
virtual void slot_onFloorChanged ()
virtual void slot_onCeilingChanged ()
virtual void slot_onReversePoints ()
virtual void slot_onSetActivationTime ()
virtual void slot_onLabelEdited ()
virtual void slot_onExtendedLabelsEdited ()
virtual void slot_itemSelectionChanged ()
virtual void slot_onCreateButtonClicked ()
virtual void slot_onUpdateButtonClicked ()
virtual void slot_onDoneButtonClicked ()
virtual void slot_onNamePrefixEdited ()
virtual void slot_closePressed ()
virtual void slot_onBtnMoveDownClicked ()
virtual void slot_onBtnMoveUpClicked ()
virtual void slot_onBtnAddPointClicked ()
virtual void slot_onBtnRemovePointClicked ()
virtual void slot_onShapeLocationsCellEntered (int, int)
virtual void slot_onOverlaysComboCurrentIndexChanged (int index)
virtual void slot_onForceComboCurrentIndexChanged (int index)
virtual void slot_attachedToMouseChanged ()
virtual void slot_onAdjustAltitudeClicked ()
virtual void slot_onShowTerrainProfile ()
virtual void slot_onPublishObjectChanged ()
virtual void slot_onBtnColorClicked ()
virtual void slot_onBtnStyleClicked ()
- 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 ()
 Initializes the visuals of this object.
virtual bool showAlpha () const
virtual
DtShapeObjectDefinitionDialogLogic
createLogic ()
 Creates a new logic for this dialog. Override to return a subclass of the base logic.
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.
virtual void setPublishObject (bool b)
- Protected Member Functions inherited from makVrf::DtShapeObjectDefinitionDialog
virtual void addLocationIntoList (const DtGeodeticCoord &loc, int pos=-1, makVrv::DtSharedDisplayUnitsSettings::CoordSys=makArchives::DtDisplayUnitsSettingsRecord::End_CoordSys, makVrv::DtSharedDisplayUnitsSettings::DistanceUnits=makArchives::DtDisplayUnitsSettingsRecord::End_DistanceUnits)
 Inserts a new point for the shape at the given position.
virtual void closeEvent (QCloseEvent *event)
 This event gets automatically called when the widget is about to be closed.
virtual QDialogcreateAltitudeAdjustmentDialog ()
 Creates the altitude adjustment dialog.
virtual void showEvent (QShowEvent *)
virtual void getDistanceAndAltitudeDecimals (int &decimals, int &altDecimals)
- 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

DtLocalWeatherAreaDefinitionDialogLogicmyCustomLogic
- Protected Attributes inherited from makVrf::DtShapeObjectDefinitionDialog
bool myActivationTimeVisible
DtShapeObjectDefinitionDialogLogicmyLogic
DtDialogInteractionMode myInteractionMode
bool myBlockSignals
bool myAltitudeAllowed
bool myAltitudeShown
QDialogmyAltitudeAdjustmentDialog
QWidget * myParent
unsigned int myBackgroundColor
DtEntityType myEditingType
- Protected Attributes inherited from makVrf::DtAutoHideDock
makVrv::DtDemyDe
DtExtendedTitleBarWidgetmyTitleBarWidget
QIcon myIcon
DtAutoHideDockType myDockType
bool myAdjustToMinimumSize
std::string myClassName

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.

Constructor & Destructor Documentation

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

Constructor.

virtual makVrf::DtLocalWeatherAreaDefinitionDialog::~DtLocalWeatherAreaDefinitionDialog ( )
virtual

Destructor.

Member Function Documentation

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

Initializes the visuals of this object.

Reimplemented from makVrf::DtShapeObjectDefinitionDialog.

virtual bool makVrf::DtLocalWeatherAreaDefinitionDialog::showAlpha ( ) const
protectedvirtual
virtual DtShapeObjectDefinitionDialogLogic* makVrf::DtLocalWeatherAreaDefinitionDialog::createLogic ( )
protectedvirtual

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

Reimplemented from makVrf::DtShapeObjectDefinitionDialog.

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

Weather objects are always published.

Reimplemented from makVrf::DtShapeObjectDefinitionDialog.

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

Member Data Documentation

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

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

Document ID: Generated on Wed Jul 25 16:57:45 EDT 2018 from SVN revision 190790
Copyright © 2005-2018 VT MÄK. All Rights Reserved (www.mak.com)