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

Public Member Functions

 DtLocationEntryWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode)
 Constructor. More...
 
virtual ~DtLocationEntryWidget ()
 
virtual DtVector location () const
 Returns value in meters and local. More...
 
virtual DtVector geocentricLocation () const
 Returns value as geocentric. More...
 
virtual void setUseInputValidation (bool)
 Sets whether or not to use input validation. Defaults to true. More...
 
virtual bool useInputValidation () const
 
virtual void setUseHighestLOD (bool)
 
virtual bool useHighestLOD () const
 
virtual void blockSignals (bool)
 Block boost signals from being sent. More...
 
bool signalsBlocked () const
 
virtual void setLocation (DtVector, bool resetAltitude=true)
 Expects value in meters and local. More...
 
virtual void setGeocentricLocation (DtVector, bool resetAltitude=true)
 
virtual void setAltitude (const DtVector &localLocation, bool resetAltitude=true)
 
virtual void setCoordinateSystem (makVrv::DtCoordinateDisplay *)
 The coordinate system of the current values. More...
 
virtual void setHideAltitude (bool b)
 Hides/shows the Z (altitude) section. More...
 
virtual void setHideLocationZ (bool b)
 Hides/shows the myLocationZ line edit. More...
 
virtual void setXYValidatorsEnabled (bool enabled)
 Set lat/lon validator enabled state. More...
 
virtual bool xyValidatorsEnabled () const
 
virtual void setAdvancedKeyboardHandling (bool)
 
virtual bool advancedKeyboardHandling () const
 
virtual void setXLabel (const QString &)
 Sets label titles. More...
 
QString xLabel () const
 
virtual void setYLabel (const QString &)
 
QString yLabel () const
 
virtual void setZLabel (const QString &)
 
QString zLabel () const
 
virtual void setXValue (const QString &)
 Sets values. More...
 
virtual void setYValue (const QString &)
 
virtual void setZValue (const QString &)
 
virtual QString xValue () const
 
virtual QString yValue () const
 
virtual QString zValue () const
 
DtAltitudeSelectionWidgetaltitudeWidget ()
 
virtual void setAltitudeAboveSeaLevelVisible (bool b)
 
virtual void setAltitudeAboveGroundLevelVisible (bool b)
 
virtual void setCreator (int, DtLocationCSEntryCreatorInterface *)
 
virtual DtGeodeticCoord geodeticLocation () const
 
virtual void setCoordinateSystem (const makArchives::DtDisplayUnitsSettingsRecord::CoordSys &coordSys)
 Calls down to logic to set coordinate system. More...
 
const
makArchives::DtDisplayUnitsSettingsRecord::CoordSys
coordinateSystem () const
 
virtual void setCoordinateSystemDecimals (int decimals)
 Sets the precision of the x, y and z line edits. More...
 
virtual void setAltitudeSelectionEnabled (bool)
 
virtual bool altitudeSelectionEnabled () const
 
virtual void setZEnabled (bool)
 
virtual void changeAltitudeEnabledSettings (bool)
 
virtual void setCurrentAltitudeTypeSelection (const DtAltitudeClampType &type)
 
virtual DtAltitudeClampType currentAltitudeTypeSelection () const
 
virtual double altitudeAboveSeaLevel () const
 
virtual double altitudeAboveGroundLevel () const
 
virtual void setAltitudeAboveSeaLevel (double altitude)
 Sets the altitude location. More...
 
virtual void setAltitudeAboveGroundLevel (double altitude)
 Sets the altitude location. More...
 
virtual void setProcessMouseEvents (bool flag)
 
virtual bool processMouseEvents ()
 
virtual void setAltitudeAboveGroundLevelSelected (bool b)
 
virtual void setAltitudeAboveSeaLevelSelected (bool b)
 
virtual void setClampToNearestPolygon (bool)
 Sets whether or not to clamp to nearest polygon when selecting altitude. More...
 
virtual void setIgnoreList (const std::vector< makVrv::DtElementID > &)
 List of objects to ignore when getting intersections. More...
 
virtual const std::vector
< makVrv::DtElementID > & 
ignoreList () const
 
virtual DtReaderWritercreateBoundVariable (const std::string &variableName)
 Creates the reader/writer variable that will be used as part of the task statement. More...
 
