aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_units.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-06 13:11:04 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-05-06 13:11:04 -0700
commit38b9185974e4f5199ee8f65bac97dab76b058e41 (patch)
tree90457650e7f8d7ea6bb1cf9973d1ed72278e9f21 /desktop-widgets/preferences/preferences_units.ui
parentad5819c42e68e8e2ba7c39a7b7fd7e3d048bf87c (diff)
downloadsubsurface-38b9185974e4f5199ee8f65bac97dab76b058e41.tar.gz
Add UI for duration preference
This isn't hooked up, yet. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/preferences/preferences_units.ui')
-rw-r--r--desktop-widgets/preferences/preferences_units.ui37
1 files changed, 37 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_units.ui b/desktop-widgets/preferences/preferences_units.ui
index 4093181d4..49ef80a22 100644
--- a/desktop-widgets/preferences/preferences_units.ui
+++ b/desktop-widgets/preferences/preferences_units.ui
@@ -232,6 +232,43 @@
</widget>
</item>
<item>
+ <widget class="QGroupBox">
+ <property name="title">
+ <string>Duration units</string>
+ </property>
+ <layout class="QGridLayout">
+ <item row="0" column="0">
+ <widget class="QLabel" >
+ <property name="text">
+ <string>Show hours in duration</string>
+ </property>
+ </widget>
+ </item>
+ <item row="0" column="1">
+ <widget class="QRadioButton" name="duration_show_hours">
+ <property name="text">
+ <string>hh:mm (always)</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QRadioButton" name="duration_no_hours">
+ <property name="text">
+ <string>mm (always)</string>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="1">
+ <widget class="QRadioButton" name="duration_mixed">
+ <property name="text">
+ <string>mm (for dives shorter than 1 hour), hh:mm (otherwise)</string>
+ </property>
+ </widget>
+ </item>
+ </layout>
+ </widget>
+ </item>
+ <item>
<widget class="QGroupBox" name="groupBox_11">
<property name="title">
<string>GPS coordinates</string>