summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2013-11-14 19:55:33 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-15 08:58:35 +0900
commitbc6a1a4c53ceaf5797c8879ec3e157fe745a7b8d (patch)
treec553e226ad1c8e18e45f5f7bf7a4bbd781b95938 /qt-ui/diveplanner.ui
parent2d8cd443702c5155bda12b711b9ab5d0f99104da (diff)
downloadsubsurface-bc6a1a4c53ceaf5797c8879ec3e157fe745a7b8d.tar.gz
Planner: use a QSpinBox for GFLow/GFHigh
Switch to using a QSpinBox instead of a QLineEdit. This makes it a bit more intuitive and now you can see how the deco plan changes based on the GF's. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.ui')
-rw-r--r--qt-ui/diveplanner.ui25
1 files changed, 21 insertions, 4 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index 9a3f7cfd3..d545bbb2c 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -78,7 +78,7 @@
<item row="4" column="1">
<widget class="QLabel" name="label_6">
<property name="text">
- <string>High GF</string>
+ <string>GFHigh</string>
</property>
</widget>
</item>
@@ -98,15 +98,32 @@
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
- <string>Low GF</string>
+ <string>GFLow</string>
</property>
</widget>
</item>
<item row="5" column="0">
- <widget class="QLineEdit" name="lowGF"/>
+ <widget class="QSpinBox" name="gflow">
+ <property name="suffix">
+ <string>%</string>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>100</number>
+ </property>
+ </widget>
</item>
<item row="5" column="1">
- <widget class="QLineEdit" name="highGF"/>
+ <widget class="QSpinBox" name="gfhigh">
+ <property name="suffix">
+ <string>%</string>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ </widget>
</item>
<item row="6" column="0">
<widget class="QCheckBox" name="lastStop">