virtual void setupFromBoundVariable (const DtReaderWriter *variableName)
 Sets up the widget from the given reader/writer variables. More...
 
virtual void setupFrom (const std::vector< makVrv::DtSimEntry * > &data)
 Sets up from initial data. More...
 
virtual void setMaintainCurrentAltitude (bool)
 Maintains current altitude in altitude widget if true. More...
 
virtual bool maintainCurrentAltitude () const
 
virtual void setupBasedOnEntityType (const DtEntityType &)
 Sets up whether or not to maintain current altitude on placement based on entity kind. More...
 
virtual void setProcessAltitudeMouseClicks (bool b)
 
virtual void setSignalLocationSetOnly (bool)
 Sets to signal the location change by mouse set only – do not set in gui as it is expected that others will do that. More...
 
virtual bool signalLocationSetOnly () const
 
virtual bool validateLocation (bool warn=false)
 Will warn if flag is true via message box and/or will send signals for valid, invalid location. More...
 
virtual void setInvalid (bool)
 
virtual bool invalid () const
 
virtual void setHasMapFocus (bool)
 
virtual void setCanTakeMapFocus (bool)
 
virtual bool canTakeMapFocus () const
 
virtual bool hasMapFocus () const
 
- Public Member Functions inherited from makVrf::DtTaskSetVariableWidget
 DtTaskSetVariableWidget (makVrv::DtDe &de, QWidget *parent, const Qt::WindowFlags &flags=0, const CreationFlags &cflags=NormalMode)
 
virtual ~DtTaskSetVariableWidget ()
 
virtual void setToolTip (const QString &)
 Sets the tool tip. More...
 
virtual void setLabel (const std::string &)
 Display label. More...
 
virtual void setLabel (const QString &)
 QString version for property. More...
 
virtual void setVariableData (const std::string &)
 Calls QString version. More...
 
virtual void setVariableData (const QString &)
 QString version calls std::string version. More...
 
virtual QString variableData () const
 
virtual QString label () const
 
virtual void setIsInternal (bool)
 Whether or not value is internal. Internal values will not be shown to the user on the scripted task dialog. More...
 
virtual bool isInternal () const
 
virtual void setTopLineVisible (bool)
 Hides top line. More...
 
virtual bool topLineVisible () const
 
virtual void createTopLine ()
 Creates top line. More...
 
virtual void setIndent (int)
 Sets the indent level for the contents of this widget, except for the title line. More...
 
virtual int indent () const
 
virtual bool isValid () const
 Indicates the current selection is valid. More...
 
virtual void setTopLabelChecked (bool)
 Sets the top label to be checked/unchecked and calls topLabelChecked if the check box is visible. More...
 
virtual bool topLabelChecked () const
 
virtual void setRange (const DtRange &)
 
virtual void setRangeTop (double)
 
virtual void setRangeTop (int)
 
virtual double rangeTop () const
 
virtual void setRangeBottom (double)
 
virtual void setRangeBottom (int)
 
virtual double rangeBottom () const
 
virtual const DtRangegetRange () const
 
virtual void setTopLabelIsCheckable (bool)
 Sets whether or not the top label is checkable. More...
 
virtual bool topLabelIsCheckable () const
 
virtual void getDefaultSpecificTitles (QString &defaultTitle, QString &specificTitle) const
 
virtual void setDefaultSpecificTitles (const QString &defaultTitle, const QString &specificTitle)
 
virtual void setupDefaultSpecificFromVariableData (const DtString &var)
 Format is allowdefault=[defaultTitle],[specificTitle]. More...
 
virtual std::string variableDataFromUiDesigner (const QDomElement &, const DtScriptedTaskVariableLayoutConverter &) const
 Given the Ui designer properties create a string that will represent the variable data for those properties. More...
 
virtual std::string scriptedTaskVariableName () const
 In most cases this is the objectName of the object, however, in some cases (as in radio button) this could be a name that is shared amongst like objects, so, that is returned instead. More...
 
- Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface
 DtTaskSetVariableWidgetInterface ()
 
virtual ~DtTaskSetVariableWidgetInterface ()
 
