VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Slots | Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtMgrsEntryWidget Class Reference

DtMgrsEntryWidget declaration. Widget for managing input of an MGRS location. It provides 4 edit boxes, for grid zone; map sheet; easting (X); and northing (Y). When all four are filled in with valid values, the widget will try to convert the result to a latitude and longitude. It will raise its hasValidValue signal, indicating whether or not the conversion was successful. When needed, the current value can be retrieved through the getValue method.

Inheritance diagram for makVrv::DtMgrsEntryWidget:
Inheritance graph
[legend]

Public Slots

virtual void onPositionEdited () override
 

Public Member Functions

 DtMgrsEntryWidget (DtDe &de, QWidget *parent=0)
 
virtual ~DtMgrsEntryWidget ()
 
 DtMgrsEntryWidget ()=delete
 
 DtMgrsEntryWidget (const DtMgrsEntryWidget &orig)=delete
 
DtMgrsEntryWidget & operator= (const DtMgrsEntryWidget &orig)=delete
 
- Public Member Functions inherited from makVrv::DtLocationEntryWidget
 DtLocationEntryWidget (DtDe &de, QWidget *parent=0)
 
virtual ~DtLocationEntryWidget ()
 
 DtLocationEntryWidget (const DtLocationEntryWidget &orig)=delete
 
DtLocationEntryWidget & operator= (const DtLocationEntryWidget &orig)=delete
 
virtual void initialize ()
 
virtual void getValue (double &lat, double &lon) const
 
virtual bool valueValid () const
 

Protected Member Functions

virtual void setupUi () override
 
virtual void connectSignals () override
 
- Protected Member Functions inherited from makVrv::DtLocationEntryWidget
virtual void onPositionEdited ()=0
 

Protected Attributes

QLabel * myGridZoneLabel
 
QLineEdit * myGridZoneStr
 
QLabel * myMapSheetLabel
 
QLineEdit * myMapSheetStr
 
QLineEdit * myNorthingEastingStr
 
QIntValidator * myNorthingEastingValidator
 
- Protected Attributes inherited from makVrv::DtLocationEntryWidget
DtDe & myDe
 
bool myEnabled
 
double myLat
 
double myLon
 
bool myHasValidValue
 

Additional Inherited Members

- Signals inherited from makVrv::DtLocationEntryWidget
void hasValidValue (bool valid)
 

Constructor & Destructor Documentation

makVrv::DtMgrsEntryWidget::DtMgrsEntryWidget ( DtDe &  de,
QWidget *  parent = 0 
)

Constructor.

virtual makVrv::DtMgrsEntryWidget::~DtMgrsEntryWidget ( )
virtual

Destructor.

makVrv::DtMgrsEntryWidget::DtMgrsEntryWidget ( )
delete
makVrv::DtMgrsEntryWidget::DtMgrsEntryWidget ( const DtMgrsEntryWidget &  orig)
delete

Copy CTOR ( Not implemented )

Member Function Documentation

DtMgrsEntryWidget& makVrv::DtMgrsEntryWidget::operator= ( const DtMgrsEntryWidget &  orig)
delete

Assignment operator ( Not implemented )

virtual void makVrv::DtMgrsEntryWidget::setupUi ( )
overrideprotectedvirtual

Create the widgets and layouts.

Implements makVrv::DtLocationEntryWidget.

virtual void makVrv::DtMgrsEntryWidget::connectSignals ( )
overrideprotectedvirtual

Connect our Qt slots to the Qt signals from widgets we created.

Implements makVrv::DtLocationEntryWidget.

virtual void makVrv::DtMgrsEntryWidget::onPositionEdited ( )
overridevirtualslot

This Qt slot is connected to all four edit boxes created.

Member Data Documentation

QLabel* makVrv::DtMgrsEntryWidget::myGridZoneLabel
protected
QLineEdit* makVrv::DtMgrsEntryWidget::myGridZoneStr
protected
QLabel* makVrv::DtMgrsEntryWidget::myMapSheetLabel
protected
QLineEdit* makVrv::DtMgrsEntryWidget::myMapSheetStr
protected
QLineEdit* makVrv::DtMgrsEntryWidget::myNorthingEastingStr
protected
QIntValidator* makVrv::DtMgrsEntryWidget::myNorthingEastingValidator
protected

The documentation for this class was generated from the following file:

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)