diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-03-25 22:18:32 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-04-12 18:19:07 +0300 |
commit | 8287d86d2b83fb5a343f2638391b1393a73cde72 (patch) | |
tree | 7adfc3dfa1a871c0e400d506f0706ec7c61ce631 /desktop-widgets/locationinformation.ui | |
parent | 22fe0c14e885161ae9a18a00b71283a77679d06c (diff) | |
download | subsurface-8287d86d2b83fb5a343f2638391b1393a73cde72.tar.gz |
Dive site: add proximity field to dive site list
Merging dive sites is currently only possible if dive sites are at
the exact same position.
Introduce a field where the user can enter a distance up to which all
dive sites should be listed. These can then be merged.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'desktop-widgets/locationinformation.ui')
-rw-r--r-- | desktop-widgets/locationinformation.ui | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/desktop-widgets/locationinformation.ui b/desktop-widgets/locationinformation.ui index f45d0ceea..72e7fb2e1 100644 --- a/desktop-widgets/locationinformation.ui +++ b/desktop-widgets/locationinformation.ui @@ -94,10 +94,31 @@ <item row="9" column="0" colspan="5"> <widget class="QGroupBox" name="diveSiteGroupBox"> <property name="title"> - <string>Dive sites on same coordinates</string> + <string>Near dive sites</string> </property> <layout class="QVBoxLayout" name="verticalLayout"> <item> + <layout class="QHBoxLayout" name="horizontalLayout"> + <item> + <widget class="QLabel" name="label_8"> + <property name="text"> + <string>Show dive sites in the range of:</string> + </property> + </widget> + </item> + <item> + <widget class="QLineEdit" name="diveSiteDistance"/> + </item> + <item> + <widget class="QLabel" name="diveSiteDistanceUnits"> + <property name="text"> + <string></string> + </property> + </widget> + </item> + </layout> + </item> + <item> <widget class="QListView" name="diveSiteListView"> <property name="sizePolicy"> <sizepolicy hsizetype="Expanding" vsizetype="Preferred"> |