summaryrefslogtreecommitdiffstats
path: root/qt-ui/diveplanner.ui
diff options
context:
space:
mode:
authorGravatar Robert C. Helling <helling@atdotde.de>2014-06-02 16:25:58 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-06-02 12:40:36 -0700
commit90885bfb8e9ac9eb21d969dd6de54b2ddb14c4cb (patch)
treee880e11d37ac162945185db0e136fdb960467fd4 /qt-ui/diveplanner.ui
parentcc012c1fa6ffca2c5c93fb79415b9a806cb3632c (diff)
downloadsubsurface-90885bfb8e9ac9eb21d969dd6de54b2ddb14c4cb.tar.gz
Optionally strip diveplan to bare minimum
There are new check-boxes to modify the look of the diveplan in the notes. The old behaviour appears with "verbatim display", others are shorter, runtimes, stoplengths and transitions being optional. Also round to full meters and minutes to remove optical clutter. To be done: Remember these setting in the config. Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/diveplanner.ui')
-rw-r--r--qt-ui/diveplanner.ui170
1 files changed, 105 insertions, 65 deletions
diff --git a/qt-ui/diveplanner.ui b/qt-ui/diveplanner.ui
index 558be069d..fe3f46086 100644
--- a/qt-ui/diveplanner.ui
+++ b/qt-ui/diveplanner.ui
@@ -62,36 +62,58 @@
<property name="spacing">
<number>2</number>
</property>
- <item row="1" column="1">
- <widget class="QLineEdit" name="ATMPressure"/>
+ <item row="10" column="0" colspan="2">
+ <widget class="TableView" name="tableWidget" native="true">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>50</height>
+ </size>
+ </property>
+ </widget>
</item>
- <item row="2" column="0">
- <widget class="QLabel" name="label_3">
- <property name="text">
- <string>Bottom SAC</string>
+ <item row="9" column="0" colspan="2">
+ <widget class="TableView" name="cylinderTableWidget" native="true">
+ <property name="sizePolicy">
+ <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
+ <horstretch>0</horstretch>
+ <verstretch>0</verstretch>
+ </sizepolicy>
+ </property>
+ <property name="minimumSize">
+ <size>
+ <width>0</width>
+ <height>50</height>
+ </size>
</property>
</widget>
</item>
- <item row="4" column="1">
- <widget class="QLabel" name="label_6">
- <property name="text">
- <string>GFHigh</string>
+ <item row="3" column="1">
+ <widget class="QLineEdit" name="decoStopSAC"/>
+ </item>
+ <item row="5" column="0">
+ <widget class="QSpinBox" name="gflow">
+ <property name="minimum">
+ <number>1</number>
+ </property>
+ <property name="maximum">
+ <number>150</number>
</property>
</widget>
</item>
- <item row="2" column="1">
- <widget class="QLabel" name="label_4">
+ <item row="0" column="0">
+ <widget class="QLabel" name="label">
<property name="text">
- <string>SAC on DECO Stop</string>
+ <string>Start Time</string>
</property>
</widget>
</item>
- <item row="3" column="0">
- <widget class="QLineEdit" name="bottomSAC"/>
- </item>
- <item row="3" column="1">
- <widget class="QLineEdit" name="decoStopSAC"/>
- </item>
<item row="4" column="0">
<widget class="QLabel" name="label_5">
<property name="text">
@@ -99,16 +121,26 @@
</property>
</widget>
</item>
- <item row="5" column="0">
- <widget class="QSpinBox" name="gflow">
- <property name="minimum">
- <number>1</number>
+ <item row="1" column="0">
+ <widget class="QTimeEdit" name="startTime"/>
+ </item>
+ <item row="11" column="0" colspan="2">
+ <widget class="QDialogButtonBox" name="buttonBox">
+ <property name="standardButtons">
+ <set>QDialogButtonBox::Abort|QDialogButtonBox::Save</set>
</property>
- <property name="maximum">
- <number>150</number>
+ </widget>
+ </item>
+ <item row="6" column="0">
+ <widget class="QCheckBox" name="lastStop">
+ <property name="text">
+ <string>Last Stop at 6m</string>
</property>
</widget>
</item>
+ <item row="3" column="0">
+ <widget class="QLineEdit" name="bottomSAC"/>
+ </item>
<item row="5" column="1">
<widget class="QSpinBox" name="gfhigh">
<property name="minimum">
@@ -119,66 +151,74 @@
</property>
</widget>
</item>
- <item row="6" column="0">
- <widget class="QCheckBox" name="lastStop">
+ <item row="6" column="1">
+ <widget class="QCheckBox" name="verbatim_plan">
<property name="text">
- <string>Last Stop at 6m</string>
+ <string>verbatim diveplan</string>
</property>
</widget>
</item>
- <item row="7" column="0" colspan="2">
- <widget class="TableView" name="cylinderTableWidget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
- </property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>50</height>
- </size>
+ <item row="2" column="1">
+ <widget class="QLabel" name="label_4">
+ <property name="text">
+ <string>SAC on DECO Stop</string>
</property>
</widget>
</item>
- <item row="8" column="0" colspan="2">
- <widget class="TableView" name="tableWidget" native="true">
- <property name="sizePolicy">
- <sizepolicy hsizetype="MinimumExpanding" vsizetype="MinimumExpanding">
- <horstretch>0</horstretch>
- <verstretch>0</verstretch>
- </sizepolicy>
+ <item row="2" column="0">
+ <widget class="QLabel" name="label_3">
+ <property name="text">
+ <string>Bottom SAC</string>
</property>
- <property name="minimumSize">
- <size>
- <width>0</width>
- <height>50</height>
- </size>
+ </widget>
+ </item>
+ <item row="4" column="1">
+ <widget class="QLabel" name="label_6">
+ <property name="text">
+ <string>GFHigh</string>
</property>
</widget>
</item>
- <item row="9" column="0" colspan="2">
- <widget class="QDialogButtonBox" name="buttonBox">
- <property name="standardButtons">
- <set>QDialogButtonBox::Abort|QDialogButtonBox::Save</set>
+ <item row="0" column="1">
+ <widget class="QLabel" name="label_2">
+ <property name="text">
+ <string>ATM Pressure</string>
</property>
</widget>
</item>
- <item row="1" column="0">
- <widget class="QTimeEdit" name="startTime"/>
+ <item row="1" column="1">
+ <widget class="QLineEdit" name="ATMPressure"/>
</item>
- <item row="0" column="0">
- <widget class="QLabel" name="label">
+ <item row="7" column="1">
+ <widget class="QCheckBox" name="display_duration">
+ <property name="toolTip">
+ <string>In dive plan, show duration (relative time) of stops</string>
+ </property>
<property name="text">
- <string>Start Time</string>
+ <string>display stop duration</string>
</property>
</widget>
</item>
- <item row="0" column="1">
- <widget class="QLabel" name="label_2">
+ <item row="7" 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>ATM Pressure</string>
+ <string>display runtime</string>
+ </property>
+ <property name="checked">
+ <bool>true</bool>
+ </property>
+ </widget>
+ </item>
+ <item row="8" 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</string>
</property>
</widget>
</item>