aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joakim Bygdell <j.bygdell@gmail.com>2015-07-07 20:22:38 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-07 11:49:10 -0700
commit19648e28cc9463ecad831ef28a736466bd87428f (patch)
treec85ebe3d2409b143ca737a79108d880ee4d8dacc
parent097d65521ab379cd2b17900de26d61f1626e1166 (diff)
downloadsubsurface-19648e28cc9463ecad831ef28a736466bd87428f.tar.gz
Planner: GUI changes for improved clarity
Restructure planner GUI for improved clarity of how settings are related. Signed-off-by: Joakim Bygdell <j.bygdell@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--qt-ui/plannerSettings.ui253
1 files changed, 152 insertions, 101 deletions
diff --git a/qt-ui/plannerSettings.ui b/qt-ui/plannerSettings.ui
index 5916b2777..6dbe964d9 100644
--- a/qt-ui/plannerSettings.ui
+++ b/qt-ui/plannerSettings.ui
@@ -104,15 +104,15 @@
<property name="horizontalSpacing">
<number>2</number>
</property>
- <item row="0" column="0">
- <widget class="QLabel" name="label">
+ <item row="3" column="0">
+ <widget class="QLabel" name="asc6toSurf">
<property name="text">
- <string>below 75% avg. depth</string>
+ <string>6m to surface</string>
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QSpinBox" name="ascRate75">
+ <item row="3" column="1">
+ <widget class="QSpinBox" name="ascRateLast6m">
<property name="suffix">
<string>m/min</string>
</property>
@@ -121,15 +121,8 @@
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_2">
- <property name="text">
- <string>75% to 50% avg. depth</string>
- </property>
- </widget>
- </item>
- <item row="1" column="1">
- <widget class="QSpinBox" name="ascRate50">
+ <item row="2" column="1">
+ <widget class="QSpinBox" name="ascRateStops">
<property name="suffix">
<string>m/min</string>
</property>
@@ -145,8 +138,8 @@
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QSpinBox" name="ascRateStops">
+ <item row="1" column="1">
+ <widget class="QSpinBox" name="ascRate50">
<property name="suffix">
<string>m/min</string>
</property>
@@ -155,15 +148,8 @@
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLabel" name="asc6toSurf">
- <property name="text">
- <string>6m to surface</string>
- </property>
- </widget>
- </item>
- <item row="3" column="1">
- <widget class="QSpinBox" name="ascRateLast6m">
+ <item row="0" column="1">
+ <widget class="QSpinBox" name="ascRate75">
<property name="suffix">
<string>m/min</string>
</property>
@@ -172,6 +158,20 @@
</property>
</widget>
</item>
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
+ <property name="text">
+ <string>below 75% avg. depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>75% to 50% avg. depth</string>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
</item>
@@ -274,22 +274,38 @@
<property name="spacing">
<number>2</number>
</property>
- <item row="6" column="1">
- <widget class="QLabel" name="label_16">
+ <item row="17" column="1">
+ <widget class="QLabel" name="label_4">
<property name="text">
- <string>GF high</string>
+ <string>Min. switch duration</string>
</property>
</widget>
</item>
- <item row="9" column="1" colspan="2">
- <widget class="QCheckBox" name="backgasBreaks">
- <property name="text">
- <string>Plan backgas breaks</string>
+ <item row="19" column="1">
+ <spacer name="verticalSpacer_2">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>40</height>
+ </size>
+ </property>
+ </spacer>
+ </item>
+ <item row="18" column="1">
+ <widget class="QComboBox" name="rebreathermode">
+ <property name="currentText">
+ <string/>
+ </property>
+ <property name="maxVisibleItems">
+ <number>6</number>
</property>
</widget>
</item>
- <item row="6" column="2">
- <widget class="QSpinBox" name="gfhigh">
+ <item row="8" column="2">
+ <widget class="QSpinBox" name="gflow">
<property name="suffix">
<string>%</string>
</property>
@@ -301,25 +317,56 @@
</property>
</widget>
</item>
- <item row="8" column="1" colspan="2">
+ <item row="13" column="1" colspan="2">
+ <widget class="QCheckBox" name="drop_stone_mode">
+ <property name="text">
+ <string>Drop to first depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="14" column="1" colspan="2">
<widget class="QCheckBox" name="lastStop">
<property name="text">
<string>Last stop at 6m</string>
</property>
</widget>
</item>
- <item row="12" column="1">
- <widget class="QComboBox" name="rebreathermode">
- <property name="currentText">
- <string/>
+ <item row="0" column="1">
+ <widget class="QRadioButton" name="recreational_deco">
+ <property name="text">
+ <string>Recreational mode</string>
</property>
- <property name="maxVisibleItems">
- <number>6</number>
+ </widget>
+ </item>
+ <item row="8" column="1">
+ <widget class="QLabel" name="label_15">
+ <property name="text">
+ <string>GF low</string>
+ </property>
+ <property name="indent">
+ <number>26</number>
</property>
</widget>
</item>
- <item row="5" column="2">
- <widget class="QSpinBox" name="gflow">
+ <item row="15" column="1" colspan="2">
+ <widget class="QCheckBox" name="backgasBreaks">
+ <property name="text">
+ <string>Plan backgas breaks</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="1">
+ <widget class="QLabel" name="label_16">
+ <property name="text">
+ <string>GF high</string>
+ </property>
+ <property name="indent">
+ <number>25</number>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="2">
+ <widget class="QSpinBox" name="gfhigh">
<property name="suffix">
<string>%</string>
</property>
@@ -331,75 +378,89 @@
</property>
</widget>
</item>
- <item row="7" column="1" colspan="2">
- <widget class="QCheckBox" name="drop_stone_mode">
+ <item row="16" column="1" colspan="2">
+ <widget class="QCheckBox" name="switch_at_req_stop">
+ <property name="toolTip">
+ <string>Postpone gas change if a stop is not required</string>
+ </property>
<property name="text">
- <string>Drop to first depth</string>
+ <string>Only switch at required stops</string>
</property>
</widget>
</item>
- <item row="13" column="1">
- <spacer name="verticalSpacer_2">
+ <item row="3" column="1">
+ <spacer name="verticalSpacer_6">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
<property name="sizeHint" stdset="0">
<size>
<width>20</width>
- <height>40</height>
+ <height>20</height>
</size>
</property>
</spacer>
</item>
- <item row="5" column="1">
- <widget class="QLabel" name="label_15">
- <property name="text">
- <string>GF low</string>
+ <item row="12" column="1">
+ <spacer name="verticalSpacer_5">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
- </widget>
- </item>
- <item row="0" column="1">
- <widget class="QRadioButton" name="recreational_deco">
- <property name="text">
- <string>Recreational mode</string>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
- </widget>
+ </spacer>
</item>
- <item row="1" column="1">
- <widget class="QRadioButton" name="buehlmann_deco">
- <property name="text">
- <string>Buehlmann deco</string>
+ <item row="17" column="2">
+ <widget class="QSpinBox" name="min_switch_duration">
+ <property name="suffix">
+ <string>min</string>
</property>
- <property name="checked">
- <bool>true</bool>
+ <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>
- <item row="2" column="1">
+ <item row="11" column="1">
<widget class="QRadioButton" name="vpmb_deco">
<property name="text">
<string>VPM-B deco</string>
</property>
</widget>
</item>
- <item row="3" column="1">
- <widget class="QCheckBox" name="safetystop">
+ <item row="4" column="1">
+ <widget class="QRadioButton" name="buehlmann_deco">
<property name="text">
- <string>Safety stop</string>
+ <string>Buehlmann deco</string>
</property>
- <property name="tristate">
- <bool>false</bool>
+ <property name="checked">
+ <bool>true</bool>
</property>
</widget>
</item>
- <item row="4" column="1">
+ <item row="1" column="1">
<widget class="QLabel" name="label_3">
<property name="text">
<string>Reserve gas</string>
</property>
+ <property name="indent">
+ <number>26</number>
+ </property>
</widget>
</item>
- <item row="4" column="2">
+ <item row="1" column="2">
<widget class="QSpinBox" name="reserve_gas">
<property name="suffix">
<string>bar</string>
@@ -418,41 +479,31 @@
</property>
</widget>
</item>
- <item row="10" column="1" colspan="2">
- <widget class="QCheckBox" name="switch_at_req_stop">
- <property name="toolTip">
- <string>Postpone gas change if a stop is not required</string>
+ <item row="2" column="1" alignment="Qt::AlignHCenter">
+ <widget class="QCheckBox" name="safetystop">
+ <property name="layoutDirection">
+ <enum>Qt::LeftToRight</enum>
</property>
<property name="text">
- <string>Only switch at required stops</string>
+ <string>Safety stop</string>
</property>
- </widget>
- </item>
- <item row="11" column="1">
- <widget class="QLabel" name="label_4">
- <property name="text">
- <string>Min. switch duration</string>
+ <property name="tristate">
+ <bool>false</bool>
</property>
</widget>
</item>
- <item row="11" 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>
+ <item row="10" column="1">
+ <spacer name="verticalSpacer_7">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
</property>
- <property name="value">
- <number>1</number>
+ <property name="sizeHint" stdset="0">
+ <size>
+ <width>20</width>
+ <height>20</height>
+ </size>
</property>
- </widget>
+ </spacer>
</item>
</layout>
</widget>