Add a more settings to the OSTC3 settings

This adds the settings not previously available in the OSTC3 settings.

Signed-off-by: Anton Lundin <glance@acc.umu.se>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Anton Lundin 2014-10-18 00:33:40 +02:00 committed by Dirk Hohndel
parent a3a9fd405c
commit 0c7cc03892

View file

@ -565,6 +565,13 @@
</property>
</widget>
</item>
<item row="7" column="0" colspan="3">
<widget class="QCheckBox" name="safetyStopCheckBox">
<property name="text">
<string>Show safety stop</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="advancedSettings">
@ -572,33 +579,74 @@
<string>Advanced Settings</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_1">
<item row="3" column="0">
<widget class="QLabel" name="label_7">
<item row="3" column="0" colspan="2">
<widget class="QCheckBox" name="aGFSelectableCheckBox">
<property name="text">
<string>Saturation</string>
</property>
<property name="buddy">
<cstring>saturationSpinBox</cstring>
<string>Alt GF can be selected underwater</string>
</property>
</widget>
</item>
<item row="3" column="1">
<widget class="QSpinBox" name="saturationSpinBox">
<item row="1" column="0">
<widget class="QLabel" name="label_31">
<property name="text">
<string>Future TTS</string>
</property>
</widget>
</item>
<item row="0" column="3">
<widget class="QLabel" name="label_34">
<property name="text">
<string>Pressure sensor offset</string>
</property>
</widget>
</item>
<item row="1" column="3">
<widget class="QLabel" name="label_32">
<property name="text">
<string>GFLow</string>
</property>
</widget>
</item>
<item row="1" column="4">
<widget class="QSpinBox" name="gfLowSpinBox">
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>100</number>
<number>10</number>
</property>
<property name="maximum">
<number>140</number>
<number>100</number>
</property>
<property name="value">
<number>110</number>
<number>30</number>
</property>
</widget>
</item>
<item row="3" column="3">
<item row="2" column="3">
<widget class="QLabel" name="label_33">
<property name="text">
<string>GFHigh</string>
</property>
</widget>
</item>
<item row="2" column="4">
<widget class="QSpinBox" name="gfHighSpinBox">
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>60</number>
</property>
<property name="maximum">
<number>110</number>
</property>
<property name="value">
<number>85</number>
</property>
</widget>
</item>
<item row="9" column="3">
<widget class="QLabel" name="label_8">
<property name="text">
<string>Desaturation</string>
@ -608,7 +656,7 @@
</property>
</widget>
</item>
<item row="3" column="4">
<item row="9" column="4">
<widget class="QSpinBox" name="desaturationSpinBox">
<property name="suffix">
<string>%</string>
@ -624,25 +672,8 @@
</property>
</widget>
</item>
<item row="4" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Last deco</string>
</property>
<property name="buddy">
<cstring>lastDecoSpinBox</cstring>
</property>
</widget>
</item>
<item row="4" column="1">
<widget class="QSpinBox" name="lastDecoSpinBox">
<property name="suffix">
<string> m</string>
</property>
</widget>
</item>
<item row="5" column="0">
<spacer name="verticalSpacer_3">
<item row="13" column="0">
<spacer name="verticalSpacer_4">
<property name="orientation">
<enum>Qt::Vertical</enum>
</property>
@ -654,6 +685,161 @@
</property>
</spacer>
</item>
<item row="2" column="1">
<widget class="QSpinBox" name="lastDecoSpinBox">
<property name="suffix">
<string> m</string>
</property>
<property name="minimum">
<number>3</number>
</property>
<property name="maximum">
<number>6</number>
</property>
</widget>
</item>
<item row="0" column="0">
<widget class="QLabel" name="label_28">
<property name="text">
<string>Decotype</string>
</property>
</widget>
</item>
<item row="3" column="4">
<widget class="QSpinBox" name="aGFLowSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>60</number>
</property>
<property name="maximum">
<number>100</number>
</property>
<property name="value">
<number>60</number>
</property>
</widget>
</item>
<item row="0" column="4">
<widget class="QSpinBox" name="pressureSensorOffsetSpinBox">
<property name="suffix">
<string> mbar</string>
</property>
<property name="minimum">
<number>-20</number>
</property>
<property name="maximum">
<number>20</number>
</property>
</widget>
</item>
<item row="1" column="1">
<widget class="QSpinBox" name="futureTTSSpinBox">
<property name="suffix">
<string> min</string>
</property>
<property name="maximum">
<number>9</number>
</property>
</widget>
</item>
<item row="0" column="1">
<widget class="QComboBox" name="decoTypeComboBox">
<property name="currentIndex">
<number>1</number>
</property>
<item>
<property name="text">
<string>ZH-L16</string>
</property>
</item>
<item>
<property name="text">
<string>ZH-L16+GF</string>
</property>
</item>
</widget>
</item>
<item row="2" column="0">
<widget class="QLabel" name="label_9">
<property name="text">
<string>Last deco</string>
</property>
<property name="buddy">
<cstring>lastDecoSpinBox</cstring>
</property>
</widget>
</item>
<item row="8" column="4">
<widget class="QSpinBox" name="saturationSpinBox">
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>100</number>
</property>
<property name="maximum">
<number>140</number>
</property>
<property name="value">
<number>110</number>
</property>
</widget>
</item>
<item row="6" column="4">
<widget class="QSpinBox" name="aGFHighSpinBox">
<property name="enabled">
<bool>false</bool>
</property>
<property name="suffix">
<string>%</string>
</property>
<property name="minimum">
<number>70</number>
</property>
<property name="maximum">
<number>120</number>
</property>
<property name="value">
<number>85</number>
</property>
</widget>
</item>
<item row="8" column="3">
<widget class="QLabel" name="label_7">
<property name="text">
<string>Saturation</string>
</property>
<property name="buddy">
<cstring>saturationSpinBox</cstring>
</property>
</widget>
</item>
<item row="3" column="3">
<widget class="QLabel" name="label_36">
<property name="text">
<string>Alt GFLow</string>
</property>
</widget>
</item>
<item row="6" column="3">
<widget class="QLabel" name="label_37">
<property name="text">
<string>Alt GFHigh</string>
</property>
</widget>
</item>
<item row="8" column="0">
<widget class="QCheckBox" name="flipScreenCheckBox">
<property name="text">
<string>Flip screen</string>
</property>
</widget>
</item>
</layout>
</widget>
<widget class="QWidget" name="gasSettings">
@ -1493,5 +1679,37 @@
</hint>
</hints>
</connection>
<connection>
<sender>aGFSelectableCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>aGFHighSpinBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>340</x>
<y>229</y>
</hint>
<hint type="destinationlabel">
<x>686</x>
<y>265</y>
</hint>
</hints>
</connection>
<connection>
<sender>aGFSelectableCheckBox</sender>
<signal>toggled(bool)</signal>
<receiver>aGFLowSpinBox</receiver>
<slot>setEnabled(bool)</slot>
<hints>
<hint type="sourcelabel">
<x>340</x>
<y>229</y>
</hint>
<hint type="destinationlabel">
<x>686</x>
<y>229</y>
</hint>
</hints>
</connection>
</connections>
</ui>