GUI change to specify duration on CSV import

Signed-off-by: Miika Turkia <miika.turkia@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Miika Turkia 2014-12-31 18:27:29 +02:00 committed by Dirk Hohndel
parent 74bf5fc2b8
commit a46cebd1ad

View file

@ -298,26 +298,20 @@
<string>Manual dives</string> <string>Manual dives</string>
</attribute> </attribute>
<layout class="QGridLayout" name="gridLayout_4"> <layout class="QGridLayout" name="gridLayout_4">
<item row="1" column="1"> <item row="3" column="1">
<widget class="QGroupBox" name="groupBox_5"> <widget class="QGroupBox" name="groupBox_8">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title"> <property name="minimumSize">
<string>Field separator</string> <size>
<width>0</width>
<height>70</height>
</size>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QComboBox" name="ManualSeparator"/>
</item>
</layout>
</widget>
</item>
<item row="3" column="1">
<widget class="QGroupBox" name="groupBox_8">
<property name="toolTip"> <property name="toolTip">
<string>Choose day, month and year order for date format. The field separator can be any of the characters .-/.</string> <string>Choose day, month and year order for date format. The field separator can be any of the characters .-/.</string>
</property> </property>
@ -329,7 +323,7 @@
<rect> <rect>
<x>20</x> <x>20</x>
<y>40</y> <y>40</y>
<width>131</width> <width>100</width>
<height>27</height> <height>27</height>
</rect> </rect>
</property> </property>
@ -351,7 +345,42 @@
</widget> </widget>
</widget> </widget>
</item> </item>
<item row="0" column="0" rowspan="4"> <item row="2" column="1">
<widget class="QGroupBox" name="groupBox_6">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>70</height>
</size>
</property>
<property name="title">
<string>Units</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout_5">
<item>
<widget class="QComboBox" name="Units">
<item>
<property name="text">
<string>Metric</string>
</property>
</item>
<item>
<property name="text">
<string>Imperial</string>
</property>
</item>
</widget>
</item>
</layout>
</widget>
</item>
<item row="0" column="0" rowspan="7">
<widget class="QGroupBox" name="groupBox"> <widget class="QGroupBox" name="groupBox">
<property name="title"> <property name="title">
<string>Field configuration</string> <string>Field configuration</string>
@ -641,7 +670,6 @@
</property> </property>
</widget> </widget>
</item> </item>
<item row="9" column="0"> <item row="9" column="0">
<widget class="QCheckBox" name="EndPressureCheck"> <widget class="QCheckBox" name="EndPressureCheck">
<property name="text"> <property name="text">
@ -693,35 +721,76 @@
</property> </property>
</widget> </widget>
</item> </item>
</layout> </layout>
</widget> </widget>
</item> </item>
<item row="2" column="1"> <item row="4" column="1">
<widget class="QGroupBox" name="groupBox_6"> <widget class="QGroupBox" name="groupBox_9">
<property name="sizePolicy"> <property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed"> <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch> <horstretch>0</horstretch>
<verstretch>0</verstretch> <verstretch>0</verstretch>
</sizepolicy> </sizepolicy>
</property> </property>
<property name="title"> <property name="minimumSize">
<string>Units</string> <size>
<width>0</width>
<height>70</height>
</size>
</property> </property>
<layout class="QHBoxLayout" name="horizontalLayout_5"> <property name="toolTip">
<string>Choose duration format.</string>
</property>
<property name="title">
<string>Duration format</string>
</property>
<widget class="QComboBox" name="DurationFormat">
<property name="geometry">
<rect>
<x>20</x>
<y>40</y>
<width>100</width>
<height>27</height>
</rect>
</property>
<item> <item>
<widget class="QComboBox" name="Units"> <property name="text">
<item> <string>Seconds</string>
<property name="text"> </property>
<string>Metric</string> </item>
</property> <item>
</item> <property name="text">
<item> <string>Minutes</string>
<property name="text"> </property>
<string>Imperial</string> </item>
</property> <item>
</item> <property name="text">
</widget> <string>Minutes:seconds</string>
</property>
</item>
</widget>
</widget>
</item>
<item row="1" column="1">
<widget class="QGroupBox" name="groupBox_5">
<property name="sizePolicy">
<sizepolicy hsizetype="Preferred" vsizetype="Fixed">
<horstretch>0</horstretch>
<verstretch>0</verstretch>
</sizepolicy>
</property>
<property name="minimumSize">
<size>
<width>0</width>
<height>70</height>
</size>
</property>
<property name="title">
<string>Field separator</string>
</property>
<layout class="QHBoxLayout" name="horizontalLayout">
<item>
<widget class="QComboBox" name="ManualSeparator"/>
</item> </item>
</layout> </layout>
</widget> </widget>
@ -1089,42 +1158,112 @@
<signal>clicked(bool)</signal> <signal>clicked(bool)</signal>
<receiver>CylinderSize</receiver> <receiver>CylinderSize</receiver>
<slot>setEnabled(bool)</slot> <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>
<connection> <connection>
<sender>StartPressureCheck</sender> <sender>StartPressureCheck</sender>
<signal>clicked(bool)</signal> <signal>clicked(bool)</signal>
<receiver>StartPressure</receiver> <receiver>StartPressure</receiver>
<slot>setEnabled(bool)</slot> <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>
<connection> <connection>
<sender>EndPressureCheck</sender> <sender>EndPressureCheck</sender>
<signal>clicked(bool)</signal> <signal>clicked(bool)</signal>
<receiver>EndPressure</receiver> <receiver>EndPressure</receiver>
<slot>setEnabled(bool)</slot> <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>
<connection> <connection>
<sender>O2Check</sender> <sender>O2Check</sender>
<signal>clicked(bool)</signal> <signal>clicked(bool)</signal>
<receiver>O2</receiver> <receiver>O2</receiver>
<slot>setEnabled(bool)</slot> <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>
<connection> <connection>
<sender>HeCheck</sender> <sender>HeCheck</sender>
<signal>clicked(bool)</signal> <signal>clicked(bool)</signal>
<receiver>He</receiver> <receiver>He</receiver>
<slot>setEnabled(bool)</slot> <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>
<connection> <connection>
<sender>AirTempCheck</sender> <sender>AirTempCheck</sender>
<signal>clicked(bool)</signal> <signal>clicked(bool)</signal>
<receiver>AirTemp</receiver> <receiver>AirTemp</receiver>
<slot>setEnabled(bool)</slot> <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>
<connection> <connection>
<sender>WaterTempCheck</sender> <sender>WaterTempCheck</sender>
<signal>clicked(bool)</signal> <signal>clicked(bool)</signal>
<receiver>WaterTemp</receiver> <receiver>WaterTemp</receiver>
<slot>setEnabled(bool)</slot> <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>
</connections> </connections>
</ui> </ui>