summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences
diff options
context:
space:
mode:
authorGravatar Jan Mulder <jlmulder@xs4all.nl>2017-03-29 09:41:51 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-03-29 13:21:50 +0200
commit3b9c32a05036e24bce1c896a9de492619771f1ab (patch)
treedb4d9903528fc780626632eaa383ce59effc4b6c /desktop-widgets/preferences
parent6bcc36f27b29bf4572f7c12f9aeb1c71781e4882 (diff)
downloadsubsurface-3b9c32a05036e24bce1c896a9de492619771f1ab.tar.gz
UI: preferences-profile screen beautify
Stefan suggested "Maybe it would be nicer to move the 3 fields for the maximum pressure for N2, He, O2 for MOD to the right in the UI window exactly below the maximum field for the O2 (where we now have minimum + maximum)." And I agree, so this is the change. At the same time, reset the tab-order to a logical one. Reported-by: Stefan Fuchs <sfuchs@gmx.de> Signed-off-by: Jan Mulder <jlmulder@xs4all.nl>
Diffstat (limited to 'desktop-widgets/preferences')
-rw-r--r--desktop-widgets/preferences/preferences_graph.ui104
1 files changed, 53 insertions, 51 deletions
diff --git a/desktop-widgets/preferences/preferences_graph.ui b/desktop-widgets/preferences/preferences_graph.ui
index 4b4cccb0d..c3920609f 100644
--- a/desktop-widgets/preferences/preferences_graph.ui
+++ b/desktop-widgets/preferences/preferences_graph.ui
@@ -30,38 +30,18 @@
</property>
</widget>
</item>
- <item row="1" column="1">
- <widget class="QDoubleSpinBox" name="pn2Threshold">
- <property name="enabled">
- <bool>true</bool>
- </property>
- <property name="suffix">
- <string>bar</string>
- </property>
- <property name="singleStep">
- <double>0.100000000000000</double>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
- <widget class="QLabel" name="label_13">
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_17">
<property name="enabled">
<bool>true</bool>
</property>
<property name="text">
- <string>Threshold for pN₂ (maximum only)</string>
- </property>
- </widget>
- </item>
- <item row="4" column="0">
- <widget class="QLabel" name="label_26">
- <property name="text">
- <string>CCR options:</string>
+ <string>Threshold for pHe (maximum only)</string>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QDoubleSpinBox" name="pheThreshold">
+ <item row="0" column="2">
+ <widget class="QDoubleSpinBox" name="po2ThresholdMax">
<property name="enabled">
<bool>true</bool>
</property>
@@ -73,36 +53,33 @@
</property>
</widget>
</item>
- <item row="3" column="1">
- <widget class="QDoubleSpinBox" name="maxpo2">
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_18">
<property name="enabled">
<bool>true</bool>
</property>
- <property name="suffix">
- <string>bar</string>
- </property>
- <property name="singleStep">
- <double>0.100000000000000</double>
+ <property name="text">
+ <string>pO₂ in calculating MOD (maximum only )</string>
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_17">
+ <item row="0" column="1">
+ <widget class="QDoubleSpinBox" name="po2ThresholdMin">
<property name="enabled">
<bool>true</bool>
</property>
- <property name="text">
- <string>Threshold for pHe (maximum only)</string>
+ <property name="suffix">
+ <string>bar</string>
+ </property>
+ <property name="singleStep">
+ <double>0.010000000000000</double>
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_18">
- <property name="enabled">
- <bool>true</bool>
- </property>
+ <item row="6" column="1" colspan="2">
+ <widget class="QCheckBox" name="show_ccr_sensors">
<property name="text">
- <string>pO₂ in calculating MOD (maximum only )</string>
+ <string>Show individual O₂ sensor values when viewing pO₂</string>
</property>
</widget>
</item>
@@ -136,15 +113,25 @@
</property>
</widget>
</item>
- <item row="6" column="1" colspan="2">
- <widget class="QCheckBox" name="show_ccr_sensors">
+ <item row="1" column="0">
+ <widget class="QLabel" name="label_13">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
<property name="text">
- <string>Show individual O₂ sensor values when viewing pO₂</string>
+ <string>Threshold for pN₂ (maximum only)</string>
</property>
</widget>
</item>
- <item row="0" column="2">
- <widget class="QDoubleSpinBox" name="po2ThresholdMax">
+ <item row="4" column="0">
+ <widget class="QLabel" name="label_26">
+ <property name="text">
+ <string>CCR options:</string>
+ </property>
+ </widget>
+ </item>
+ <item row="1" column="2">
+ <widget class="QDoubleSpinBox" name="pn2Threshold">
<property name="enabled">
<bool>true</bool>
</property>
@@ -156,8 +143,8 @@
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QDoubleSpinBox" name="po2ThresholdMin">
+ <item row="2" column="2">
+ <widget class="QDoubleSpinBox" name="pheThreshold">
<property name="enabled">
<bool>true</bool>
</property>
@@ -165,7 +152,20 @@
<string>bar</string>
</property>
<property name="singleStep">
- <double>0.010000000000000</double>
+ <double>0.100000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="3" column="2">
+ <widget class="QDoubleSpinBox" name="maxpo2">
+ <property name="enabled">
+ <bool>true</bool>
+ </property>
+ <property name="suffix">
+ <string>bar</string>
+ </property>
+ <property name="singleStep">
+ <double>0.100000000000000</double>
</property>
</widget>
</item>
@@ -380,6 +380,8 @@
</layout>
</widget>
<tabstops>
+ <tabstop>po2ThresholdMin</tabstop>
+ <tabstop>po2ThresholdMax</tabstop>
<tabstop>pn2Threshold</tabstop>
<tabstop>pheThreshold</tabstop>
<tabstop>maxpo2</tabstop>
@@ -393,8 +395,8 @@
<tabstop>gflow</tabstop>
<tabstop>gfhigh</tabstop>
<tabstop>gf_low_at_maxdepth</tabstop>
- <tabstop>pscrfactor</tabstop>
<tabstop>psro2rate</tabstop>
+ <tabstop>pscrfactor</tabstop>
<tabstop>display_unused_tanks</tabstop>
<tabstop>show_average_depth</tabstop>
</tabstops>