VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtMgrsEntryWidget.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2021 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
8 
10 
11 #pragma once
12 
13 #include <vrvCoreQt/vrvCoreQt.h>
14 #include <QtWidgets/QWidget>
15 
16 class QLabel;
17 class QLineEdit;
18 class QString;
19 class QIntValidator;
20 
21 namespace makVrv
22 {
23  class DtDe;
24 
32  class DT_DLL_VRVCOREQT DtMgrsEntryWidget : public QWidget
33  {
34  Q_OBJECT
35 
36  public:
38  DtMgrsEntryWidget(DtDe& de, QWidget* parent=0);
39 
41  virtual ~DtMgrsEntryWidget();
42 
44  virtual void initialize();
45 
47  virtual void getValue(double& lat, double& lon) const;
48 
51  virtual bool valueValid() const;
52 
53  signals:
54 
56  void hasValidValue(bool valid);
57 
58  protected:
59 
61  virtual void setupUi();
62 
64  virtual void connectSignals();
65 
66  public slots:
67 
69  virtual void onPositionEdited();
70 
71  protected:
73  bool myEnabled;
79 
80  double myLat;
81  double myLon;
84  };
85 }
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
double myLat
Definition: DtMgrsEntryWidget.h:80
Contains DLL export macros.
DtMgrsEntryWidget declaration. Widget for managing input of an MGRS location. It provides 4 edit boxe...
Definition: DtMgrsEntryWidget.h:32
QIntValidator * myNorthingEastingValidator
Definition: DtMgrsEntryWidget.h:83
QLabel * myMapSheetLabel
Definition: DtMgrsEntryWidget.h:76
QLabel * myGridZoneLabel
Definition: DtMgrsEntryWidget.h:74
DtDe & myDe
Definition: DtMgrsEntryWidget.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:72
QLineEdit * myGridZoneStr
Definition: DtMgrsEntryWidget.h:75
QLineEdit * myMapSheetStr
Definition: DtMgrsEntryWidget.h:77
bool myHasValidValue
Definition: DtMgrsEntryWidget.h:82
bool myEnabled
Definition: DtMgrsEntryWidget.h:73
QLineEdit * myNorthingEastingStr
Definition: DtMgrsEntryWidget.h:78
double myLon
Definition: DtMgrsEntryWidget.h:81

Document ID: Generated on Tue Sep 24 19:28:17 EDT 2024 from SVN revision 269799
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)