VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtGeocentricEntryWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2024 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvCoreQt/vrvCoreQt.h>
15 
16 class QLabel;
17 class QGridLayout;
18 class QLineEdit;
19 class QValidator;
20 class QVBoxLayout;
21 
22 
23 namespace makVrv
24 {
25  class DtDe;
26  class DtUnicode;
27 
37  {
38  Q_OBJECT
39 
40  public:
42  DtGeocentricEntryWidget(makVrv::DtDe& de, QWidget* parent=0);
43 
45  virtual ~DtGeocentricEntryWidget();
46 
47  // \brief default constructor
48  DtGeocentricEntryWidget() = delete;
49 
52 
54  DtGeocentricEntryWidget& operator = (const DtGeocentricEntryWidget& orig) = delete;
55 
56  protected:
57 
59  virtual void setupUi();
60 
62  virtual void connectSignals();
63 
64  protected slots:
65 
67  virtual void onPositionEdited();
68 
69  signals:
70 
71  protected:
72  QVBoxLayout* myWidgetLayout;
73  QGridLayout* myGridLayout;
80 
84 
85  };
86 }
QLineEdit * myLocationZ
Definition: DtGeocentricEntryWidget.h:76
QLabel * myLocationLabelX
Definition: DtGeocentricEntryWidget.h:77
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
QValidator * myYValidator
Definition: DtGeocentricEntryWidget.h:82
Contains DLL export macros.
DtGeocentricEntryWidget declaration. Widget for managing input of a geocentric location. It provides 3 edit boxes, for X, Y, and Z (in meters). When all three are filled in with current values (there is a limit of +/- 100,000,000.0 meters per coordinate) the widget will convert the result to a decimal latitude and longitude, in radians. It will raise its hasValidValue signal as true. When needed, the current value can be retrieved through the getValue method.
Definition: DtGeocentricEntryWidget.h:36
QLineEdit * myLocationX
Definition: DtGeocentricEntryWidget.h:74
QLabel * myLocationLabelY
Definition: DtGeocentricEntryWidget.h:78
QValidator * myXValidator
Definition: DtGeocentricEntryWidget.h:81
DtLocationEntryWidget declaration. Abstact base class for widgets that manage location input to the G...
Definition: DtLocationEntryWidget.h:26
QLabel * myLocationLabelZ
Definition: DtGeocentricEntryWidget.h:79
QVBoxLayout * myWidgetLayout
Definition: DtGeocentricEntryWidget.h:72
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
QLineEdit * myLocationY
Definition: DtGeocentricEntryWidget.h:75
QValidator * myZValidator
Definition: DtGeocentricEntryWidget.h:83
QGridLayout * myGridLayout
Definition: DtGeocentricEntryWidget.h:73

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)