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
 
DtMgrsEntryWidgetoperator= (const DtMgrsEntryWidget &orig)=delete
 
- Public Member Functions inherited from makVrv::DtLocationEntryWidget
 DtLocationEntryWidget (DtDe &de, QWidget *parent=0)
 
virtual ~DtLocationEntryWidget ()
 
 DtLocationEntryWidget (const DtLocationEntryWidget &orig)=delete
 
DtLocationEntryWidgetoperator= (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

QLabelmyGridZoneLabel
 
QLineEditmyGridZoneStr
 
QLabelmyMapSheetLabel
 
QLineEditmyMapSheetStr
 
QLineEditmyNorthingEastingStr
 
QIntValidator * myNorthingEastingValidator
 
- Protected Attributes inherited from makVrv::DtLocationEntryWidget
DtDemyDe
 
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 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)