summaryrefslogtreecommitdiffstats
path: root/qt-ui/plannerSettings.ui
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2015-06-19 20:25:03 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-06-19 09:15:09 -0700
commit4dfdea1e1dd631fbd335c5dfa5ef8e7a2cbea780 (patch)
treee628e266d14e4d538bd4a100d4de14c863969a5f /qt-ui/plannerSettings.ui
parentab90375c19f7e0495d964d37c7cabf23dff898e9 (diff)
downloadsubsurface-4dfdea1e1dd631fbd335c5dfa5ef8e7a2cbea780.tar.gz
Add planner minimum gas switch duration option
Add the option for a minimum gas switch duration to the planner UI. This is not actually used yet. Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/plannerSettings.ui')
-rw-r--r--qt-ui/plannerSettings.ui30
1 files changed, 28 insertions, 2 deletions
diff --git a/qt-ui/plannerSettings.ui b/qt-ui/plannerSettings.ui
index 9283bcda7..9ca603b28 100644
--- a/qt-ui/plannerSettings.ui
+++ b/qt-ui/plannerSettings.ui
@@ -308,7 +308,7 @@
</property>
</widget>
</item>
- <item row="10" column="1">
+ <item row="11" column="1">
<widget class="QComboBox" name="rebreathermode">
<property name="currentText">
<string/>
@@ -338,7 +338,7 @@
</property>
</widget>
</item>
- <item row="11" column="1">
+ <item row="12" column="1">
<spacer name="verticalSpacer_2">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -401,6 +401,32 @@
</property>
</widget>
</item>
+ <item row="10" column="1">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>Min. switch duration</string>
+ </property>
+ </widget>
+ </item>
+ <item row="10" column="2">
+ <widget class="QSpinBox" name="min_switch_duration">
+ <property name="suffix">
+ <string>min</string>
+ </property>
+ <property name="prefix">
+ <string/>
+ </property>
+ <property name="minimum">
+ <number>0</number>
+ </property>
+ <property name="maximum">
+ <number>9</number>
+ </property>
+ <property name="value">
+ <number>1</number>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>