mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-11 03:21:29 +00:00
4dfdea1e1d
Add the option for a minimum gas switch duration to the planner UI. This is not actually used yet. Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
641 lines
20 KiB
XML
641 lines
20 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<ui version="4.0">
|
||
<class>plannerSettingsWidget</class>
|
||
<widget class="QWidget" name="plannerSettingsWidget">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>1102</width>
|
||
<height>442</height>
|
||
</rect>
|
||
</property>
|
||
<property name="windowTitle">
|
||
<string>Form</string>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||
<property name="leftMargin">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>5</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>5</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QScrollArea" name="scrollArea">
|
||
<property name="frameShape">
|
||
<enum>QFrame::NoFrame</enum>
|
||
</property>
|
||
<property name="frameShadow">
|
||
<enum>QFrame::Plain</enum>
|
||
</property>
|
||
<property name="widgetResizable">
|
||
<bool>true</bool>
|
||
</property>
|
||
<widget class="QWidget" name="scrollAreaWidgetContents">
|
||
<property name="geometry">
|
||
<rect>
|
||
<x>0</x>
|
||
<y>0</y>
|
||
<width>1092</width>
|
||
<height>432</height>
|
||
</rect>
|
||
</property>
|
||
<layout class="QHBoxLayout" name="horizontalLayout">
|
||
<property name="spacing">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="leftMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>0</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_2">
|
||
<property name="title">
|
||
<string>Rates</string>
|
||
</property>
|
||
<layout class="QVBoxLayout" name="verticalLayout">
|
||
<property name="spacing">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="leftMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox">
|
||
<property name="title">
|
||
<string>Ascent</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_3">
|
||
<property name="leftMargin">
|
||
<number>12</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="horizontalSpacing">
|
||
<number>2</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label">
|
||
<property name="text">
|
||
<string>below 75% avg. depth</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QSpinBox" name="ascRate75">
|
||
<property name="suffix">
|
||
<string>m/min</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</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">
|
||
<property name="suffix">
|
||
<string>m/min</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="asc50to6">
|
||
<property name="text">
|
||
<string>50% avg. depth to 6m</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QSpinBox" name="ascRateStops">
|
||
<property name="suffix">
|
||
<string>m/min</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</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">
|
||
<property name="suffix">
|
||
<string>m/min</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_3">
|
||
<property name="title">
|
||
<string>Descent</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_4">
|
||
<property name="leftMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="spacing">
|
||
<number>2</number>
|
||
</property>
|
||
<item row="0" column="1">
|
||
<widget class="QSpinBox" name="descRate">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="maximumSize">
|
||
<size>
|
||
<width>16777215</width>
|
||
<height>16777215</height>
|
||
</size>
|
||
</property>
|
||
<property name="suffix">
|
||
<string>m/min</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>18</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_9">
|
||
<property name="sizePolicy">
|
||
<sizepolicy hsizetype="Preferred" vsizetype="Preferred">
|
||
<horstretch>0</horstretch>
|
||
<verstretch>0</verstretch>
|
||
</sizepolicy>
|
||
</property>
|
||
<property name="text">
|
||
<string>surface to the bottom</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<spacer name="verticalSpacer">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_5">
|
||
<property name="title">
|
||
<string>Planning</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout">
|
||
<property name="leftMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="spacing">
|
||
<number>2</number>
|
||
</property>
|
||
<item row="6" column="1">
|
||
<widget class="QLabel" name="label_16">
|
||
<property name="text">
|
||
<string>GF high</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="9" column="1" colspan="2">
|
||
<widget class="QCheckBox" name="backgasBreaks">
|
||
<property name="text">
|
||
<string>Plan backgas breaks</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="6" column="2">
|
||
<widget class="QSpinBox" name="gfhigh">
|
||
<property name="suffix">
|
||
<string>%</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>150</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="8" column="1" colspan="2">
|
||
<widget class="QCheckBox" name="lastStop">
|
||
<property name="text">
|
||
<string>Last stop at 6m</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="11" column="1">
|
||
<widget class="QComboBox" name="rebreathermode">
|
||
<property name="currentText">
|
||
<string/>
|
||
</property>
|
||
<property name="maxVisibleItems">
|
||
<number>6</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="5" column="2">
|
||
<widget class="QSpinBox" name="gflow">
|
||
<property name="suffix">
|
||
<string>%</string>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>1</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>150</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="7" 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="12" 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="5" column="1">
|
||
<widget class="QLabel" name="label_15">
|
||
<property name="text">
|
||
<string>GF low</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="0" column="1">
|
||
<widget class="QCheckBox" name="recreational_mode">
|
||
<property name="text">
|
||
<string>Recreational mode</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QCheckBox" name="safetystop">
|
||
<property name="text">
|
||
<string>Safety stop</string>
|
||
</property>
|
||
<property name="tristate">
|
||
<bool>false</bool>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QLabel" name="label_3">
|
||
<property name="text">
|
||
<string>Reserve gas</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="2">
|
||
<widget class="QSpinBox" name="reserve_gas">
|
||
<property name="suffix">
|
||
<string>bar</string>
|
||
</property>
|
||
<property name="prefix">
|
||
<string/>
|
||
</property>
|
||
<property name="minimum">
|
||
<number>10</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<number>99</number>
|
||
</property>
|
||
<property name="value">
|
||
<number>40</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="10" column="1">
|
||
<widget class="QLabel" name="label_4">
|
||
<property name="text">
|
||
<string>Min. switch duration</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="10" 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>
|
||
</property>
|
||
<property name="value">
|
||
<number>1</number>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_4">
|
||
<property name="title">
|
||
<string>Gas options</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_5">
|
||
<property name="leftMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="spacing">
|
||
<number>2</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QLabel" name="label_13">
|
||
<property name="text">
|
||
<string>Bottom SAC</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QLabel" name="label_14">
|
||
<property name="text">
|
||
<string>Deco SAC</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QLabel" name="label_6">
|
||
<property name="text">
|
||
<string>Bottom pO₂</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="1">
|
||
<widget class="QDoubleSpinBox" name="bottompo2">
|
||
<property name="suffix">
|
||
<string>bar</string>
|
||
</property>
|
||
<property name="maximum">
|
||
<double>2.000000000000000</double>
|
||
</property>
|
||
<property name="singleStep">
|
||
<double>0.100000000000000</double>
|
||
</property>
|
||
<property name="value">
|
||
<double>1.400000000000000</double>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<widget class="QLabel" name="label_7">
|
||
<property name="text">
|
||
<string>Deco pO₂</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="1">
|
||
<widget class="QDoubleSpinBox" name="decopo2">
|
||
<property name="suffix">
|
||
<string>bar</string>
|
||
</property>
|
||
<property name="maximum">
|
||
<double>2.000000000000000</double>
|
||
</property>
|
||
<property name="singleStep">
|
||
<double>0.100000000000000</double>
|
||
</property>
|
||
<property name="value">
|
||
<double>1.600000000000000</double>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="0">
|
||
<spacer name="verticalSpacer_3">
|
||
<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="0" column="1">
|
||
<widget class="QDoubleSpinBox" name="bottomSAC">
|
||
<property name="suffix">
|
||
<string>ℓ/min</string>
|
||
</property>
|
||
<property name="decimals">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<double>99.000000000000000</double>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="1">
|
||
<widget class="QDoubleSpinBox" name="decoStopSAC">
|
||
<property name="suffix">
|
||
<string>ℓ/min</string>
|
||
</property>
|
||
<property name="decimals">
|
||
<number>0</number>
|
||
</property>
|
||
<property name="maximum">
|
||
<double>99.000000000000000</double>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
<item>
|
||
<widget class="QGroupBox" name="groupBox_6">
|
||
<property name="title">
|
||
<string>Notes</string>
|
||
</property>
|
||
<layout class="QGridLayout" name="gridLayout_6">
|
||
<property name="leftMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="topMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="rightMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="bottomMargin">
|
||
<number>2</number>
|
||
</property>
|
||
<property name="spacing">
|
||
<number>2</number>
|
||
</property>
|
||
<item row="0" column="0">
|
||
<widget class="QCheckBox" name="display_runtime">
|
||
<property name="toolTip">
|
||
<string>In dive plan, show runtime (absolute time) of stops</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Display runtime</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="1" column="0">
|
||
<widget class="QCheckBox" name="display_duration">
|
||
<property name="enabled">
|
||
<bool>true</bool>
|
||
</property>
|
||
<property name="toolTip">
|
||
<string>In dive plan, show duration (relative time) of stops</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Display segment duration</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="2" column="0">
|
||
<widget class="QCheckBox" name="display_transitions">
|
||
<property name="toolTip">
|
||
<string>In diveplan, list transitions or treat them as implicit</string>
|
||
</property>
|
||
<property name="text">
|
||
<string>Display transitions in deco</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="3" column="0">
|
||
<widget class="QCheckBox" name="verbatim_plan">
|
||
<property name="text">
|
||
<string>Verbatim dive plan</string>
|
||
</property>
|
||
</widget>
|
||
</item>
|
||
<item row="4" column="0">
|
||
<spacer name="verticalSpacer_4">
|
||
<property name="orientation">
|
||
<enum>Qt::Vertical</enum>
|
||
</property>
|
||
<property name="sizeHint" stdset="0">
|
||
<size>
|
||
<width>20</width>
|
||
<height>40</height>
|
||
</size>
|
||
</property>
|
||
</spacer>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
</widget>
|
||
</item>
|
||
</layout>
|
||
</widget>
|
||
<resources/>
|
||
<connections/>
|
||
</ui>
|