summaryrefslogtreecommitdiffstats
path: root/src/app
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2024-02-21 00:11:00 +0300
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-02-22 18:29:31 +0900
commitc42622ee638e6c422ec5b40e2eaee0fcfe2aceda (patch)
tree5c99bc7f223bff12a7ae81d1249350d600ed4a5a /src/app
parent8f266257f363ae82590d6198f9adf654270b2a90 (diff)
downloadgwenview-c42622ee638e6c422ec5b40e2eaee0fcfe2aceda.tar.gz
gwenview-c42622ee638e6c422ec5b40e2eaee0fcfe2aceda.zip
Make metadata loading optional
See: https://mirror.git.trinitydesktop.org/gitea/TDE/gwenview/issues/17#issuecomment-44076 Signed-off-by: Alexander Golubev <fatzer2@gmail.com> (cherry picked from commit 13d26b59848dce276051f8f322bf82d291aa0c23)
Diffstat (limited to 'src/app')
-rw-r--r--src/app/configimagelistpage.ui27
1 files changed, 26 insertions, 1 deletions
diff --git a/src/app/configimagelistpage.ui b/src/app/configimagelistpage.ui
index 01cfe95..892ec88 100644
--- a/src/app/configimagelistpage.ui
+++ b/src/app/configimagelistpage.ui
@@ -1,4 +1,4 @@
-<!DOCTYPE UI><UI version="3.2" stdsetdef="1">
+<!DOCTYPE UI><UI version="3.3" stdsetdef="1">
<class>ConfigImageListPage</class>
<widget class="TQWidget">
<property name="name">
@@ -29,6 +29,31 @@
<property name="text">
<string>Show folders and archives</string>
</property>
+ <property name="accel">
+ <string>Alt+S</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>If enabled, folders and archives will be displayed alongside images in the browse view.</string>
+ </property>
+ </widget>
+ <widget class="TQCheckBox">
+ <property name="name">
+ <cstring>kcfg_loadMetadata</cstring>
+ </property>
+ <property name="text">
+ <string>Load &amp;metadata from files</string>
+ </property>
+ <property name="accel">
+ <string>Alt+M</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;This will cause metadata to be loaded from all the files in the current folder.&lt;/p&gt;
+&lt;p&gt;The metadata will be used to display the creation timestamp of the image instead of the file's mtime. Also, if the preview load fails, it may be used to display the image dimensions as a fallback.
+&lt;/p&gt;
+&lt;p&gt;For this option to work, you will need to have appropriate file plugins from &lt;i&gt;&lt;/i&gt; to be installed.
+&lt;/p&gt;
+&lt;p&gt;This may have some performance impact when browsing very large folders.&lt;/p&gt;</string>
+ </property>
</widget>
<spacer>
<property name="name">