desktop/image-time-shift: reorder UI

The camera sync feature has been moved above the Ok and Cancel buttons
and given its own descriptive header. The checkbox to ignore unaligned
image timestamps has been moved closer to the buttons.

Signed-off-by: Tim Segers <tsegers@pm.me>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tim Segers 2021-09-10 21:25:48 +02:00 committed by Dirk Hohndel
parent 4167b2ff14
commit 10798c2a8d

View file

@ -55,61 +55,16 @@
</property>
</widget>
</item>
<item>
<widget class="QLabel" name="warningLabel">
<property name="enabled">
<bool>true</bool>
</property>
<property name="styleSheet">
<string notr="true">color: red;</string>
</property>
<property name="text">
<string>Warning!
Not all media files have timestamps in the range between
30 minutes before the start and 30 minutes after the end of any selected dive.</string>
</property>
</layout>
</widget>
</item>
<item>
<widget class="QCheckBox" name="matchAllImages">
<property name="text">
<string>Load media files even if the time does not match the dive time</string>
<widget class="QGroupBox" name="groupBox2">
<property name="title">
<string>Use camera sync</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="invalidFilesText">
<property name="styleSheet">
<string notr="true">color: red; </string>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="text" stdset="0">
<string/>
</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>
<layout class="QVBoxLayout" name="verticalLayout2">
<item>
<widget class="QLabel" name="label">
<property name="maximumSize">
@ -196,6 +151,54 @@ Not all media files have timestamps in the range between
</layout>
</widget>
</item>
<item>
<widget class="QLabel" name="warningLabel">
<property name="enabled">
<bool>true</bool>
</property>
<property name="styleSheet">
<string notr="true">color: red;</string>
</property>
<property name="text">
<string>Warning!
Not all media files have timestamps in the range between
30 minutes before the start and 30 minutes after the end of any selected dive.</string>
</property>
</widget>
</item>
<item>
<widget class="QTextEdit" name="invalidFilesText">
<property name="styleSheet">
<string notr="true">color: red; </string>
</property>
<property name="lineWrapMode">
<enum>QTextEdit::NoWrap</enum>
</property>
<property name="readOnly">
<bool>true</bool>
</property>
<property name="text" stdset="0">
<string/>
</property>
</widget>
</item>
<item>
<widget class="QCheckBox" name="matchAllImages">
<property name="text">
<string>Load media files even if the time does not match the dive time</string>
</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>
</layout>
</widget>
<resources>