swift
|
Coordinate form as dialog. More...
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... | |
Coordinate form as dialog.
Definition at line 23 of file coordinatedialog.h.
|
signal |
Change coordinate.
CCoordinateGeodetic swift::gui::components::CCoordinateDialog::getCoordinate | ( | ) | const |
Get the coordinate.
Definition at line 27 of file coordinatedialog.cpp.
void swift::gui::components::CCoordinateDialog::setCoordinate | ( | const swift::misc::geo::ICoordinateGeodetic & | coordinate | ) |
Set the coordinate.
Definition at line 29 of file coordinatedialog.cpp.
void swift::gui::components::CCoordinateDialog::setReadOnly | ( | bool | readonly | ) |
Set editable.
Definition at line 34 of file coordinatedialog.cpp.
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.
void swift::gui::components::CCoordinateDialog::showElevation | ( | bool | show | ) |
Show elevation.
Definition at line 38 of file coordinatedialog.cpp.
CStatusMessageList swift::gui::components::CCoordinateDialog::validate | ( | bool | nested = false | ) | const |
Validate, empty list means OK.
Definition at line 40 of file coordinatedialog.cpp.