2013-10-16 22:05:19 +03:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
2013-12-29 18:11:20 +02:00
|
|
|
<class>DiveLogImportDialog</class>
|
|
|
|
<widget class="QDialog" name="DiveLogImportDialog">
|
2013-10-16 22:05:19 +03:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2015-01-07 19:53:49 +03:00
|
|
|
<width>614</width>
|
2015-01-06 17:34:50 -02:00
|
|
|
<height>434</height>
|
2013-10-16 22:05:19 +03:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2013-12-29 18:11:20 +02:00
|
|
|
<string>Import dive log file</string>
|
2013-10-16 22:05:19 +03:00
|
|
|
</property>
|
2013-11-30 20:41:38 +02:00
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset>
|
2017-11-28 08:37:01 +01:00
|
|
|
<normalon>:subsurface-icon</normalon>
|
2013-11-30 20:41:38 +02:00
|
|
|
</iconset>
|
|
|
|
</property>
|
2013-11-29 15:40:07 +02:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2015-05-25 15:06:51 -03:00
|
|
|
<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>
|
2013-11-29 15:40:07 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="horizontalWidget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="spacing">
|
2013-11-21 23:48:37 +01:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2015-01-07 19:53:49 +03:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>0</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2013-11-21 23:48:37 +01:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2013-11-29 15:40:07 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="verticalWidget" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2015-05-25 15:06:51 -03:00
|
|
|
<property name="spacing">
|
|
|
|
<number>5</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>
|
2015-01-06 14:12:29 -02:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
2015-05-25 15:06:51 -03:00
|
|
|
<property name="spacing">
|
|
|
|
<number>2</number>
|
|
|
|
</property>
|
2015-01-06 14:12:29 -02:00
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="knownImports">
|
|
|
|
<property name="currentIndex">
|
|
|
|
<number>-1</number>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="CSVSeparator"/>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="DateFormat">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>dd.mm.yyyy</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>mm/dd/yyyy</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>yyyy-mm-dd</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="DurationFormat">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Seconds</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Minutes</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Minutes:seconds</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QComboBox" name="CSVUnits">
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Metric</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<property name="text">
|
|
|
|
<string>Imperial</string>
|
|
|
|
</property>
|
|
|
|
</item>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-01-06 14:54:58 -02:00
|
|
|
<widget class="ColumnNameView" name="avaliableColumns">
|
2015-01-06 14:12:29 -02:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
2015-01-06 17:34:50 -02:00
|
|
|
<height>100</height>
|
2015-01-06 14:12:29 -02:00
|
|
|
</size>
|
|
|
|
</property>
|
2015-01-06 14:47:08 -02:00
|
|
|
<property name="viewMode">
|
|
|
|
<enum>QListView::IconMode</enum>
|
|
|
|
</property>
|
2015-01-06 14:12:29 -02:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-01-07 12:41:06 -08:00
|
|
|
<widget class="QLabel" name="dragInstructions">
|
2015-01-06 14:12:29 -02:00
|
|
|
<property name="text">
|
|
|
|
<string>Drag the tags above to each corresponding column below</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-01-06 17:34:50 -02:00
|
|
|
<widget class="ColumnDropCSVView" name="tableView">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
2015-01-07 19:53:49 +03:00
|
|
|
<height>16777215</height>
|
2015-01-06 17:34:50 -02:00
|
|
|
</size>
|
|
|
|
</property>
|
2015-01-07 15:47:40 -02:00
|
|
|
<attribute name="horizontalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="horizontalHeaderHighlightSections">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderVisible">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
|
|
|
<attribute name="verticalHeaderHighlightSections">
|
|
|
|
<bool>false</bool>
|
|
|
|
</attribute>
|
2015-01-06 17:34:50 -02:00
|
|
|
</widget>
|
2015-01-06 14:12:29 -02:00
|
|
|
</item>
|
2013-11-29 15:40:07 +02:00
|
|
|
<item>
|
|
|
|
<widget class="QDialogButtonBox" name="buttonBox">
|
|
|
|
<property name="orientation">
|
|
|
|
<enum>Qt::Horizontal</enum>
|
|
|
|
</property>
|
|
|
|
<property name="standardButtons">
|
|
|
|
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
2013-10-16 22:05:19 +03:00
|
|
|
</widget>
|
2015-01-06 14:54:58 -02:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>ColumnNameView</class>
|
|
|
|
<extends>QListView</extends>
|
2016-04-04 22:02:03 -07:00
|
|
|
<header>desktop-widgets/divelogimportdialog.h</header>
|
2015-01-06 14:54:58 -02:00
|
|
|
</customwidget>
|
2015-01-06 15:56:08 -02:00
|
|
|
<customwidget>
|
|
|
|
<class>ColumnDropCSVView</class>
|
|
|
|
<extends>QTableView</extends>
|
2016-04-04 22:02:03 -07:00
|
|
|
<header>desktop-widgets/divelogimportdialog.h</header>
|
2015-01-06 15:56:08 -02:00
|
|
|
</customwidget>
|
2015-01-06 14:54:58 -02:00
|
|
|
</customwidgets>
|
2014-01-14 20:54:29 -02:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
2013-12-29 18:11:19 +02:00
|
|
|
<resources/>
|
2013-10-16 22:05:19 +03:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
2013-12-29 18:11:20 +02:00
|
|
|
<receiver>DiveLogImportDialog</receiver>
|
2013-10-16 22:05:19 +03:00
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2014-06-10 07:17:37 -03:00
|
|
|
<x>334</x>
|
|
|
|
<y>467</y>
|
2013-10-16 22:05:19 +03:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-11-29 15:40:07 +02:00
|
|
|
<x>215</x>
|
|
|
|
<y>164</y>
|
2013-10-16 22:05:19 +03:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
2013-12-29 18:11:20 +02:00
|
|
|
<receiver>DiveLogImportDialog</receiver>
|
2013-10-16 22:05:19 +03:00
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2014-06-10 07:17:37 -03:00
|
|
|
<x>334</x>
|
|
|
|
<y>467</y>
|
2013-10-16 22:05:19 +03:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-11-29 15:40:07 +02:00
|
|
|
<x>215</x>
|
|
|
|
<y>164</y>
|
2013-10-16 22:05:19 +03:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|