13 #include <QtWidgets/QWidget>
23 class QDoubleValidator;
40 virtual void setupConnections()
override;
41 virtual void setXYValidatorsEnabled(
bool)
override;
43 virtual QString xValue()
const override;
44 virtual QString yValue()
const override;
45 virtual QString zValue()
const override;
46 virtual bool xyValidatorsEnabled()
const override;
50 virtual QString
xLabel()
const override {
return ""; };
53 virtual QString
yLabel()
const override {
return ""; };
55 virtual void setZLabel(
const QString&)
override;
56 virtual QString zLabel()
const override;
59 virtual void setXValue(
const QString&)
override;
60 virtual void setYValue(
const QString&)
override;
61 virtual void setZValue(
const QString&)
override;
63 virtual void setXReadOnly(
bool)
override;
64 virtual bool xReadOnly()
const override;
66 virtual void setYReadOnly(
bool)
override;
67 virtual bool yReadOnly()
const override;
69 virtual void setZReadOnly(
bool)
override;
70 virtual bool zReadOnly()
const override;
73 virtual void setUseInputValidation(
bool)
override;
75 return myUseInputValidation;
78 virtual void setZEnabled(
bool b)
override;
83 virtual void setHideZLocation(
bool b)
override;
85 return myHideZLocation;
88 virtual void setCoordinateSystemDecimals(
int i)
override;
90 return myCoordinateSystemDecimals;
93 virtual void setShowWarningLabel(
bool b)
override;
94 virtual void setEntryInvalid(
bool b)
override;
96 return myShowWarningLabel;
101 virtual void setAdvancedKeyboardHandling(
bool)
override;
103 return myAdvancedKeyboardHandling;
107 virtual void slot_onPositionEdited();
108 virtual void slot_onPositionChanged();
112 virtual void getValues(
const QString& val,
int& deg,
int& min,
double& sec)
const;
113 virtual QString entryFormatLabel()
const;
virtual bool hideZLocation() const override
Definition: locationCSEntryDMSWidget.h:84
DtLocationCSEntryCreator< DtLocationCSEntryDMSWidget > DtLocationCSEntryDMSWidgetCreator
Definition: locationCSEntryDMSWidget.h:149
virtual void setYLabel(const QString &) override
Definition: locationCSEntryDMSWidget.h:52
QLineEdit * myLocationLatMin
Definition: locationCSEntryDMSWidget.h:118
QValidator * myLonDegValidator
Definition: locationCSEntryDMSWidget.h:137
QLabel * myLocationLabelLonSec
Definition: locationCSEntryDMSWidget.h:128
virtual bool showWarningLabel() const override
Definition: locationCSEntryDMSWidget.h:95
QLabel * myLocationLabelLonMin
Definition: locationCSEntryDMSWidget.h:127
QValidator * myLatSecValidator
Definition: locationCSEntryDMSWidget.h:136
bool myZEnabled
Definition: locationCSEntryDMSWidget.h:142
Definition: locationCSEntryInterface.h:24
QLineEdit * myLocationLatDeg
Definition: locationCSEntryDMSWidget.h:117
virtual bool zEnabled() const override
Definition: locationCSEntryDMSWidget.h:79
Definition: locationCSEntryInterface.h:103
QLabel * myLocationLabelLatSec
Definition: locationCSEntryDMSWidget.h:122
virtual bool advancedKeyboardHandling() const override
Definition: locationCSEntryDMSWidget.h:102
virtual QString yLabel() const override
Definition: locationCSEntryDMSWidget.h:53
virtual int coordinateSystemDecimals() const override
Definition: locationCSEntryDMSWidget.h:89
Definition: locationCSEntryDMSWidget.h:29
QValidator * myLatMinValidator
Definition: locationCSEntryDMSWidget.h:135
QLineEdit * myLocationLonSec
Definition: locationCSEntryDMSWidget.h:125
QLineEdit * myLocationLatSec
Definition: locationCSEntryDMSWidget.h:119
int myCoordinateSystemDecimals
Definition: locationCSEntryDMSWidget.h:144
QValidator * myLatDegValidator
Definition: locationCSEntryDMSWidget.h:134
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
virtual QString xLabel() const override
Definition: locationCSEntryDMSWidget.h:50
QValidator * myLonMinValidator
Definition: locationCSEntryDMSWidget.h:138
bool myShowWarningLabel
Definition: locationCSEntryDMSWidget.h:145
bool myUseInputValidation
Definition: locationCSEntryDMSWidget.h:141
virtual bool useInputValidation() const override
Definition: locationCSEntryDMSWidget.h:74
virtual void setXLabel(const QString &) override
Sets label titles.
Definition: locationCSEntryDMSWidget.h:49
QLabel * myLocationLabelLonDeg
Definition: locationCSEntryDMSWidget.h:126
QLineEdit * myLocationLonDeg
Definition: locationCSEntryDMSWidget.h:123
QLabel * myLocationLabelZ
Definition: locationCSEntryDMSWidget.h:130
QLabel * myLocationLabelLatMin
Definition: locationCSEntryDMSWidget.h:121
QLabel * myWarningLabel
Definition: locationCSEntryDMSWidget.h:131
QLineEdit * myLocationZ
Definition: locationCSEntryDMSWidget.h:129
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76
bool myAdvancedKeyboardHandling
Definition: locationCSEntryDMSWidget.h:146
QLabel * myLocationLabelLatDeg
Definition: locationCSEntryDMSWidget.h:120
QValidator * myLonSecValidator
Definition: locationCSEntryDMSWidget.h:139
bool myHideZLocation
Definition: locationCSEntryDMSWidget.h:143
QValidator * myZValidator
Definition: locationCSEntryDMSWidget.h:140
QLineEdit * myLocationLonMin
Definition: locationCSEntryDMSWidget.h:124
QGridLayout * myGridLayout
Definition: locationCSEntryDMSWidget.h:116