summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/plannerSettings.ui
diff options
context:
space:
mode:
authorGravatar Rick Walsh <rickmwalsh@gmail.com>2016-05-21 19:32:09 +1000
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-05-21 07:03:38 -0700
commit9b29173363861861949814191861fa46e255c349 (patch)
tree9fdb002a18d775a75b7d9264a81f11d7d8a43118 /desktop-widgets/plannerSettings.ui
parent67dda48c884b7413e46acde4e890c0fa19640f67 (diff)
downloadsubsurface-9b29173363861861949814191861fa46e255c349.tar.gz
Planner: add best mix EAD preference
Add best mix EAD preference and UI, along with a tooltip describing what it does Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets/plannerSettings.ui')
-rw-r--r--desktop-widgets/plannerSettings.ui31
1 files changed, 29 insertions, 2 deletions
diff --git a/desktop-widgets/plannerSettings.ui b/desktop-widgets/plannerSettings.ui
index 4db69f883..2ec8d4ab3 100644
--- a/desktop-widgets/plannerSettings.ui
+++ b/desktop-widgets/plannerSettings.ui
@@ -530,7 +530,7 @@
<property name="spacing">
<number>2</number>
</property>
- <item row="4" column="0">
+ <item row="5" column="0">
<spacer name="verticalSpacer_3">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -588,6 +588,25 @@
</property>
</widget>
</item>
+ <item row="4" column="1">
+ <widget class="QSpinBox" name="bestmixEAD">
+ <property name="suffix">
+ <string>m</string>
+ </property>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>999</number>
+ </property>
+ <property name="value">
+ <number>30</number>
+ </property>
+ <property name="toolTip">
+ <string>Used to calculate best mix. Select best mix depth in 'Available gases' table by entering gas depth, followed by "B" (best trimix mix) or "BN" (best nitrox mix)</string>
+ </property>
+ </widget>
+ </item>
<item row="0" column="0">
<widget class="QLabel" name="bottomsac">
<property name="text">
@@ -602,7 +621,14 @@
</property>
</widget>
</item>
- <item row="5" column="0" colspan="2">
+ <item row="4" column="0">
+ <widget class="QLabel" name="bestEAD">
+ <property name="text">
+ <string>Best mix EAD</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="0" colspan="2">
<widget class="QGroupBox" name="Notes">
<property name="title">
<string>Notes</string>
@@ -739,6 +765,7 @@
<tabstop>decoStopSAC</tabstop>
<tabstop>bottompo2</tabstop>
<tabstop>decopo2</tabstop>
+ <tabstop>bestmixEAD</tabstop>
<tabstop>display_runtime</tabstop>
<tabstop>display_duration</tabstop>
<tabstop>display_transitions</tabstop>