mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 13:10:19 +00:00
bbb071f1e8
Signed-off-by: Robert C. Helling <helling@atdotde.de> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
259 lines
6.8 KiB
XML
259 lines
6.8 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<ui version="4.0">
|
|
<class>ShiftImageTimesDialog</class>
|
|
<widget class="QDialog" name="ShiftImageTimesDialog">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<width>693</width>
|
|
<height>606</height>
|
|
</rect>
|
|
</property>
|
|
<property name="sizePolicy">
|
|
<sizepolicy hsizetype="Minimum" vsizetype="Minimum">
|
|
<horstretch>0</horstretch>
|
|
<verstretch>0</verstretch>
|
|
</sizepolicy>
|
|
</property>
|
|
<property name="windowTitle">
|
|
<string>Shift selected times</string>
|
|
</property>
|
|
<property name="windowIcon">
|
|
<iconset>
|
|
<normalon>:/subsurface-icon</normalon>
|
|
</iconset>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout_2">
|
|
<item>
|
|
<widget class="QGroupBox" name="groupBox">
|
|
<property name="title">
|
|
<string>Shift times of image(s) by</string>
|
|
</property>
|
|
<layout class="QVBoxLayout" name="verticalLayout">
|
|
<item>
|
|
<widget class="QTimeEdit" name="timeEdit">
|
|
<property name="date">
|
|
<date>
|
|
<year>2000</year>
|
|
<month>1</month>
|
|
<day>1</day>
|
|
</date>
|
|
</property>
|
|
<property name="maximumDateTime">
|
|
<datetime>
|
|
<hour>23</hour>
|
|
<minute>59</minute>
|
|
<second>59</second>
|
|
<year>2010</year>
|
|
<month>12</month>
|
|
<day>31</day>
|
|
</datetime>
|
|
</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>2010</year>
|
|
<month>12</month>
|
|
<day>31</day>
|
|
</date>
|
|
</property>
|
|
<property name="minimumDate">
|
|
<date>
|
|
<year>2000</year>
|
|
<month>1</month>
|
|
<day>1</day>
|
|
</date>
|
|
</property>
|
|
<property name="maximumTime">
|
|
<time>
|
|
<hour>23</hour>
|
|
<minute>59</minute>
|
|
<second>59</second>
|
|
</time>
|
|
</property>
|
|
<property name="minimumTime">
|
|
<time>
|
|
<hour>0</hour>
|
|
<minute>0</minute>
|
|
<second>0</second>
|
|
</time>
|
|
</property>
|
|
<property name="timeSpec">
|
|
<enum>Qt::LocalTime</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="backwards">
|
|
<property name="text">
|
|
<string>earlier</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QRadioButton" name="forward">
|
|
<property name="text">
|
|
<string>later</string>
|
|
</property>
|
|
<property name="checked">
|
|
<bool>true</bool>
|
|
</property>
|
|
</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>
|
|
<item>
|
|
<widget class="Line" name="line">
|
|
<property name="orientation">
|
|
<enum>Qt::Horizontal</enum>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QLabel" name="label">
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
<property name="layoutDirection">
|
|
<enum>Qt::LeftToRight</enum>
|
|
</property>
|
|
<property name="text">
|
|
<string>To compute the offset between the clocks of your dive computer and your camera use your camera to take a picture of your dive compuer displaying the current time. Download that image to your computer and press this button.</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QPushButton" name="syncCamera">
|
|
<property name="toolTip">
|
|
<string>Determine camera time offset</string>
|
|
</property>
|
|
<property name="text">
|
|
<string>Select image of divecomputer showing time</string>
|
|
</property>
|
|
</widget>
|
|
</item>
|
|
<item>
|
|
<widget class="QGroupBox" name="displayDC">
|
|
<property name="enabled">
|
|
<bool>false</bool>
|
|
</property>
|
|
<property name="title">
|
|
<string/>
|
|
</property>
|
|
<widget class="QDateTimeEdit" name="dcTime">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>70</y>
|
|
<width>161</width>
|
|
<height>24</height>
|
|
</rect>
|
|
</property>
|
|
</widget>
|
|
<widget class="QLabel" name="label_2">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>0</x>
|
|
<y>10</y>
|
|
<width>234</width>
|
|
<height>60</height>
|
|
</rect>
|
|
</property>
|
|
<property name="maximumSize">
|
|
<size>
|
|
<width>16777215</width>
|
|
<height>60</height>
|
|
</size>
|
|
</property>
|
|
<property name="text">
|
|
<string>Which date and time are displayed on the image?</string>
|
|
</property>
|
|
<property name="wordWrap">
|
|
<bool>true</bool>
|
|
</property>
|
|
</widget>
|
|
<widget class="QGraphicsView" name="DCImage">
|
|
<property name="geometry">
|
|
<rect>
|
|
<x>260</x>
|
|
<y>10</y>
|
|
<width>361</width>
|
|
<height>281</height>
|
|
</rect>
|
|
</property>
|
|
<property name="verticalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
<property name="horizontalScrollBarPolicy">
|
|
<enum>Qt::ScrollBarAlwaysOff</enum>
|
|
</property>
|
|
</widget>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
</item>
|
|
</layout>
|
|
</widget>
|
|
<resources>
|
|
<include location="../subsurface.qrc"/>
|
|
</resources>
|
|
<connections>
|
|
<connection>
|
|
<sender>buttonBox</sender>
|
|
<signal>accepted()</signal>
|
|
<receiver>ShiftImageTimesDialog</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>ShiftImageTimesDialog</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>
|