virtual void widgetInitializedForDialog (DtScriptedTaskDialog *, const std::vector< makVrv::DtSimEntry * > &data)
 Called when the widget is initialized from a scripted task dialog. Default implementation is to do nothing. More...
 
virtual
DtTaskSetVariableWidgetExtensionInterface
parameterContents (QWidget *parent, const Qt::WindowFlags &flags=0) const
 If there are any, returns contents for this variable for variable extension. Default is no extension. More...
 
virtual bool guiElementOnly () const
 Returns true if this is a GUI element only. Default is false. More...
 
- Public Member Functions inherited from makVrf::DtLocationEntryWidgetInterface
virtual ~DtLocationEntryWidgetInterface ()
 
- Public Member Functions inherited from makVrf::DtMapFocusHandler
 DtMapFocusHandler ()
 CTOR. More...
 
virtual ~DtMapFocusHandler ()
 DTOR. More...
 
virtual void clearMapFocusSelectedByUser ()
 If mapFocusSelectedByUser is true will prevent focus from automatically changing to another control. More...
 
virtual bool mapFocusSelectedByUser () const
 

Static Public Member Functions

static makVrv::DtUnicode codeVariableType ()
 
static std::string designerGroup ()
 
static std::string headerFile ()
 
static std::string variableName ()
 
- Static Public Member Functions inherited from makVrf::DtTaskSetVariableWidget
static bool includeInQtDesigner ()
 
- Static Public Member Functions inherited from makVrf::DtTaskSetVariableWidgetInterface
static bool canBeUsedAsWidget ()
 Whether or not this shows up as a usable variable widget. More...
 
static void initializeForQtDesignerExtension (makVrv::DtDe &de, QDesignerFormEditorInterface *core)
 Implement at class level to perform Qt Designer custom widget initialization. Please refer to Qt documentation for designer modifications. More...
 
static bool includeInQtDesigner ()
 

Public Attributes

boost::signals2::signal< void()> signal_invalidLocation
 
boost::signals2::signal< void()> signal_validLocation
 
DtAltitudeSelectionWidgetmyAltitude
 
QToolButtonmyCanTakeMapFocus
 
QVBoxLayout * myMainLayout
 
DtLocationCSEntryInterfacemyDataEntryWidget
 
QWidget * myWidget
 
- Public Attributes inherited from makVrf::DtTaskSetVariableWidget
boost::signals2::signal< void(bool)> signal_topLevelCheckStateChanged
 
int myIndent
 
QVBoxLayout * myVariableWidgetLayout
 
QHBoxLayout * mySpacedLayout
 
QVBoxLayout * myVariableContentLayout
 When creating subclasses of this item, use the variable content layout to add your content. More...
 
QWidget * myTopLine
 
QLabelmyTopLabel
 
QWidget * myChoiceCanvas
 
QRadioButton * myUseDefault
 
QRadioButton * myUseSpecific
 
QSpacerItem * myTopSeparator
 
QHBoxLayout * myTopLineLayout
 
QSpacerItem * mySpacerItem
 
- Public Attributes inherited from makVrf::DtLocationEntryWidgetInterface
boost::signals2::signal< void(const
DtVector &)> 
signal_locationSetByMouseClick
 
boost::signals2::signal< void(const
DtVector &, bool)> 
signal_locationChanged
 
boost::signals2::signal< void(double)> signal_altitudeAboveGroundLevelEdited
 
boost::signals2::signal< void(double)> signal_altitudeAboveSeaLevelEdited
 
boost::signals2::signal< void(const
DtAltitudeClampType &)> 
signal_altitudeSelectionTypeChanged
 
boost::signals2::signal< void(int)> signal_clampSelectionChanged
 
- Public Attributes inherited from makVrf::DtMapFocusHandler
boost::signals2::signal< void(DtMapFocusHandler
*, bool)> 
signal_canTakeMapFocusChanged
 
boost::signals2::signal< void(DtMapFocusHandler *)> signal_selectionChangedByMapSelection
 

Protected Slots

virtual void canTakeMapFocusChanged ()
 
virtual void slot_onPositionChanged ()
 
virtual void slot_onPositionEdited (bool complete)
 
virtual void slot_onAltitudeAboveGroundLevelEdited (double)
 
