mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Improved handling of latitude and longitude.
Coordinates are copied when auto-completing location, they are also displayed and editable in maintab. Signed-off-by: Michael Andreen <harv@ruin.nu> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
06dae680e4
commit
1d76ccb8b9
4 changed files with 111 additions and 40 deletions
|
|
@ -22,6 +22,9 @@ namespace Ui
|
|||
|
||||
struct NotesBackup{
|
||||
QString location;
|
||||
QString coordinates;
|
||||
degrees_t latitude;
|
||||
degrees_t longitude;
|
||||
QString notes;
|
||||
QString buddy;
|
||||
QString suit;
|
||||
|
|
@ -56,6 +59,7 @@ public slots:
|
|||
void on_editAccept_clicked(bool edit);
|
||||
void on_editReset_clicked();
|
||||
void on_location_textChanged(const QString& text);
|
||||
void on_coordinates_textChanged(const QString& text);
|
||||
void on_divemaster_textChanged(const QString& text);
|
||||
void on_buddy_textChanged(const QString& text);
|
||||
void on_suit_textChanged(const QString& text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue