13 #include <QtWidgets/QWidget>
23 class QDoubleValidator;
40 virtual void setupConnections();
41 virtual void setXYValidatorsEnabled(
bool);
43 virtual QString xValue()
const;
44 virtual QString yValue()
const;
45 virtual QString zValue()
const;
46 virtual bool xyValidatorsEnabled()
const;
50 virtual QString
xLabel()
const {
return ""; };
53 virtual QString
yLabel()
const {
return ""; };
55 virtual void setZLabel(
const QString&);
56 virtual QString zLabel()
const;
59 virtual void setXValue(
const QString&);
60 virtual void setYValue(
const QString&);
61 virtual void setZValue(
const QString&);
63 virtual void setXReadOnly(
bool);
64 virtual bool xReadOnly()
const;
66 virtual void setYReadOnly(
bool);
67 virtual bool yReadOnly()
const;
69 virtual void setZReadOnly(
bool);
70 virtual bool zReadOnly()
const;
73 virtual void setUseInputValidation(
bool);
76 return myUseInputValidation;
79 virtual void setZEnabled(
bool b);
85 virtual void setHideZLocation(
bool b);
88 return myHideZLocation;
91 virtual void setCoordinateSystemDecimals(
int i);
94 return myCoordinateSystemDecimals;
97 virtual void setShowWarningLabel(
bool b);
98 virtual void setEntryInvalid(
bool b);
101 return myShowWarningLabel;
106 virtual void setAdvancedKeyboardHandling(
bool);
109 return myAdvancedKeyboardHandling;
113 virtual void slot_onPositionEdited();
114 virtual void slot_onPositionChanged();
118 virtual void getValues(
const QString& val,
int& deg,
int& min,
double& sec)
const;
119 virtual QString entryFormatLabel()
const;
virtual bool zEnabled() const
Definition: locationCSEntryDMSWidget.h:80
virtual void setYLabel(const QString &)
Definition: locationCSEntryDMSWidget.h:52
DtLocationCSEntryCreator< DtLocationCSEntryDMSWidget > DtLocationCSEntryDMSWidgetCreator
Definition: locationCSEntryDMSWidget.h:155
virtual bool useInputValidation() const
Definition: locationCSEntryDMSWidget.h:74
virtual bool advancedKeyboardHandling() const
Definition: locationCSEntryDMSWidget.h:107
QLineEdit * myLocationLatMin
Definition: locationCSEntryDMSWidget.h:124
QValidator * myLonDegValidator
Definition: locationCSEntryDMSWidget.h:143
QLabel * myLocationLabelLonSec
Definition: locationCSEntryDMSWidget.h:134
QLabel * myLocationLabelLonMin
Definition: locationCSEntryDMSWidget.h:133
virtual void setXLabel(const QString &)
Sets label titles.
Definition: locationCSEntryDMSWidget.h:49
QValidator * myLatSecValidator
Definition: locationCSEntryDMSWidget.h:142
bool myZEnabled
Definition: locationCSEntryDMSWidget.h:148
Definition: locationCSEntryInterface.h:24
QLineEdit * myLocationLatDeg
Definition: locationCSEntryDMSWidget.h:123
Definition: locationCSEntryInterface.h:103
QLabel * myLocationLabelLatSec
Definition: locationCSEntryDMSWidget.h:128
Definition: locationCSEntryDMSWidget.h:29
QValidator * myLatMinValidator
Definition: locationCSEntryDMSWidget.h:141
virtual bool showWarningLabel() const
Definition: locationCSEntryDMSWidget.h:99
QLineEdit * myLocationLonSec
Definition: locationCSEntryDMSWidget.h:131
virtual int coordinateSystemDecimals() const
Definition: locationCSEntryDMSWidget.h:92
QLineEdit * myLocationLatSec
Definition: locationCSEntryDMSWidget.h:125
virtual QString xLabel() const
Definition: locationCSEntryDMSWidget.h:50
int myCoordinateSystemDecimals
Definition: locationCSEntryDMSWidget.h:150
QValidator * myLatDegValidator
Definition: locationCSEntryDMSWidget.h:140
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
QValidator * myLonMinValidator
Definition: locationCSEntryDMSWidget.h:144
bool myShowWarningLabel
Definition: locationCSEntryDMSWidget.h:151
bool myUseInputValidation
Definition: locationCSEntryDMSWidget.h:147
QLabel * myLocationLabelLonDeg
Definition: locationCSEntryDMSWidget.h:132
QLineEdit * myLocationLonDeg
Definition: locationCSEntryDMSWidget.h:129
QLabel * myLocationLabelZ
Definition: locationCSEntryDMSWidget.h:136
QLabel * myLocationLabelLatMin
Definition: locationCSEntryDMSWidget.h:127
QLabel * myWarningLabel
Definition: locationCSEntryDMSWidget.h:137
virtual QString yLabel() const
Definition: locationCSEntryDMSWidget.h:53
QLineEdit * myLocationZ
Definition: locationCSEntryDMSWidget.h:135
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:70
virtual bool hideZLocation() const
Definition: locationCSEntryDMSWidget.h:86
bool myAdvancedKeyboardHandling
Definition: locationCSEntryDMSWidget.h:152
QLabel * myLocationLabelLatDeg
Definition: locationCSEntryDMSWidget.h:126
QValidator * myLonSecValidator
Definition: locationCSEntryDMSWidget.h:145
bool myHideZLocation
Definition: locationCSEntryDMSWidget.h:149
QValidator * myZValidator
Definition: locationCSEntryDMSWidget.h:146
QLineEdit * myLocationLonMin
Definition: locationCSEntryDMSWidget.h:130
QGridLayout * myGridLayout
Definition: locationCSEntryDMSWidget.h:122