virtual void slot_onAltitudeAboveSeaLevelEdited (double)
 
virtual void slot_onAltitudeSelectionTypeChanged (const DtAltitudeClampType &)
 
- Protected Slots inherited from makVrf::DtTaskSetVariableWidget
virtual void topLabelCheckStateChanged ()
 

Protected Member Functions

virtual bool validateDMS (const std::string &) const
 
virtual void slot_receivedFocus ()
 Called when a location entry widget receives focus or the altitude selection entry widget receives focus. More...
 
virtual void setRange (double top, double bottom)
 Validation range. Not applicable to this widget. More...
 
virtual void setDefaultValue (const std::string &)
 Default value to set in control. More...
 
virtual void slot_onClampSelectionChanged (int index)
 
virtual void dataEntryWidgetChanged ()
 

Protected Attributes

DtLocationEntryWidgetLogicmyLogic
 
bool myProcessMouseEvents
 
bool myLockAltitude
 
bool myAltitudeSelectionEnabled
 
DtVector myOriginalLocation
 
bool myBoundIsZero
 
bool myAdvancedKeyboardHandling
 
bool myHideZLocation
 
makVrv::DtCoordinateDisplaymyCoordinateSystem
 
bool myUseInputValidation
 
bool myInvalid
 
bool myBlockSignals
 
makVrv::DtSignalConnectionManager myConnections
 
bool myTakeMapFocusEnabled
 
std::map< int,
DtLocationCSEntryCreatorInterface * > 
myCreators
 Override factory creators with these. If the one being set is currently displayed, replace. More...
 
- Protected Attributes inherited from makVrf::DtTaskSetVariableWidget
makVrv::DtDemyDe
 
makVrv::DtSignalConnectionManager myConnections
 
bool myTopLabelIsCheckable
 
DtRange myRange
 
bool myIsInternal
 
CreationFlags myCreationFlags
 
QString myVariableData
 
- Protected Attributes inherited from makVrf::DtMapFocusHandler
bool myMapFocusSelectedByUser
 

Additional Inherited Members

- Public Types inherited from makVrf::DtTaskSetVariableWidgetInterface
enum  CreationFlags { NormalMode = 0x00000000, QtDesignerMode = 0x00000001 }
 
- Signals inherited from makVrf::DtTaskSetVariableWidget
void validityUpdated ()
 Signal which can be emitted to indicate the validity of the current widget selection has changed. More...
 
- Properties inherited from makVrf::DtTaskSetVariableWidget
QString label
 
bool isInternal
 
int indent
 
QString variableData
 

Constructor & Destructor Documentation

makVrf::DtLocationEntryWidget::DtLocationEntryWidget ( makVrv::DtDe de,
QWidget *  parent,
const Qt::WindowFlags &  flags = 0,
const CreationFlags cflags = NormalMode 
)

Constructor.

virtual makVrf::DtLocationEntryWidget::~DtLocationEntryWidget ( )
virtual

Member Function Documentation

virtual DtVector makVrf::DtLocationEntryWidget::location ( ) const
virtual

Returns value in meters and local.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual DtVector makVrf::DtLocationEntryWidget::geocentricLocation ( ) const
virtual

Returns value as geocentric.

virtual void makVrf::DtLocationEntryWidget::setUseInputValidation ( bool  )
virtual

Sets whether or not to use input validation. Defaults to true.

virtual bool makVrf::DtLocationEntryWidget::useInputValidation ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setUseHighestLOD ( bool  )
virtual
virtual bool makVrf::DtLocationEntryWidget::useHighestLOD ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::blockSignals ( bool  )
virtual

Block boost signals from being sent.

bool makVrf::DtLocationEntryWidget::signalsBlocked ( ) const
virtual void makVrf::DtLocationEntryWidget::setLocation ( DtVector  ,
bool  resetAltitude = true 
)
virtual

Expects value in meters and local.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual void makVrf::DtLocationEntryWidget::setGeocentricLocation ( DtVector  ,
bool  resetAltitude = true 
)
virtual
virtual void makVrf::DtLocationEntryWidget::setAltitude ( const DtVector localLocation,
bool  resetAltitude = true 
)
virtual
virtual void makVrf::DtLocationEntryWidget::setCoordinateSystem ( makVrv::DtCoordinateDisplay )
virtual

