summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.ui
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2014-06-20 13:43:09 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-20 06:37:44 -0700
commitbb44908507ce86072312c75b1223539deb67c5af (patch)
treee858764f05557dd117cc79ec8681698f66ffc5ba /qt-ui/diveplanner.ui
parent3f74389b883a8c06f2021a26070fdc76c6666880 (diff)
downloadsubsurface-bb44908507ce86072312c75b1223539deb67c5af.tar.gz
planner: Switch to QSpinBox for SAC
QSpinBox is nice to see how different sac rate would affect our dive plan. "Hey, What would happen if I would be stressed and my sac goes up by 50%?" 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.ui13
1 files changed, 10 insertions, 3 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index d6c534c06..1aa4376dc 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -98,7 +98,7 @@
</widget>
</item>
<item row="3" column="1">
- <widget class="QLineEdit" name="decoStopSAC"/>
+ <widget class="QSpinBox" name="decoStopSAC"/>
</item>
<item row="5" column="0">
<widget class="QSpinBox" name="gflow">
@@ -135,7 +135,7 @@
</widget>
</item>
<item row="3" column="0">
- <widget class="QLineEdit" name="bottomSAC"/>
+ <widget class="QSpinBox" name="bottomSAC"/>
</item>
<item row="5" column="1">
<widget class="QSpinBox" name="gfhigh">
@@ -176,7 +176,14 @@
</widget>
</item>
<item row="1" column="1">
- <widget class="QLineEdit" name="ATMPressure"/>
+ <widget class="QLineEdit" name="ATMPressure">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ </widget>
</item>
<item row="6" column="1">
<widget class="QPushButton" name="printPlan">