2013-06-20 21:40:59 +00:00
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
<ui version="4.0">
|
|
|
|
|
<class>DivePlanner</class>
|
2013-08-26 11:43:37 +00:00
|
|
|
|
<widget class="QWidget" name="DivePlanner">
|
2014-06-03 09:38:24 +00:00
|
|
|
|
<property name="enabled">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
2013-06-20 21:40:59 +00:00
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
2013-11-13 19:21:12 +00:00
|
|
|
|
<width>515</width>
|
|
|
|
|
<height>591</height>
|
2013-06-20 21:40:59 +00:00
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
2013-08-26 11:43:37 +00:00
|
|
|
|
<layout class="QGridLayout" name="gridLayout">
|
2013-09-26 21:14:09 +00:00
|
|
|
|
<property name="leftMargin">
|
2015-05-25 18:21:17 +00:00
|
|
|
|
<number>5</number>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="topMargin">
|
2015-05-25 18:21:17 +00:00
|
|
|
|
<number>5</number>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="rightMargin">
|
2015-05-25 18:21:17 +00:00
|
|
|
|
<number>5</number>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="bottomMargin">
|
2015-05-25 18:21:17 +00:00
|
|
|
|
<number>5</number>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="spacing">
|
|
|
|
|
<number>0</number>
|
|
|
|
|
</property>
|
|
|
|
|
<item row="6" column="1">
|
|
|
|
|
<widget class="QScrollArea" name="scrollArea">
|
|
|
|
|
<property name="frameShape">
|
|
|
|
|
<enum>QFrame::NoFrame</enum>
|
2013-08-26 11:43:37 +00:00
|
|
|
|
</property>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
<property name="frameShadow">
|
|
|
|
|
<enum>QFrame::Plain</enum>
|
2013-06-20 21:40:59 +00:00
|
|
|
|
</property>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
<property name="widgetResizable">
|
|
|
|
|
<bool>true</bool>
|
2013-09-02 19:21:08 +00:00
|
|
|
|
</property>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
<widget class="QWidget" name="scrollAreaWidgetContents">
|
|
|
|
|
<property name="geometry">
|
|
|
|
|
<rect>
|
|
|
|
|
<x>0</x>
|
|
|
|
|
<y>0</y>
|
2015-05-25 18:21:17 +00:00
|
|
|
|
<width>505</width>
|
|
|
|
|
<height>581</height>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</rect>
|
|
|
|
|
</property>
|
|
|
|
|
<layout class="QGridLayout" name="gridLayout_2">
|
|
|
|
|
<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>
|
2014-06-02 14:25:58 +00:00
|
|
|
|
<item row="0" column="0">
|
|
|
|
|
<widget class="QLabel" name="label">
|
2014-07-02 20:59:52 +00:00
|
|
|
|
<property name="sizePolicy">
|
2014-11-04 11:15:27 +00:00
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Preferred">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
2014-07-02 20:59:52 +00:00
|
|
|
|
</property>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
<property name="text">
|
2014-07-10 23:06:46 +00:00
|
|
|
|
<string>Planned dive time</string>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<item row="1" column="0">
|
|
|
|
|
<widget class="QDateEdit" name="dateEdit">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="calendarPopup">
|
|
|
|
|
<bool>true</bool>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2014-07-02 20:59:52 +00:00
|
|
|
|
<item row="1" column="1">
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<widget class="QTimeEdit" name="startTime">
|
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<item row="1" column="2" colspan="2">
|
2014-06-02 14:25:58 +00:00
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
2014-11-04 11:15:27 +00:00
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
2014-06-02 14:25:58 +00:00
|
|
|
|
<property name="standardButtons">
|
2014-07-02 20:59:52 +00:00
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Save</set>
|
2013-11-14 18:55:33 +00:00
|
|
|
|
</property>
|
2014-06-02 14:25:58 +00:00
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="2" column="0">
|
2014-06-26 15:04:39 +00:00
|
|
|
|
<widget class="QLabel" name="label_7">
|
2014-06-02 14:25:58 +00:00
|
|
|
|
<property name="text">
|
2014-06-28 15:18:29 +00:00
|
|
|
|
<string>Altitude</string>
|
2013-11-09 22:06:26 +00:00
|
|
|
|
</property>
|
2014-06-02 14:25:58 +00:00
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2014-06-26 15:04:39 +00:00
|
|
|
|
<item row="2" column="1">
|
2014-06-02 14:25:58 +00:00
|
|
|
|
<widget class="QLabel" name="label_2">
|
|
|
|
|
<property name="text">
|
2014-07-10 23:06:46 +00:00
|
|
|
|
<string>ATM pressure</string>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<item row="2" column="2">
|
|
|
|
|
<widget class="QLabel" name="label_3">
|
|
|
|
|
<property name="text">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<string>Water type</string>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<item row="3" column="0">
|
|
|
|
|
<widget class="QSpinBox" name="atmHeight">
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
2014-06-26 15:04:39 +00:00
|
|
|
|
<property name="suffix">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<string>m</string>
|
2014-06-20 11:43:09 +00:00
|
|
|
|
</property>
|
2014-07-16 00:17:26 +00:00
|
|
|
|
<property name="minimum">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<number>-100</number>
|
2014-07-16 00:17:26 +00:00
|
|
|
|
</property>
|
2014-06-26 15:04:39 +00:00
|
|
|
|
<property name="maximum">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<number>3000</number>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="singleStep">
|
|
|
|
|
<number>10</number>
|
2014-06-23 17:21:29 +00:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<item row="3" column="1">
|
|
|
|
|
<widget class="QSpinBox" name="ATMPressure">
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
2014-06-26 15:04:39 +00:00
|
|
|
|
<property name="suffix">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<string>mbar</string>
|
2014-06-26 15:04:39 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="minimum">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<number>689</number>
|
2014-06-26 15:04:39 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<number>1100</number>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<item row="3" column="2">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<widget class="QComboBox" name="waterType">
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Fresh water</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Sea water</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>EN13319</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
<item>
|
|
|
|
|
<property name="text">
|
|
|
|
|
<string>Custom</string>
|
|
|
|
|
</property>
|
|
|
|
|
</item>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="3" column="3">
|
|
|
|
|
<widget class="QDoubleSpinBox" name="customSalinity">
|
|
|
|
|
<property name="enabled">
|
|
|
|
|
<bool>false</bool>
|
|
|
|
|
</property>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<property name="sizePolicy">
|
|
|
|
|
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">
|
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
|
</sizepolicy>
|
|
|
|
|
</property>
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<property name="maximumSize">
|
|
|
|
|
<size>
|
2024-06-08 20:13:44 +00:00
|
|
|
|
<width>100</width>
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<height>16777215</height>
|
|
|
|
|
</size>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="toolTip">
|
|
|
|
|
<string extracomment="Custom water density"/>
|
|
|
|
|
</property>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
<property name="suffix">
|
2018-01-01 19:19:12 +00:00
|
|
|
|
<string>kg/ℓ</string>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="minimum">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<double>0.990000000000000</double>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="maximum">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<double>1.300000000000000</double>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
</property>
|
|
|
|
|
<property name="singleStep">
|
|
|
|
|
<double>0.010000000000000</double>
|
|
|
|
|
</property>
|
|
|
|
|
<property name="value">
|
2018-02-10 22:28:05 +00:00
|
|
|
|
<double>1.000000000000000</double>
|
|
|
|
|
</property>
|
2024-06-08 20:13:44 +00:00
|
|
|
|
<property name="decimals">
|
|
|
|
|
<double>3</double>
|
|
|
|
|
</property>
|
2018-02-10 22:28:05 +00:00
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
|
|
|
|
<item row="4" column="0" colspan="4">
|
|
|
|
|
<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="5" column="0" colspan="4">
|
|
|
|
|
<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>
|
2014-11-12 22:33:40 +00:00
|
|
|
|
</property>
|
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-09-26 21:14:09 +00:00
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
2013-09-02 19:21:08 +00:00
|
|
|
|
</widget>
|
|
|
|
|
</item>
|
2013-06-20 21:40:59 +00:00
|
|
|
|
</layout>
|
|
|
|
|
</widget>
|
2013-09-02 19:21:08 +00:00
|
|
|
|
<customwidgets>
|
|
|
|
|
<customwidget>
|
|
|
|
|
<class>TableView</class>
|
|
|
|
|
<extends>QWidget</extends>
|
2016-04-05 05:02:03 +00:00
|
|
|
|
<header>desktop-widgets/tableview.h</header>
|
2013-09-02 19:21:08 +00:00
|
|
|
|
<container>1</container>
|
|
|
|
|
</customwidget>
|
|
|
|
|
</customwidgets>
|
2014-06-10 20:12:42 +00:00
|
|
|
|
<tabstops>
|
|
|
|
|
<tabstop>startTime</tabstop>
|
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
|
<tabstop>scrollArea</tabstop>
|
|
|
|
|
</tabstops>
|
2013-06-20 21:40:59 +00:00
|
|
|
|
<resources/>
|
2013-08-26 11:43:37 +00:00
|
|
|
|
<connections/>
|
2013-06-20 21:40:59 +00:00
|
|
|
|
</ui>
|