The coordinate system of the current values.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual void makVrf::DtLocationEntryWidget::setHideAltitude ( bool  b)
virtual

Hides/shows the Z (altitude) section.

virtual void makVrf::DtLocationEntryWidget::setHideLocationZ ( bool  b)
virtual

Hides/shows the myLocationZ line edit.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual void makVrf::DtLocationEntryWidget::setXYValidatorsEnabled ( bool  enabled)
virtual

Set lat/lon validator enabled state.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual bool makVrf::DtLocationEntryWidget::xyValidatorsEnabled ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setAdvancedKeyboardHandling ( bool  )
virtual
virtual bool makVrf::DtLocationEntryWidget::advancedKeyboardHandling ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setXLabel ( const QString &  )
virtual

Sets label titles.

Implements makVrf::DtLocationEntryWidgetInterface.

QString makVrf::DtLocationEntryWidget::xLabel ( ) const
virtual void makVrf::DtLocationEntryWidget::setYLabel ( const QString &  )
virtual
QString makVrf::DtLocationEntryWidget::yLabel ( ) const
virtual void makVrf::DtLocationEntryWidget::setZLabel ( const QString &  )
virtual
QString makVrf::DtLocationEntryWidget::zLabel ( ) const
virtual void makVrf::DtLocationEntryWidget::setXValue ( const QString &  )
virtual

Sets values.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual void makVrf::DtLocationEntryWidget::setYValue ( const QString &  )
virtual
virtual void makVrf::DtLocationEntryWidget::setZValue ( const QString &  )
virtual
virtual QString makVrf::DtLocationEntryWidget::xValue ( ) const
virtual
virtual QString makVrf::DtLocationEntryWidget::yValue ( ) const
virtual
virtual QString makVrf::DtLocationEntryWidget::zValue ( ) const
virtual
DtAltitudeSelectionWidget* makVrf::DtLocationEntryWidget::altitudeWidget ( )
inline
virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveSeaLevelVisible ( bool  b)
virtual
virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveGroundLevelVisible ( bool  b)
virtual
virtual void makVrf::DtLocationEntryWidget::setCreator ( int  ,
DtLocationCSEntryCreatorInterface  
)
virtual
virtual DtGeodeticCoord makVrf::DtLocationEntryWidget::geodeticLocation ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setCoordinateSystem ( const makArchives::DtDisplayUnitsSettingsRecord::CoordSys coordSys)
virtual

Calls down to logic to set coordinate system.

Implements makVrf::DtLocationEntryWidgetInterface.

const makArchives::DtDisplayUnitsSettingsRecord::CoordSys& makVrf::DtLocationEntryWidget::coordinateSystem ( ) const
virtual void makVrf::DtLocationEntryWidget::setCoordinateSystemDecimals ( int  decimals)
virtual

Sets the precision of the x, y and z line edits.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual void makVrf::DtLocationEntryWidget::setAltitudeSelectionEnabled ( bool  )
virtual
Parameters
altitudeSelectionEnableddetermines if the altitude selection widget or the location entry line edit should be shown. Note that if the coordinate system is changed to geocentric, the logic will force the line edit to be shown instead as altitude selection is not valid in geocentric.

Implements makVrf::DtLocationEntryWidgetInterface.

Reimplemented in makVrf::DtLastPointInfoLocation.

virtual bool makVrf::DtLocationEntryWidget::altitudeSelectionEnabled ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setZEnabled ( bool  )
virtual
virtual void makVrf::DtLocationEntryWidget::changeAltitudeEnabledSettings ( bool  )
virtual
virtual void makVrf::DtLocationEntryWidget::setCurrentAltitudeTypeSelection ( const DtAltitudeClampType type)
virtual
virtual DtAltitudeClampType makVrf::DtLocationEntryWidget::currentAltitudeTypeSelection ( ) const
virtual
virtual double makVrf::DtLocationEntryWidget::altitudeAboveSeaLevel ( ) const
virtual
virtual double makVrf::DtLocationEntryWidget::altitudeAboveGroundLevel ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveSeaLevel ( double  altitude)
virtual

Sets the altitude location.

Implements makVrf::DtLocationEntryWidgetInterface.

virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveGroundLevel ( double  altitude)
virtual

Sets the altitude location.

virtual void makVrf::DtLocationEntryWidget::setProcessMouseEvents ( bool  flag)
virtual

Reimplemented in makVrf::DtSphereEntryWidget.

virtual bool makVrf::DtLocationEntryWidget::processMouseEvents ( )
virtual
virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveGroundLevelSelected ( bool  b)
virtual
virtual void makVrf::DtLocationEntryWidget::setAltitudeAboveSeaLevelSelected ( bool  b)
virtual
virtual void makVrf::DtLocationEntryWidget::setClampToNearestPolygon ( bool  )
virtual

Sets whether or not to clamp to nearest polygon when selecting altitude.

Default is true. Only valid if allowing user to set altitude

virtual void makVrf::DtLocationEntryWidget::setIgnoreList ( const std::vector< makVrv::DtElementID > &  )
virtual

List of objects to ignore when getting intersections.

virtual const std::vector<makVrv::DtElementID>& makVrf::DtLocationEntryWidget::ignoreList ( ) const
virtual
virtual DtReaderWriter* makVrf::DtLocationEntryWidget::createBoundVariable ( const std::string &  variableName)
virtual

Creates the reader/writer variable that will be used as part of the task statement.

Implements makVrf::DtTaskSetVariableWidgetInterface.

Reimplemented in makVrf::DtSphereEntryWidget.

virtual void makVrf::DtLocationEntryWidget::setupFromBoundVariable ( const DtReaderWriter variableName)
virtual

Sets up the widget from the given reader/writer variables.

Implements makVrf::DtTaskSetVariableWidgetInterface.

Reimplemented in makVrf::DtSphereEntryWidget.

virtual void makVrf::DtLocationEntryWidget::setupFrom ( const std::vector< makVrv::DtSimEntry * > &  data)
virtual

Sets up from initial data.

Reimplemented from makVrf::DtTaskSetVariableWidget.

static makVrv::DtUnicode makVrf::DtLocationEntryWidget::codeVariableType ( )
inlinestatic
virtual void makVrf::DtLocationEntryWidget::setHasMapFocus ( bool  )
virtual

Methods implemented on behalf of being a map focus handler Sets whether or not the focus button has any effect. By default the focus button is not visible

Implements makVrf::DtMapFocusHandler.

Reimplemented in makVrf::DtSphereEntryWidget.

virtual void makVrf::DtLocationEntryWidget::setCanTakeMapFocus ( bool  )
virtual
virtual bool makVrf::DtLocationEntryWidget::canTakeMapFocus ( ) const
virtual
virtual bool makVrf::DtLocationEntryWidget::hasMapFocus ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setMaintainCurrentAltitude ( bool  )
virtual

Maintains current altitude in altitude widget if true.

Reimplemented in makVrf::DtSphereEntryWidget.

virtual bool makVrf::DtLocationEntryWidget::maintainCurrentAltitude ( ) const
virtual
virtual void makVrf::DtLocationEntryWidget::setupBasedOnEntityType ( const DtEntityType &  )
virtual

Sets up whether or not to maintain current altitude on placement based on entity kind.

virtual void makVrf::DtLocationEntryWidget::setProcessAltitudeMouseClicks ( bool  b)
virtual
virtual void makVrf::DtLocationEntryWidget::setSignalLocationSetOnly ( bool  )
virtual

Sets to signal the location change by mouse set only – do not set in gui as it is expected that others will do that.

The signal for location being set my mouse will still be sent

virtual bool makVrf::DtLocationEntryWidget::signalLocationSetOnly ( ) const
virtual
virtual bool makVrf::DtLocationEntryWidget::validateLocation ( bool  warn = false)
virtual

Will warn if flag is true via message box and/or will send signals for valid, invalid location.

virtual void makVrf::DtLocationEntryWidget::setInvalid ( bool  )
virtual
virtual bool makVrf::DtLocationEntryWidget::invalid ( ) const
virtual
static std::string makVrf::DtLocationEntryWidget::designerGroup ( )
inlinestatic
static std::string makVrf::DtLocationEntryWidget::headerFile ( )
inlinestatic
static std::string makVrf::DtLocationEntryWidget::variableName ( )
inlinestatic
virtual bool makVrf::DtLocationEntryWidget::validateDMS ( const std::string &  ) const
protectedvirtual
virtual void makVrf::DtLocationEntryWidget::slot_receivedFocus ( )
protectedvirtual

