summaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2016-01-22 14:17:50 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-01-22 06:50:22 -0800
commit451293f1a08b34c056d0db16b9050c1b7e4df295 (patch)
treea4bb2c1230d8e407162e6c35c6abe6f402bbf703 /desktop-widgets
parent91a72f45d4e4f46061b1df514617472e1ff57ecb (diff)
downloadsubsurface-451293f1a08b34c056d0db16b9050c1b7e4df295.tar.gz
configure OSTC/OSTC3: Add safety stop parameters
This adds the configure parameters for safety stops on the hwOS(OSTC3) and OSTC computers. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/configuredivecomputerdialog.cpp16
-rw-r--r--desktop-widgets/configuredivecomputerdialog.ui678
2 files changed, 535 insertions, 159 deletions
diff --git a/desktop-widgets/configuredivecomputerdialog.cpp b/desktop-widgets/configuredivecomputerdialog.cpp
index 3fbb4327c..8df184788 100644
--- a/desktop-widgets/configuredivecomputerdialog.cpp
+++ b/desktop-widgets/configuredivecomputerdialog.cpp
@@ -471,6 +471,10 @@ void ConfigureDiveComputerDialog::populateDeviceDetailsOSTC3()
deviceDetails->graphicalSpeedIndicator = ui.graphicalSpeedIndicator->isChecked();
deviceDetails->alwaysShowppO2 = ui.alwaysShowppO2->isChecked();
deviceDetails->tempSensorOffset = ui.tempSensorOffsetDoubleSpinBox->value() * 10;
+ deviceDetails->safetyStopLength = ui.safetyStopLengthSpinBox->value();
+ deviceDetails->safetyStopStartDepth = ui.safetyStopStartDepthDoubleSpinBox->value();
+ deviceDetails->safetyStopEndDepth = ui.safetyStopEndDepthDoubleSpinBox->value();
+ deviceDetails->safetyStopResetDepth = ui.safetyStopResetDepthDoubleSpinBox->value();
//set gas values
gas gas1;
@@ -600,6 +604,10 @@ void ConfigureDiveComputerDialog::populateDeviceDetailsOSTC()
deviceDetails->bottomGasConsumption = ui.bottomGasConsumption_3->value();
deviceDetails->decoGasConsumption = ui.decoGasConsumption_3->value();
deviceDetails->graphicalSpeedIndicator = ui.graphicalSpeedIndicator_3->isChecked();
+ deviceDetails->safetyStopLength = ui.safetyStopLengthSpinBox_3->value();
+ deviceDetails->safetyStopStartDepth = ui.safetyStopStartDepthDoubleSpinBox_3->value();
+ deviceDetails->safetyStopEndDepth = ui.safetyStopEndDepthDoubleSpinBox_3->value();
+ deviceDetails->safetyStopResetDepth = ui.safetyStopResetDepthDoubleSpinBox_3->value();
//set gas values
gas gas1;
@@ -847,6 +855,10 @@ void ConfigureDiveComputerDialog::reloadValuesOSTC3()
ui.graphicalSpeedIndicator->setChecked(deviceDetails->graphicalSpeedIndicator);
ui.alwaysShowppO2->setChecked(deviceDetails->alwaysShowppO2);
ui.tempSensorOffsetDoubleSpinBox->setValue((double)deviceDetails->tempSensorOffset / 10.0);
+ ui.safetyStopLengthSpinBox->setValue(deviceDetails->safetyStopLength);
+ ui.safetyStopStartDepthDoubleSpinBox->setValue(deviceDetails->safetyStopStartDepth);
+ ui.safetyStopEndDepthDoubleSpinBox->setValue(deviceDetails->safetyStopEndDepth);
+ ui.safetyStopResetDepthDoubleSpinBox->setValue(deviceDetails->safetyStopResetDepth);
//load gas 1 values
ui.ostc3GasTable->setItem(0, 1, new QTableWidgetItem(QString::number(deviceDetails->gas1.oxygen)));
@@ -970,6 +982,10 @@ setNumberOfDives
ui.bottomGasConsumption_3->setValue(deviceDetails->bottomGasConsumption);
ui.decoGasConsumption_3->setValue(deviceDetails->decoGasConsumption);
ui.graphicalSpeedIndicator_3->setChecked(deviceDetails->graphicalSpeedIndicator);
+ ui.safetyStopLengthSpinBox_3->setValue(deviceDetails->safetyStopLength);
+ ui.safetyStopStartDepthDoubleSpinBox_3->setValue(deviceDetails->safetyStopStartDepth);
+ ui.safetyStopEndDepthDoubleSpinBox_3->setValue(deviceDetails->safetyStopEndDepth);
+ ui.safetyStopResetDepthDoubleSpinBox_3->setValue(deviceDetails->safetyStopResetDepth);
//load gas 1 values
ui.ostcGasTable->setItem(0, 1, new QTableWidgetItem(QString::number(deviceDetails->gas1.oxygen)));
diff --git a/desktop-widgets/configuredivecomputerdialog.ui b/desktop-widgets/configuredivecomputerdialog.ui
index ac177a277..a37b5ec39 100644
--- a/desktop-widgets/configuredivecomputerdialog.ui
+++ b/desktop-widgets/configuredivecomputerdialog.ui
@@ -253,6 +253,35 @@
<string>Basic settings</string>
</attribute>
<layout class="QGridLayout" name="gridLayout">
+ <item row="5" column="4">
+ <widget class="QComboBox" name="brightnessComboBox">
+ <item>
+ <property name="text">
+ <string>Eco</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>Medium</string>
+ </property>
+ </item>
+ <item>
+ <property name="text">
+ <string>High</string>
+ </property>
+ </item>
+ </widget>
+ </item>
+ <item row="7" column="4">
+ <widget class="QSpinBox" name="salinitySpinBox">
+ <property name="suffix">
+ <string>%</string>
+ </property>
+ <property name="maximum">
+ <number>5</number>
+ </property>
+ </widget>
+ </item>
<item row="2" column="4">
<widget class="QComboBox" name="languageComboBox">
<item>
@@ -324,23 +353,6 @@
</property>
</widget>
</item>
- <item row="0" column="4">
- <widget class="QLineEdit" name="firmwareVersionLineEdit">
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="2" column="3">
- <widget class="QLabel" name="label_5">
- <property name="text">
- <string>Language</string>
- </property>
- <property name="buddy">
- <cstring>languageComboBox</cstring>
- </property>
- </widget>
- </item>
<item row="3" column="4">
<widget class="QComboBox" name="dateFormatComboBox">
<item>
@@ -360,23 +372,21 @@
</item>
</widget>
</item>
- <item row="5" column="4">
- <widget class="QComboBox" name="brightnessComboBox">
- <item>
- <property name="text">
- <string>Eco</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>Medium</string>
- </property>
- </item>
- <item>
- <property name="text">
- <string>High</string>
- </property>
- </item>
+ <item row="0" column="4">
+ <widget class="QLineEdit" name="firmwareVersionLineEdit">
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="3">
+ <widget class="QLabel" name="label_5">
+ <property name="text">
+ <string>Language</string>
+ </property>
+ <property name="buddy">
+ <cstring>languageComboBox</cstring>
+ </property>
</widget>
</item>
<item row="3" column="3">
@@ -419,13 +429,13 @@
</property>
</widget>
</item>
- <item row="7" column="4">
- <widget class="QSpinBox" name="salinitySpinBox">
- <property name="suffix">
- <string>%</string>
+ <item row="14" column="3" colspan="2">
+ <widget class="QPushButton" name="resetButton">
+ <property name="enabled">
+ <bool>false</bool>
</property>
- <property name="maximum">
- <number>5</number>
+ <property name="text">
+ <string>Reset device to default settings</string>
</property>
</widget>
</item>
@@ -479,7 +489,7 @@
</item>
</widget>
</item>
- <item row="9" column="2">
+ <item row="12" column="2">
<spacer name="verticalSpacer1">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -492,13 +502,16 @@
</property>
</spacer>
</item>
- <item row="11" column="3" colspan="2">
- <widget class="QPushButton" name="resetButton">
- <property name="enabled">
- <bool>false</bool>
+ <item row="1" column="1" colspan="2">
+ <widget class="QLineEdit" name="customTextLlineEdit">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
+ <horstretch>1</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
</property>
- <property name="text">
- <string>Reset device to default settings</string>
+ <property name="maxLength">
+ <number>60</number>
</property>
</widget>
</item>
@@ -512,6 +525,13 @@
</property>
</widget>
</item>
+ <item row="1" column="3">
+ <widget class="QLabel" name="label_62">
+ <property name="text">
+ <string>Computer model</string>
+ </property>
+ </widget>
+ </item>
<item row="1" column="0">
<widget class="QLabel" name="label_4">
<property name="text">
@@ -522,26 +542,6 @@
</property>
</widget>
</item>
- <item row="1" column="1" colspan="2">
- <widget class="QLineEdit" name="customTextLlineEdit">
- <property name="sizePolicy">
- <sizepolicy hsizetype="Expanding" vsizetype="Fixed">
- <horstretch>1</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="maxLength">
- <number>60</number>
- </property>
- </widget>
- </item>
- <item row="1" column="3">
- <widget class="QLabel" name="label_62">
- <property name="text">
- <string>Computer model</string>
- </property>
- </widget>
- </item>
<item row="1" column="4">
<widget class="QLineEdit" name="modelLineEdit">
<property name="readOnly">
@@ -549,16 +549,6 @@
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="label">
- <property name="text">
- <string>Dive mode</string>
- </property>
- <property name="buddy">
- <cstring>diveModeComboBox</cstring>
- </property>
- </widget>
- </item>
<item row="2" column="1">
<widget class="QComboBox" name="diveModeComboBox">
<item>
@@ -583,13 +573,13 @@
</item>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLabel" name="label_11">
+ <item row="2" column="0">
+ <widget class="QLabel" name="label">
<property name="text">
- <string>Sampling rate</string>
+ <string>Dive mode</string>
</property>
<property name="buddy">
- <cstring>samplingRateComboBox</cstring>
+ <cstring>diveModeComboBox</cstring>
</property>
</widget>
</item>
@@ -607,13 +597,13 @@
</item>
</widget>
</item>
- <item row="5" column="0">
- <widget class="QLabel" name="label_13">
+ <item row="3" column="0">
+ <widget class="QLabel" name="label_11">
<property name="text">
- <string>Dive mode color</string>
+ <string>Sampling rate</string>
</property>
<property name="buddy">
- <cstring>diveModeColour</cstring>
+ <cstring>samplingRateComboBox</cstring>
</property>
</widget>
</item>
@@ -648,6 +638,16 @@
</property>
</widget>
</item>
+ <item row="5" column="0">
+ <widget class="QLabel" name="label_13">
+ <property name="text">
+ <string>Dive mode color</string>
+ </property>
+ <property name="buddy">
+ <cstring>diveModeColour</cstring>
+ </property>
+ </widget>
+ </item>
<item row="7" column="0" colspan="3">
<widget class="QCheckBox" name="safetyStopCheckBox">
<property name="text">
@@ -655,6 +655,122 @@
</property>
</widget>
</item>
+ <item row="10" column="0">
+ <widget class="QLabel" name="label_65">
+ <property name="text">
+ <string>End Depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="1">
+ <widget class="QSpinBox" name="safetyStopLengthSpinBox">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="suffix">
+ <string> s</string>
+ </property>
+ <property name="minimum">
+ <number>60</number>
+ </property>
+ <property name="maximum">
+ <number>240</number>
+ </property>
+ <property name="value">
+ <number>180</number>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
+ <widget class="QLabel" name="label_63">
+ <property name="text">
+ <string>Length</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0">
+ <widget class="QLabel" name="label_64">
+ <property name="text">
+ <string>Start Depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="11" column="0">
+ <widget class="QLabel" name="label_66">
+ <property name="text">
+ <string>Reset Depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="1">
+ <widget class="QDoubleSpinBox" name="safetyStopStartDepthDoubleSpinBox">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="suffix">
+ <string> m</string>
+ </property>
+ <property name="decimals">
+ <number>1</number>
+ </property>
+ <property name="minimum">
+ <double>2.100000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>6.100000000000000</double>
+ </property>
+ <property name="singleStep">
+ <double>0.100000000000000</double>
+ </property>
+ <property name="value">
+ <double>5.100000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="10" column="1">
+ <widget class="QDoubleSpinBox" name="safetyStopEndDepthDoubleSpinBox">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="suffix">
+ <string> m</string>
+ </property>
+ <property name="decimals">
+ <number>1</number>
+ </property>
+ <property name="minimum">
+ <double>1.900000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>3.000000000000000</double>
+ </property>
+ <property name="value">
+ <double>2.900000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="11" column="1">
+ <widget class="QDoubleSpinBox" name="safetyStopResetDepthDoubleSpinBox">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="suffix">
+ <string> m</string>
+ </property>
+ <property name="decimals">
+ <number>1</number>
+ </property>
+ <property name="minimum">
+ <double>8.100000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>15.100000000000000</double>
+ </property>
+ <property name="value">
+ <double>10.100000000000000</double>
+ </property>
+ </widget>
+ </item>
</layout>
</widget>
<widget class="QWidget" name="advancedSettings">
@@ -1821,27 +1937,31 @@
<string>Basic settings</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_4">
- <item row="5" column="3">
- <widget class="QLabel" name="label_45">
+ <item row="0" column="0" colspan="2">
+ <widget class="QLabel" name="label_38">
<property name="text">
- <string>Salinity</string>
+ <string>Serial No.</string>
</property>
<property name="buddy">
- <cstring>salinitySpinBox</cstring>
+ <cstring>serialNoLineEdit</cstring>
</property>
</widget>
</item>
- <item row="0" column="0">
- <widget class="QLabel" name="label_38">
+ <item row="6" column="0">
+ <widget class="QLabel" name="label_68">
<property name="text">
- <string>Serial No.</string>
+ <string>Length</string>
</property>
- <property name="buddy">
- <cstring>serialNoLineEdit</cstring>
+ </widget>
+ </item>
+ <item row="0" column="6">
+ <widget class="QLineEdit" name="firmwareVersionLineEdit_3">
+ <property name="readOnly">
+ <bool>true</bool>
</property>
</widget>
</item>
- <item row="0" column="1" colspan="2">
+ <item row="0" column="2" colspan="2">
<widget class="QLineEdit" name="serialNoLineEdit_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@@ -1854,7 +1974,7 @@
</property>
</widget>
</item>
- <item row="0" column="3">
+ <item row="0" column="5">
<widget class="QLabel" name="label_39">
<property name="text">
<string>Firmware version</string>
@@ -1864,14 +1984,7 @@
</property>
</widget>
</item>
- <item row="0" column="4">
- <widget class="QLineEdit" name="firmwareVersionLineEdit_3">
- <property name="readOnly">
- <bool>true</bool>
- </property>
- </widget>
- </item>
- <item row="1" column="0">
+ <item row="1" column="0" colspan="2">
<widget class="QLabel" name="label_40">
<property name="text">
<string>Custom text</string>
@@ -1881,7 +1994,7 @@
</property>
</widget>
</item>
- <item row="1" column="1" colspan="2">
+ <item row="1" column="2" colspan="2">
<widget class="QLineEdit" name="customTextLlineEdit_3">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
@@ -1894,50 +2007,67 @@
</property>
</widget>
</item>
- <item row="5" column="4">
- <widget class="QDoubleSpinBox" name="salinityDoubleSpinBox_3">
- <property name="suffix">
- <string>kg/ℓ</string>
- </property>
- <property name="minimum">
- <double>1.000000000000000</double>
+ <item row="1" column="5">
+ <widget class="QLabel" name="label_41">
+ <property name="text">
+ <string>Number of dives</string>
</property>
- <property name="maximum">
- <double>1.040000000000000</double>
+ </widget>
+ </item>
+ <item row="4" column="0" rowspan="2" colspan="4">
+ <widget class="QCheckBox" name="safetyStopCheckBox_3">
+ <property name="text">
+ <string>Show safety stop</string>
</property>
- <property name="singleStep">
- <double>0.010000000000000</double>
+ </widget>
+ </item>
+ <item row="1" column="6">
+ <widget class="QSpinBox" name="numberOfDivesSpinBox_3">
+ <property name="readOnly">
+ <bool>true</bool>
</property>
</widget>
</item>
- <item row="7" column="2">
- <spacer name="verticalSpacer">
- <property name="orientation">
- <enum>Qt::Vertical</enum>
+ <item row="2" column="0" colspan="2">
+ <widget class="QLabel" name="label_47">
+ <property name="text">
+ <string>Sampling rate</string>
</property>
- <property name="sizeHint" stdset="0">
+ <property name="buddy">
+ <cstring>samplingRateComboBox</cstring>
+ </property>
+ </widget>
+ </item>
+ <item row="2" column="2" colspan="2">
+ <widget class="QSpinBox" name="samplingRateSpinBox_3">
+ <property name="minimumSize">
<size>
- <width>20</width>
- <height>177</height>
+ <width>0</width>
+ <height>0</height>
</size>
</property>
- </spacer>
- </item>
- <item row="5" column="0" colspan="3">
- <widget class="QCheckBox" name="dateTimeSyncCheckBox_3">
- <property name="text">
- <string>Sync dive computer time with PC</string>
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>120</number>
+ </property>
+ <property name="value">
+ <number>10</number>
</property>
</widget>
</item>
- <item row="6" column="0" colspan="3">
- <widget class="QCheckBox" name="safetyStopCheckBox_3">
+ <item row="2" column="5">
+ <widget class="QLabel" name="label_42">
<property name="text">
- <string>Show safety stop</string>
+ <string>Date format</string>
+ </property>
+ <property name="buddy">
+ <cstring>dateFormatComboBox</cstring>
</property>
</widget>
</item>
- <item row="2" column="4">
+ <item row="2" column="6">
<widget class="QComboBox" name="dateFormatComboBox_3">
<item>
<property name="text">
@@ -1956,56 +2086,158 @@
</item>
</widget>
</item>
- <item row="1" column="3">
- <widget class="QLabel" name="label_41">
+ <item row="3" column="0" colspan="4">
+ <widget class="QCheckBox" name="dateTimeSyncCheckBox_3">
<property name="text">
- <string>Number of dives</string>
+ <string>Sync dive computer time with PC</string>
</property>
</widget>
</item>
- <item row="1" column="4">
- <widget class="QSpinBox" name="numberOfDivesSpinBox_3">
- <property name="readOnly">
- <bool>true</bool>
+ <item row="3" column="5">
+ <widget class="QLabel" name="label_45">
+ <property name="text">
+ <string>Salinity</string>
+ </property>
+ <property name="buddy">
+ <cstring>salinitySpinBox</cstring>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QSpinBox" name="samplingRateSpinBox_3">
- <property name="minimumSize">
+ <item row="3" column="6">
+ <widget class="QDoubleSpinBox" name="salinityDoubleSpinBox_3">
+ <property name="suffix">
+ <string>kg/ℓ</string>
+ </property>
+ <property name="minimum">
+ <double>1.000000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>1.040000000000000</double>
+ </property>
+ <property name="singleStep">
+ <double>0.010000000000000</double>
+ </property>
+ </widget>
+ </item>
+ <item row="10" column="3">
+ <spacer name="verticalSpacer">
+ <property name="orientation">
+ <enum>Qt::Vertical</enum>
+ </property>
+ <property name="sizeHint" stdset="0">
<size>
- <width>0</width>
- <height>0</height>
+ <width>20</width>
+ <height>177</height>
</size>
</property>
+ </spacer>
+ </item>
+ <item row="7" column="0">
+ <widget class="QLabel" name="label_67">
+ <property name="text">
+ <string>Start Depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="8" column="0">
+ <widget class="QLabel" name="label_69">
+ <property name="text">
+ <string>End Depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="9" column="0">
+ <widget class="QLabel" name="label_70">
+ <property name="text">
+ <string>Reset Depth</string>
+ </property>
+ </widget>
+ </item>
+ <item row="6" column="2">
+ <widget class="QSpinBox" name="safetyStopLengthSpinBox_3">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="suffix">
+ <string> s</string>
+ </property>
<property name="minimum">
+ <number>10</number>
+ </property>
+ <property name="maximum">
+ <number>250</number>
+ </property>
+ <property name="value">
+ <number>180</number>
+ </property>
+ </widget>
+ </item>
+ <item row="7" column="2">
+ <widget class="QDoubleSpinBox" name="safetyStopStartDepthDoubleSpinBox_3">
+ <property name="enabled">
+ <bool>false</bool>
+ </property>
+ <property name="suffix">
+ <string> m</string>
+ </property>
+ <property name="decimals">
<number>1</number>
</property>
+ <property name="minimum">
+ <double>3.000000000000000</double>
+ </property>
<property name="maximum">
- <number>120</number>
+ <double>6.500000000000000</double>
+ </property>
+ <property name="singleStep">
+ <double>0.100000000000000</double>
</property>
<property name="value">
- <number>10</number>
+ <double>5.100000000000000</double>
</property>
</widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_47">
- <property name="text">
- <string>Sampling rate</string>
+ <item row="8" column="2">
+ <widget class="QDoubleSpinBox" name="safetyStopEndDepthDoubleSpinBox_3">
+ <property name="enabled">
+ <bool>false</bool>
</property>
- <property name="buddy">
- <cstring>samplingRateComboBox</cstring>
+ <property name="suffix">
+ <string> m</string>
+ </property>
+ <property name="decimals">
+ <number>1</number>
+ </property>
+ <property name="minimum">
+ <double>2.500000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>5.000000000000000</double>
+ </property>
+ <property name="value">
+ <double>2.900000000000000</double>
</property>
</widget>
</item>
- <item row="2" column="3">
- <widget class="QLabel" name="label_42">
- <property name="text">
- <string>Date format</string>
+ <item row="9" column="2">
+ <widget class="QDoubleSpinBox" name="safetyStopResetDepthDoubleSpinBox_3">
+ <property name="enabled">
+ <bool>false</bool>
</property>
- <property name="buddy">
- <cstring>dateFormatComboBox</cstring>
+ <property name="suffix">
+ <string> m</string>
+ </property>
+ <property name="decimals">
+ <number>1</number>
+ </property>
+ <property name="minimum">
+ <double>7.500000000000000</double>
+ </property>
+ <property name="maximum">
+ <double>20.100000000000001</double>
+ </property>
+ <property name="value">
+ <double>10.100000000000000</double>
</property>
</widget>
</item>
@@ -2780,5 +3012,133 @@
</hint>
</hints>
</connection>
+ <connection>
+ <sender>safetyStopCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopLengthSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>safetyStopCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopStartDepthDoubleSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>safetyStopCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopEndDepthDoubleSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>safetyStopCheckBox</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopResetDepthDoubleSpinBox</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>safetyStopCheckBox_3</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopLengthSpinBox_3</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>safetyStopCheckBox_3</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopStartDepthDoubleSpinBox_3</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>safetyStopCheckBox_3</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopEndDepthDoubleSpinBox_3</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
+ <connection>
+ <sender>safetyStopCheckBox_3</sender>
+ <signal>toggled(bool)</signal>
+ <receiver>safetyStopResetDepthDoubleSpinBox_3</receiver>
+ <slot>setEnabled(bool)</slot>
+ <hints>
+ <hint type="sourcelabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ <hint type="destinationlabel">
+ <x>20</x>
+ <y>20</y>
+ </hint>
+ </hints>
+ </connection>
</connections>
</ui>