VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
locationCSEntryLabelBasicWidgets.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
9 #pragma once
10 
13 #include <QtWidgets/QWidget>
14 
15 namespace makVrv
16 {
17  class DtDe;
18 }
19 
20 class QLabel;
21 class QGridLayout;
22 class QLineEdit;
23 class QDoubleValidator;
24 class QValidator;
25 class QPixmap;
26 
27 namespace makVrf
28 {
30  {
31  Q_OBJECT
32 
33  public:
35  DtLocationCSLabelEntryBasic(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
36 
37  //DTOR
38  virtual ~DtLocationCSLabelEntryBasic() override;
39 
41  virtual void setupConnections() override {
42  }
43 
45  virtual void setXYValidatorsEnabled(bool) override {
46  return;
47  }
48 
49  virtual QString xValue() const override;
50  virtual QString yValue() const override;
51  virtual QString zValue() const override;
52 
54  virtual bool xyValidatorsEnabled() const override {
55  return false;
56  }
57 
59  virtual void setXLabel(const QString&) override;
60  virtual QString xLabel() const override;
61 
62  virtual void setYLabel(const QString&) override;
63  virtual QString yLabel() const override;
64 
65  virtual void setZLabel(const QString&) override;
66  virtual QString zLabel() const override;
67 
69  virtual void setXValue(const QString&) override;
70  virtual void setYValue(const QString&) override;
71  virtual void setZValue(const QString&) override;
72 
73  virtual void setXReadOnly(bool) override;
74  virtual bool xReadOnly() const override;
75 
76  virtual void setYReadOnly(bool) override;
77  virtual bool yReadOnly() const override;
78 
79  virtual void setZReadOnly(bool) override;
80  virtual bool zReadOnly() const override;
81 
83  virtual void setUseInputValidation(bool) override {
84  return;
85  }
86  virtual bool useInputValidation() const override {
87  return false;
88  }
89 
90  virtual void setZEnabled(bool b) override;
91  virtual bool zEnabled() const override {
92  return myZEnabled;
93  }
94 
95  virtual void setHideZLocation(bool b) override;
96  virtual bool hideZLocation() const override {
97  return myHideZLocation;
98  }
99 
100  virtual void setCoordinateSystemDecimals(int i) override;
101  virtual int coordinateSystemDecimals() const override {
102  return myCoordinateSystemDecimals;
103  }
104 
105  virtual void setShowWarningLabel(bool b) override;
106  virtual void setEntryInvalid(bool b) override;
107  virtual bool showWarningLabel() const override {
108  return myShowWarningLabel;
109  }
110 
112  virtual void setAdvancedKeyboardHandling(bool) override {
113  return;
114  }
115  virtual bool advancedKeyboardHandling() const override {
116  return false;
117  }
118 
119  public:
120  QGridLayout* myGridLayout;
128 
129  protected:
134  };
135 
137  {
138  Q_OBJECT
139 
140  public:
142  DtLocationCSLabelEntryBasicDeg(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
143 
144  //DTOR
145  virtual ~DtLocationCSLabelEntryBasicDeg() override;
146  };
147 
149 
151  {
152  Q_OBJECT
153 
154  public:
156  DtLocationCSLabelEntryBasicDMS(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
157 
158  //DTOR
159  virtual ~DtLocationCSLabelEntryBasicDMS() override;
160 
161  protected:
162  //virtual void setupInputValidators();
163  };
164 
166 
168  {
169  Q_OBJECT
170 
171  public:
173  DtLocationCSLabelEntryBasicUTM(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
174 
175  //DTOR
176  virtual ~DtLocationCSLabelEntryBasicUTM() override;
177  };
178 
180 
182  {
183  Q_OBJECT
184 
185  public:
187  DtLocationCSLabelEntryBasicMGRS(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
188 
189  //DTOR
190  virtual ~DtLocationCSLabelEntryBasicMGRS() override;
191 
192  protected:
194  //virtual void setupInputValidators();
195  };
196 
198 
200  {
201  Q_OBJECT
202 
203  public:
205  DtLocationCSLabelEntryBasicGeocentric(makVrv::DtDe& de, QWidget* parent, const Qt::WindowFlags& flags = 0);
206 
207  //DTOR
208  virtual ~DtLocationCSLabelEntryBasicGeocentric() override;
209 
210  protected:
211  //virtual void setupInputValidators();
212  };
213 
215 }
DtLocationCSEntryCreator< DtLocationCSLabelEntryBasicGeocentric > DtLocationCSLabelEntryBasicGeocentricCreator
Definition: locationCSEntryLabelBasicWidgets.h:214
bool myShowWarningLabel
Definition: locationCSEntryLabelBasicWidgets.h:133
Definition: locationCSEntryLabelBasicWidgets.h:29
virtual bool useInputValidation() const override
Definition: locationCSEntryLabelBasicWidgets.h:86
virtual bool advancedKeyboardHandling() const override
Definition: locationCSEntryLabelBasicWidgets.h:115
Definition: locationCSEntryLabelBasicWidgets.h:167
virtual bool xyValidatorsEnabled() const override
Interface requires to implement this function but with label entries no input validation is performed...
Definition: locationCSEntryLabelBasicWidgets.h:54
QGridLayout * myGridLayout
Definition: locationCSEntryLabelBasicWidgets.h:120
Definition: locationCSEntryLabelBasicWidgets.h:181
Definition: locationCSEntryLabelBasicWidgets.h:199
QLabel * myLocationX
Definition: locationCSEntryLabelBasicWidgets.h:121
Definition: locationCSEntryInterface.h:24
DtLocationCSEntryCreator< DtLocationCSLabelEntryBasicDeg > DtLocationCSLabelEntryBasicDegCreator
Definition: locationCSEntryLabelBasicWidgets.h:148
bool myHideZLocation
Definition: locationCSEntryLabelBasicWidgets.h:131
Definition: locationCSEntryInterface.h:103
Definition: locationCSEntryLabelBasicWidgets.h:136
virtual bool zEnabled() const override
Definition: locationCSEntryLabelBasicWidgets.h:91
virtual bool showWarningLabel() const override
Definition: locationCSEntryLabelBasicWidgets.h:107
QLabel * myLocationZ
Definition: locationCSEntryLabelBasicWidgets.h:125
virtual void setUseInputValidation(bool) override
Interface requires to implement this function but with label entries no input validation is performed...
Definition: locationCSEntryLabelBasicWidgets.h:83
virtual void setXYValidatorsEnabled(bool) override
Interface requires to implement this function but with label entries no input validation is performed...
Definition: locationCSEntryLabelBasicWidgets.h:45
virtual void setupConnections() override
Interface requires to implement this function but nothing to be done.
Definition: locationCSEntryLabelBasicWidgets.h:41
DtLocationCSEntryCreator< DtLocationCSLabelEntryBasicUTM > DtLocationCSLabelEntryBasicUTMCreator
Definition: locationCSEntryLabelBasicWidgets.h:179
Definition: locationCSEntryLabelBasicWidgets.h:150
#define DT_DLL_VRFGUIDATAENTRYWIDGETS
Definition: vrfGuiDataEntryWidgets.h:22
virtual int coordinateSystemDecimals() const override
Definition: locationCSEntryLabelBasicWidgets.h:101
virtual bool hideZLocation() const override
Definition: locationCSEntryLabelBasicWidgets.h:96
QLabel * myLocationLabelZ
Definition: locationCSEntryLabelBasicWidgets.h:126
QLabel * myLocationLabelY
Definition: locationCSEntryLabelBasicWidgets.h:124
QLabel * myLocationY
Definition: locationCSEntryLabelBasicWidgets.h:123
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 myZEnabled
Definition: locationCSEntryLabelBasicWidgets.h:130
QLabel * myLocationLabelX
Definition: locationCSEntryLabelBasicWidgets.h:122
DtLocationCSEntryCreator< DtLocationCSLabelEntryBasicDMS > DtLocationCSLabelEntryBasicDMSCreator
Definition: locationCSEntryLabelBasicWidgets.h:165
virtual void setAdvancedKeyboardHandling(bool) override
Interface requires to implement this function but with label entries no special keyboard handling is ...
Definition: locationCSEntryLabelBasicWidgets.h:112
QLabel * myWarningLabel
Definition: locationCSEntryLabelBasicWidgets.h:127
int myCoordinateSystemDecimals
Definition: locationCSEntryLabelBasicWidgets.h:132
DtLocationCSEntryCreator< DtLocationCSLabelEntryBasicMGRS > DtLocationCSLabelEntryBasicMGRSCreator
Definition: locationCSEntryLabelBasicWidgets.h:197

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)