2013-10-16 19:05:19 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
2013-12-29 16:11:20 +00:00
|
|
|
<class>DiveLogImportDialog</class>
|
|
|
|
<widget class="QDialog" name="DiveLogImportDialog">
|
2013-10-16 19:05:19 +00:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2015-01-06 19:34:50 +00:00
|
|
|
<width>586</width>
|
|
|
|
<height>434</height>
|
2013-10-16 19:05:19 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
|
|
|
<property name="windowTitle">
|
2013-12-29 16:11:20 +00:00
|
|
|
<string>Import dive log file</string>
|
2013-10-16 19:05:19 +00:00
|
|
|
</property>
|
2013-11-30 18:41:38 +00:00
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset>
|
|
|
|
<normalon>:/subsurface-icon</normalon>
|
|
|
|
</iconset>
|
|
|
|
</property>
|
2013-11-29 13:40:07 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="horizontalWidget" native="true">
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout_3">
|
|
|
|
<property name="spacing">
|
2013-11-21 22:48:37 +00:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2015-01-06 16:12:29 +00:00
|
|
|
<property name="margin">
|
2013-11-21 22:48:37 +00:00
|
|
|
<number>0</number>
|
|
|
|
</property>
|
2013-11-29 13:40:07 +00:00
|
|
|
<item>
|
|
|
|
<widget class="QWidget" name="verticalWidget" native="true">
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
2015-01-06 16:12:29 +00:00
|
|
|
<item>
|
|
|
|
<layout class="QHBoxLayout" name="horizontalLayout">
|
|
|
|
<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 16:54:58 +00:00
|
|
|
<widget class="ColumnNameView" name="avaliableColumns">
|
2015-01-06 16:12:29 +00:00
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
2015-01-06 19:34:50 +00:00
|
|
|
<height>100</height>
|
2015-01-06 16:12:29 +00:00
|
|
|
</size>
|
|
|
|
</property>
|
2015-01-06 16:47:08 +00:00
|
|
|
<property name="viewMode">
|
|
|
|
<enum>QListView::IconMode</enum>
|
|
|
|
</property>
|
2015-01-06 16:12:29 +00:00
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QLabel" name="label">
|
|
|
|
<property name="text">
|
|
|
|
<string>Drag the tags above to each corresponding column below</string>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
2015-01-06 19:34:50 +00:00
|
|
|
<widget class="ColumnDropCSVView" name="tableView">
|
|
|
|
<property name="maximumSize">
|
|
|
|
<size>
|
|
|
|
<width>16777215</width>
|
|
|
|
<height>200</height>
|
|
|
|
</size>
|
|
|
|
</property>
|
2015-01-07 17:47:40 +00: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 19:34:50 +00:00
|
|
|
</widget>
|
2015-01-06 16:12:29 +00:00
|
|
|
</item>
|
2013-11-29 13:40:07 +00: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 19:05:19 +00:00
|
|
|
</widget>
|
2015-01-06 16:54:58 +00:00
|
|
|
<customwidgets>
|
|
|
|
<customwidget>
|
|
|
|
<class>ColumnNameView</class>
|
|
|
|
<extends>QListView</extends>
|
|
|
|
<header>divelogimportdialog.h</header>
|
|
|
|
</customwidget>
|
2015-01-06 17:56:08 +00:00
|
|
|
<customwidget>
|
|
|
|
<class>ColumnDropCSVView</class>
|
|
|
|
<extends>QTableView</extends>
|
|
|
|
<header>divelogimportdialog.h</header>
|
|
|
|
</customwidget>
|
2015-01-06 16:54:58 +00:00
|
|
|
</customwidgets>
|
2014-01-14 22:54:29 +00:00
|
|
|
<tabstops>
|
|
|
|
<tabstop>buttonBox</tabstop>
|
|
|
|
</tabstops>
|
2013-12-29 16:11:19 +00:00
|
|
|
<resources/>
|
2013-10-16 19:05:19 +00:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
2013-12-29 16:11:20 +00:00
|
|
|
<receiver>DiveLogImportDialog</receiver>
|
2013-10-16 19:05:19 +00:00
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2014-06-10 10:17:37 +00:00
|
|
|
<x>334</x>
|
|
|
|
<y>467</y>
|
2013-10-16 19:05:19 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-11-29 13:40:07 +00:00
|
|
|
<x>215</x>
|
|
|
|
<y>164</y>
|
2013-10-16 19:05:19 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
2013-12-29 16:11:20 +00:00
|
|
|
<receiver>DiveLogImportDialog</receiver>
|
2013-10-16 19:05:19 +00:00
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
2014-06-10 10:17:37 +00:00
|
|
|
<x>334</x>
|
|
|
|
<y>467</y>
|
2013-10-16 19:05:19 +00:00
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
2013-11-29 13:40:07 +00:00
|
|
|
<x>215</x>
|
|
|
|
<y>164</y>
|
2013-10-16 19:05:19 +00:00
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|