VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtUtmEntryWidget.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 
36  {
37  Q_OBJECT
38 
39  public:
41  DtUtmEntryWidget(makVrv::DtDe& de, QWidget* parent=0);
42 
44  DtUtmEntryWidget(const DtUtmEntryWidget& orig) = delete;
45 
46  // \brief default constructor
47  DtUtmEntryWidget() = delete;
48 
50  DtUtmEntryWidget& operator = (const DtUtmEntryWidget& orig) = delete;
51 
53  virtual ~DtUtmEntryWidget();
54 
55  public:
56  static bool convertZoneString(const std::string& str, int& zoneNum, bool& isNorth);
57 
58  protected:
59 
61  virtual void setupUi();
62 
64  virtual void connectSignals();
65 
66  protected slots:
67 
69  virtual void onPositionEdited();
70 
71  protected:
72  QVBoxLayout* myWidgetLayout;
73  QGridLayout* myGridLayout;
80 
83  };
84 }
QLineEdit * myLocationNorthing
Definition: DtUtmEntryWidget.h:76
QLabel * myLocationLabelEasting
Definition: DtUtmEntryWidget.h:78
QLabel * myLocationLabelNorthing
Definition: DtUtmEntryWidget.h:79
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
QVBoxLayout * myWidgetLayout
Definition: DtUtmEntryWidget.h:72
Contains DLL export macros.
QLabel * myLocationLabelZone
Definition: DtUtmEntryWidget.h:77
DtUtmEntryWidget declaration. Widget for managing input of UTM location. It provides 3 edit boxes...
Definition: DtUtmEntryWidget.h:35
QValidator * myNorthingValidator
Definition: DtUtmEntryWidget.h:81
DtLocationEntryWidget declaration. Abstact base class for widgets that manage location input to the G...
Definition: DtLocationEntryWidget.h:26
QValidator * myEastingValidator
Definition: DtUtmEntryWidget.h:82
QLineEdit * myLocationEasting
Definition: DtUtmEntryWidget.h:75
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 * myLocationZone
Definition: DtUtmEntryWidget.h:74
QGridLayout * myGridLayout
Definition: DtUtmEntryWidget.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)