2013-11-18 13:53:05 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<ui version="4.0">
|
|
|
|
<class>ShiftTimesDialog</class>
|
|
|
|
<widget class="QDialog" name="ShiftTimesDialog">
|
2014-03-12 17:01:25 +00:00
|
|
|
<property name="windowModality">
|
|
|
|
<enum>Qt::WindowModal</enum>
|
|
|
|
</property>
|
2013-11-18 13:53:05 +00:00
|
|
|
<property name="geometry">
|
|
|
|
<rect>
|
|
|
|
<x>0</x>
|
|
|
|
<y>0</y>
|
2013-11-18 18:00:39 +00:00
|
|
|
<width>343</width>
|
2013-11-30 13:45:39 +00:00
|
|
|
<height>177</height>
|
2013-11-18 13:53:05 +00:00
|
|
|
</rect>
|
|
|
|
</property>
|
2013-11-30 13:45:39 +00:00
|
|
|
<property name="sizePolicy">
|
|
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
|
|
<horstretch>0</horstretch>
|
|
|
|
<verstretch>0</verstretch>
|
|
|
|
</sizepolicy>
|
|
|
|
</property>
|
2013-11-18 13:53:05 +00:00
|
|
|
<property name="windowTitle">
|
|
|
|
<string>Shift selected times</string>
|
|
|
|
</property>
|
2013-11-30 18:41:38 +00:00
|
|
|
<property name="windowIcon">
|
|
|
|
<iconset>
|
|
|
|
<normalon>:/subsurface-icon</normalon>
|
|
|
|
</iconset>
|
|
|
|
</property>
|
2013-11-18 13:53:05 +00:00
|
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
|
|
<property name="spacing">
|
2013-11-30 13:45:39 +00:00
|
|
|
<number>6</number>
|
2013-11-18 13:53:05 +00:00
|
|
|
</property>
|
2014-03-12 17:01:25 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2013-11-30 13:45:39 +00:00
|
|
|
<number>9</number>
|
2013-11-18 13:53:05 +00:00
|
|
|
</property>
|
2013-11-30 13:45:39 +00:00
|
|
|
<item alignment="Qt::AlignTop">
|
2013-11-18 13:53:05 +00:00
|
|
|
<widget class="QGroupBox" name="groupBox">
|
|
|
|
<property name="title">
|
|
|
|
<string>Shift times of selected dives by</string>
|
|
|
|
</property>
|
|
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
2013-11-18 18:00:39 +00:00
|
|
|
<property name="spacing">
|
2013-11-30 13:45:39 +00:00
|
|
|
<number>6</number>
|
2013-11-18 13:53:05 +00:00
|
|
|
</property>
|
2014-03-12 17:01:25 +00:00
|
|
|
<property name="leftMargin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="topMargin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="rightMargin">
|
|
|
|
<number>9</number>
|
|
|
|
</property>
|
|
|
|
<property name="bottomMargin">
|
2013-11-30 13:45:39 +00:00
|
|
|
<number>9</number>
|
2013-11-18 13:53:05 +00:00
|
|
|
</property>
|
|
|
|
<item>
|
|
|
|
<widget class="QTimeEdit" name="timeEdit">
|
|
|
|
<property name="date">
|
|
|
|
<date>
|
|
|
|
<year>2000</year>
|
|
|
|
<month>1</month>
|
|
|
|
<day>1</day>
|
|
|
|
</date>
|
|
|
|
</property>
|
|
|
|
<property name="minimumDateTime">
|
|
|
|
<datetime>
|
|
|
|
<hour>0</hour>
|
|
|
|
<minute>0</minute>
|
|
|
|
<second>0</second>
|
|
|
|
<year>2000</year>
|
|
|
|
<month>1</month>
|
|
|
|
<day>1</day>
|
|
|
|
</datetime>
|
|
|
|
</property>
|
|
|
|
<property name="maximumDate">
|
|
|
|
<date>
|
|
|
|
<year>2000</year>
|
|
|
|
<month>1</month>
|
|
|
|
<day>1</day>
|
|
|
|
</date>
|
|
|
|
</property>
|
2013-11-18 18:00:39 +00:00
|
|
|
<property name="displayFormat">
|
|
|
|
<string>h:mm</string>
|
|
|
|
</property>
|
2013-11-18 13:53:05 +00:00
|
|
|
<property name="timeSpec">
|
|
|
|
<enum>Qt::LocalTime</enum>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="backwards">
|
|
|
|
<property name="text">
|
2013-11-18 18:00:39 +00:00
|
|
|
<string>earlier</string>
|
2013-11-18 13:53:05 +00:00
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<item>
|
|
|
|
<widget class="QRadioButton" name="forward">
|
|
|
|
<property name="text">
|
2013-11-18 18:00:39 +00:00
|
|
|
<string>later</string>
|
2013-11-18 13:53:05 +00:00
|
|
|
</property>
|
|
|
|
<property name="checked">
|
|
|
|
<bool>true</bool>
|
|
|
|
</property>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
</layout>
|
|
|
|
</widget>
|
|
|
|
</item>
|
|
|
|
<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>
|
2013-11-30 18:41:38 +00:00
|
|
|
<resources>
|
|
|
|
<include location="../subsurface.qrc"/>
|
|
|
|
</resources>
|
2013-11-18 13:53:05 +00:00
|
|
|
<connections>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>accepted()</signal>
|
|
|
|
<receiver>ShiftTimesDialog</receiver>
|
|
|
|
<slot>accept()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>248</x>
|
|
|
|
<y>254</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>157</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
<connection>
|
|
|
|
<sender>buttonBox</sender>
|
|
|
|
<signal>rejected()</signal>
|
|
|
|
<receiver>ShiftTimesDialog</receiver>
|
|
|
|
<slot>reject()</slot>
|
|
|
|
<hints>
|
|
|
|
<hint type="sourcelabel">
|
|
|
|
<x>316</x>
|
|
|
|
<y>260</y>
|
|
|
|
</hint>
|
|
|
|
<hint type="destinationlabel">
|
|
|
|
<x>286</x>
|
|
|
|
<y>274</y>
|
|
|
|
</hint>
|
|
|
|
</hints>
|
|
|
|
</connection>
|
|
|
|
</connections>
|
|
|
|
</ui>
|