diff options
Diffstat (limited to 'desktop-widgets/configuredivecomputerdialog.ui')
-rw-r--r-- | desktop-widgets/configuredivecomputerdialog.ui | 678 |
1 files changed, 519 insertions, 159 deletions
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> |