Called when a location entry widget receives focus or the altitude selection entry widget receives focus.

Signals the receivedFocus signal

virtual void makVrf::DtLocationEntryWidget::setRange ( double  top,
double  bottom 
)
protectedvirtual

Validation range. Not applicable to this widget.

Reimplemented from makVrf::DtTaskSetVariableWidget.

Reimplemented in makVrf::DtSphereEntryWidget.

virtual void makVrf::DtLocationEntryWidget::setDefaultValue ( const std::string &  )
protectedvirtual

Default value to set in control.

Implements makVrf::DtTaskSetVariableWidgetInterface.

Reimplemented in makVrf::DtSphereEntryWidget.

virtual void makVrf::DtLocationEntryWidget::canTakeMapFocusChanged ( )
protectedvirtualslot

Reimplemented in makVrf::DtSphereEntryWidget.

virtual void makVrf::DtLocationEntryWidget::slot_onPositionChanged ( )
protectedvirtualslot

Reimplemented in makVrf::DtSphereEntryWidget.

virtual void makVrf::DtLocationEntryWidget::slot_onPositionEdited ( bool  complete)
protectedvirtualslot
virtual void makVrf::DtLocationEntryWidget::slot_onAltitudeAboveGroundLevelEdited ( double  )
protectedvirtualslot
virtual void makVrf::DtLocationEntryWidget::slot_onAltitudeAboveSeaLevelEdited ( double  )
protectedvirtualslot
virtual void makVrf::DtLocationEntryWidget::slot_onAltitudeSelectionTypeChanged ( const DtAltitudeClampType )
protectedvirtualslot
virtual void makVrf::DtLocationEntryWidget::slot_onClampSelectionChanged ( int  index)
protectedvirtual
virtual void makVrf::DtLocationEntryWidget::dataEntryWidgetChanged ( )
protectedvirtual

Member Data Documentation

boost::signals2::signal<void ()> makVrf::DtLocationEntryWidget::signal_invalidLocation
boost::signals2::signal<void ()> makVrf::DtLocationEntryWidget::signal_validLocation
DtAltitudeSelectionWidget* makVrf::DtLocationEntryWidget::myAltitude
QToolButton* makVrf::DtLocationEntryWidget::myCanTakeMapFocus
QVBoxLayout* makVrf::DtLocationEntryWidget::myMainLayout
DtLocationCSEntryInterface* makVrf::DtLocationEntryWidget::myDataEntryWidget
QWidget* makVrf::DtLocationEntryWidget::myWidget
DtLocationEntryWidgetLogic* makVrf::DtLocationEntryWidget::myLogic
protected
bool makVrf::DtLocationEntryWidget::myProcessMouseEvents
protected
bool makVrf::DtLocationEntryWidget::myLockAltitude
protected
bool makVrf::DtLocationEntryWidget::myAltitudeSelectionEnabled
protected
DtVector makVrf::DtLocationEntryWidget::myOriginalLocation
protected
bool makVrf::DtLocationEntryWidget::myBoundIsZero
protected
bool makVrf::DtLocationEntryWidget::myAdvancedKeyboardHandling
protected
bool makVrf::DtLocationEntryWidget::myHideZLocation
protected
makVrv::DtCoordinateDisplay* makVrf::DtLocationEntryWidget::myCoordinateSystem
protected
bool makVrf::DtLocationEntryWidget::myUseInputValidation
protected
bool makVrf::DtLocationEntryWidget::myInvalid
protected
bool makVrf::DtLocationEntryWidget::myBlockSignals
protected
makVrv::DtSignalConnectionManager makVrf::DtLocationEntryWidget::myConnections
protected
bool makVrf::DtLocationEntryWidget::myTakeMapFocusEnabled
protected
std::map<int, DtLocationCSEntryCreatorInterface*> makVrf::DtLocationEntryWidget::myCreators
protected

Override factory creators with these. If the one being set is currently displayed, replace.


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

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)