![]() |
VR-Forces Developer's Guide
|
DtDmsEntryWidget declaration. Widget for managing input of an lat/lon Degrees/Minutes/Seconds location. It provides 6 edit boxes, for degrees, minutes, and seconds latitude; and degrees, minutes, seconds longitude. When all six are filled in with valid values, the widget will convert the result to a decimal latitude and longitude, in radians. It will raise its hasValidValue signal as true. When needed, the current value can be retrieved through the getValue method.

Public Member Functions | |
| DtDmsEntryWidget (makVrv::DtDe &de, QWidget *parent=0) | |
| virtual | ~DtDmsEntryWidget () |
| DtDmsEntryWidget ()=delete | |
| DtDmsEntryWidget (const DtDmsEntryWidget &orig)=delete | |
| DtDmsEntryWidget & | operator= (const DtDmsEntryWidget &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 Slots | |
| virtual void | onPositionEdited () |
Protected Member Functions | |
| virtual void | setupUi () |
| virtual void | connectSignals () |
Protected Member Functions inherited from makVrv::DtLocationEntryWidget | |
| virtual void | onPositionEdited ()=0 |
Protected Attributes | |
| QVBoxLayout * | myWidgetLayout |
| QGridLayout * | myGridLayout |
| QLineEdit * | myLocationLatDeg |
| QLineEdit * | myLocationLatMin |
| QLineEdit * | myLocationLatSec |
| QLabel * | myLocationLabelLatDeg |
| QLabel * | myLocationLabelLatMin |
| QLabel * | myLocationLabelLatSec |
| QLineEdit * | myLocationLonDeg |
| QLineEdit * | myLocationLonMin |
| QLineEdit * | myLocationLonSec |
| QLabel * | myLocationLabelLonDeg |
| QLabel * | myLocationLabelLonMin |
| QLabel * | myLocationLabelLonSec |
| QValidator * | myLatDegValidator |
| QValidator * | myLatMinValidator |
| QValidator * | myLatSecValidator |
| QValidator * | myLonDegValidator |
| QValidator * | myLonMinValidator |
| QValidator * | myLonSecValidator |
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) |
| makVrv::DtDmsEntryWidget::DtDmsEntryWidget | ( | makVrv::DtDe & | de, |
| QWidget * | parent = 0 |
||
| ) |
Constructor.
|
virtual |
Destructor.
|
delete |
|
delete |
Copy CTOR ( Not implemented )
|
delete |
Assignment operator ( Not implemented )
|
protectedvirtual |
Create the widgets and layouts.
Implements makVrv::DtLocationEntryWidget.
|
protectedvirtual |
Connect our Qt slots to the Qt signals from widgets we created.
Implements makVrv::DtLocationEntryWidget.
|
protectedvirtualslot |
Qt slot connected to the degree and minute edit boxes' 'textEdited' signals.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |