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

DtProjectedDatabaseEntryWidget declaration. Widget for managing input of a location on a cartesian (non-geocentric) database. It provides 2 edit boxes, for X and Y. When all 4 are filled in, 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. This widget has to inherit DtDeObserver so that it can access (and clone) the DtDe's coordinate system object to do the conversion from current database coordinates to lat/lon. Note that a user is using a geocetric database and requests database entry, the DtGeocentricEntryWidget is automatically used instead.

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

Public Member Functions

 DtProjectedDatabaseEntryWidget (makVrv::DtDe &de, QWidget *parent=0)
 
virtual ~DtProjectedDatabaseEntryWidget ()
 
 DtProjectedDatabaseEntryWidget ()=delete
 
 DtProjectedDatabaseEntryWidget (const DtProjectedDatabaseEntryWidget &orig)=delete
 
DtProjectedDatabaseEntryWidgetoperator= (const DtProjectedDatabaseEntryWidget &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 Slots

virtual void onPositionEdited ()
 

Protected Member Functions

virtual void setupUi ()
 
virtual void connectSignals ()
 
virtual void slot_coordinateSystemChanged ()
 
virtual void slot_activate (DtDe *de) override
 
virtual void slot_deactivate (DtDe *de) override
 
- Protected Member Functions inherited from makVrv::DtLocationEntryWidget
virtual void onPositionEdited ()=0
 

Protected Attributes

QVBoxLayout * myWidgetLayout
 
QGridLayout * myGridLayout
 
QLineEditmyLocationX
 
QLineEditmyLocationY
 
QLabelmyLocationLabelX
 
QLabelmyLocationLabelY
 
DtSignalConnectionManager mySignalConnectionManager
 
DtCoordinateSystemmyDatabaseCoordinateSystem
 
- 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::DtProjectedDatabaseEntryWidget::DtProjectedDatabaseEntryWidget ( makVrv::DtDe de,
QWidget *  parent = 0 
)

Constructor.

virtual makVrv::DtProjectedDatabaseEntryWidget::~DtProjectedDatabaseEntryWidget ( )
virtual

Destructor.

makVrv::DtProjectedDatabaseEntryWidget::DtProjectedDatabaseEntryWidget ( )
delete
makVrv::DtProjectedDatabaseEntryWidget::DtProjectedDatabaseEntryWidget ( const DtProjectedDatabaseEntryWidget orig)
delete

Copy CTOR ( Not implemented )

Member Function Documentation

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

Assignment operator ( Not implemented )

virtual void makVrv::DtProjectedDatabaseEntryWidget::setupUi ( )
protectedvirtual

Create the widgets and layouts.

Implements makVrv::DtLocationEntryWidget.

virtual void makVrv::DtProjectedDatabaseEntryWidget::connectSignals ( )
protectedvirtual

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

Implements makVrv::DtLocationEntryWidget.

virtual void makVrv::DtProjectedDatabaseEntryWidget::slot_coordinateSystemChanged ( )
protectedvirtual

slot for when the coordinate system changes

virtual void makVrv::DtProjectedDatabaseEntryWidget::slot_activate ( DtDe de)
overrideprotectedvirtual

This will be called when the DtDe has been created and initialized. This just calls slot_coordinateSystemChanged.

virtual void makVrv::DtProjectedDatabaseEntryWidget::slot_deactivate ( DtDe de)
overrideprotectedvirtual

Called when the DtDe is about to be destroyed. This is a no-op here, but required to override.

virtual void makVrv::DtProjectedDatabaseEntryWidget::onPositionEdited ( )
protectedvirtualslot

Qt slot connected to the degree and minute edit boxes' 'textEdited' signals.

Member Data Documentation

QVBoxLayout* makVrv::DtProjectedDatabaseEntryWidget::myWidgetLayout
protected
QGridLayout* makVrv::DtProjectedDatabaseEntryWidget::myGridLayout
protected
QLineEdit* makVrv::DtProjectedDatabaseEntryWidget::myLocationX
protected
QLineEdit* makVrv::DtProjectedDatabaseEntryWidget::myLocationY
protected
QLabel* makVrv::DtProjectedDatabaseEntryWidget::myLocationLabelX
protected
QLabel* makVrv::DtProjectedDatabaseEntryWidget::myLocationLabelY
protected
DtSignalConnectionManager makVrv::DtProjectedDatabaseEntryWidget::mySignalConnectionManager
protected
DtCoordinateSystem* makVrv::DtProjectedDatabaseEntryWidget::myDatabaseCoordinateSystem
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)