VR-Forces 4.8 Class Documentation
 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) 2020 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;
82 
83  double myLat;
84  double myLon;
87  };
88 }
#define DT_DLL_VRVCOREQT
Definition: vrvCoreQt.h:20
double myLat
Definition: DtMgrsEntryWidget.h:83
Contains DLL export macros.
QLabel * myEastingLabel
Definition: DtMgrsEntryWidget.h:78
DtMgrsEntryWidget declaration.
Definition: DtMgrsEntryWidget.h:32
QIntValidator * myNorthingEastingValidator
Definition: DtMgrsEntryWidget.h:86
QLabel * myMapSheetLabel
Definition: DtMgrsEntryWidget.h:76
QLabel * myGridZoneLabel
Definition: DtMgrsEntryWidget.h:74
QLabel * myNorthingLabel
Definition: DtMgrsEntryWidget.h:80
DtDe & myDe
Definition: DtMgrsEntryWidget.h:72
QLineEdit * myEastingStr
Definition: DtMgrsEntryWidget.h:79
The DtDe is the core component of any VR-Vantage application.
Definition: DtDe.h:69
QLineEdit * myGridZoneStr
Definition: DtMgrsEntryWidget.h:75
QLineEdit * myMapSheetStr
Definition: DtMgrsEntryWidget.h:77
bool myHasValidValue
Definition: DtMgrsEntryWidget.h:85
bool myEnabled
Definition: DtMgrsEntryWidget.h:73
QLineEdit * myNorthingStr
Definition: DtMgrsEntryWidget.h:81
double myLon
Definition: DtMgrsEntryWidget.h:84

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)