aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/plannerSettings.ui
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-19 11:13:55 -0500
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-08-19 11:36:54 -0500
commit6ed189f32c466f99167ab6657264a45da4b56e8e (patch)
tree659c97401ad49daf996fb04b397897bb2669a3f3 /qt-ui/plannerSettings.ui
parent150676ce3df0f60bd99204886c3a4e458253c093 (diff)
downloadsubsurface-6ed189f32c466f99167ab6657264a45da4b56e8e.tar.gz
Planner: bring sanity to the SAC rate handling
The old implementation was... let's call it creative. This tries to actually get things right instead of using magic. Don't pretend that double values are ints. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/plannerSettings.ui')
-rw-r--r--qt-ui/plannerSettings.ui44
1 files changed, 28 insertions, 16 deletions
diff --git a/qt-ui/plannerSettings.ui b/qt-ui/plannerSettings.ui
index a28453c01..3e323ebc3 100644
--- a/qt-ui/plannerSettings.ui
+++ b/qt-ui/plannerSettings.ui
@@ -30,8 +30,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>1078</width>
- <height>418</height>
+ <width>1084</width>
+ <height>424</height>
</rect>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
@@ -367,13 +367,6 @@
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QSpinBox" name="bottomSAC">
- <property name="suffix">
- <string>ℓ/min</string>
- </property>
- </widget>
- </item>
<item row="1" column="0">
<widget class="QLabel" name="label_14">
<property name="text">
@@ -381,13 +374,6 @@
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="decoStopSAC">
- <property name="suffix">
- <string>ℓ/min</string>
- </property>
- </widget>
- </item>
<item row="2" column="0">
<widget class="QLabel" name="label_6">
<property name="text">
@@ -447,6 +433,32 @@
</property>
</spacer>
</item>
+ <item row="0" column="1">
+ <widget class="QDoubleSpinBox" name="bottomSAC">
+ <property name="suffix">
+ <string>ℓ/min</string>
+ </property>
+ <property name="decimals">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <double>99.000000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="1">
+ <widget class="QDoubleSpinBox" name="decoStopSAC">
+ <property name="suffix">
+ <string>ℓ/min</string>
+ </property>
+ <property name="decimals">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <double>99.000000000000000</double>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>