summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/shiftimagetimes.ui
diff options
context:
space:
mode:
authorGravatar Stefan Fuchs <sfuchs@gmx.de>2017-04-30 20:31:56 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-04-30 12:44:58 -0700
commitfff253e8cfe500482a3fc2b6b59a2b20677f19ff (patch)
treeef7e515c82ce856727738d1535325b7d5e0ef6cb /desktop-widgets/shiftimagetimes.ui
parent9084bbae578b3996d8e8c7adb74ef9bb25da6720 (diff)
downloadsubsurface-fff253e8cfe500482a3fc2b6b59a2b20677f19ff.tar.gz
Picture feature: Improve UI and translation of shift image times dialog
For the list of pictures with inappropriate date/time not fitting with the dive time use a QTextEdit in read only mode with scroll bars enabled instead of a QLabel. Also update and translate some strings used there. Signed-off-by: Stefan Fuchs <sfuchs@gmx.de>
Diffstat (limited to 'desktop-widgets/shiftimagetimes.ui')
-rw-r--r--desktop-widgets/shiftimagetimes.ui12
1 files changed, 9 insertions, 3 deletions
diff --git a/desktop-widgets/shiftimagetimes.ui b/desktop-widgets/shiftimagetimes.ui
index 0478a62b4..be09c23c1 100644
--- a/desktop-widgets/shiftimagetimes.ui
+++ b/desktop-widgets/shiftimagetimes.ui
@@ -10,7 +10,7 @@
<x>0</x>
<y>0</y>
<width>693</width>
- <height>606</height>
+ <height>600</height>
</rect>
</property>
<property name="sizePolicy">
@@ -139,11 +139,17 @@ Not all images have timestamps in the range between
</widget>
</item>
<item>
- <widget class="QLabel" name="invalidLabel">
+ <widget class="QTextEdit" name="invalidFilesText">
<property name="styleSheet">
<string notr="true">color: red; </string>
</property>
- <property name="text">
+ <property name="lineWrapMode">
+ <enum>QTextEdit::NoWrap</enum>
+ </property>
+ <property name="readOnly">
+ <bool>true</bool>
+ </property>
+ <property name="text" stdset="0">
<string/>
</property>
</widget>