swift
Signals | Public Member Functions | List of all members
swift::gui::components::CCoordinateDialog Class Reference

Coordinate form as dialog. More...

Inheritance diagram for swift::gui::components::CCoordinateDialog:
[legend]

Signals

void changedCoordinate ()
 Change coordinate. More...
 

Public Member Functions

 CCoordinateDialog (QWidget *parent=nullptr)
 Constructor.
 
virtual ~CCoordinateDialog ()
 Destructor.
 
swift::misc::geo::CCoordinateGeodetic getCoordinate () const
 Get the coordinate. More...
 
void setCoordinate (const swift::misc::geo::ICoordinateGeodetic &coordinate)
 Set the coordinate. More...
 
void setReadOnly (bool readonly)
 Set editable. More...
 
void setSelectOnly ()
 Read only, but entity can be selected (normally used in mapping). Use setReadOnly to reset this very state. More...
 
void showElevation (bool show)
 Show elevation. More...
 
swift::misc::CStatusMessageList validate (bool nested=false) const
 Validate, empty list means OK. More...
 

Detailed Description

Coordinate form as dialog.

See also
swift::gui::editors::CCoordinateForm

Definition at line 23 of file coordinatedialog.h.

Member Function Documentation

◆ changedCoordinate

void swift::gui::components::CCoordinateDialog::changedCoordinate ( )
signal

Change coordinate.

◆ getCoordinate()

CCoordinateGeodetic swift::gui::components::CCoordinateDialog::getCoordinate ( ) const

Get the coordinate.

Definition at line 27 of file coordinatedialog.cpp.

◆ setCoordinate()

void swift::gui::components::CCoordinateDialog::setCoordinate ( const swift::misc::geo::ICoordinateGeodetic coordinate)

Set the coordinate.

Definition at line 29 of file coordinatedialog.cpp.

◆ setReadOnly()

void swift::gui::components::CCoordinateDialog::setReadOnly ( bool  readonly)

Set editable.

Definition at line 34 of file coordinatedialog.cpp.

◆ setSelectOnly()

void swift::gui::components::CCoordinateDialog::setSelectOnly ( )

Read only, but entity can be selected (normally used in mapping). Use setReadOnly to reset this very state.

Definition at line 36 of file coordinatedialog.cpp.

◆ showElevation()

void swift::gui::components::CCoordinateDialog::showElevation ( bool  show)

Show elevation.

Definition at line 38 of file coordinatedialog.cpp.

◆ validate()

CStatusMessageList swift::gui::components::CCoordinateDialog::validate ( bool  nested = false) const

Validate, empty list means OK.

Definition at line 40 of file coordinatedialog.cpp.


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