aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets
diff options
context:
space:
mode:
authorGravatar Tim Segers <tsegers@pm.me>2021-09-10 21:25:48 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2021-09-22 09:09:12 -0700
commit10798c2a8d33c5c3c8ea99c88ee9b72e3b31c60d (patch)
tree5fe66f92157c477c61288f0ebe387f9da50dbcbd /desktop-widgets
parent4167b2ff14f560fb26a6789beed0c68941f14ab1 (diff)
downloadsubsurface-10798c2a8d33c5c3c8ea99c88ee9b72e3b31c60d.tar.gz
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>
Diffstat (limited to 'desktop-widgets')
-rw-r--r--desktop-widgets/shiftimagetimes.ui113
1 files changed, 58 insertions, 55 deletions
diff --git a/desktop-widgets/shiftimagetimes.ui b/desktop-widgets/shiftimagetimes.ui
index a2abf79da..67a24ba44 100644
--- a/desktop-widgets/shiftimagetimes.ui
+++ b/desktop-widgets/shiftimagetimes.ui
@@ -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>
- </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="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>
+ </widget>
+ </item>
+ <item>
+ <widget class="QGroupBox" name="groupBox2">
+ <property name="title">
+ <string>Use camera sync</string>
+ </property>
+ <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>