diff options
author | Michael Andreen <harv@ruin.nu> | 2013-09-17 21:50:15 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-09-17 16:48:36 -0400 |
commit | 1d76ccb8b9bbcb6e2c98e4faca31ddd5d02050ce (patch) | |
tree | 1e71842944843c67d7d9fe1219f26cd782861efe /qt-ui/maintab.h | |
parent | 06dae680e42ebb23b0ca9af0df38cd1a77bfbb0c (diff) | |
download | subsurface-1d76ccb8b9bbcb6e2c98e4faca31ddd5d02050ce.tar.gz |
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>
Diffstat (limited to 'qt-ui/maintab.h')
-rw-r--r-- | qt-ui/maintab.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qt-ui/maintab.h b/qt-ui/maintab.h index f9f65a3ff..297f27cf9 100644 --- a/qt-ui/maintab.h +++ b/qt-ui/maintab.h @@ -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); |