summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Golubev <[email protected]>2024-02-21 00:13:18 +0300
committerMichele Calgaro <[email protected]>2024-02-22 18:29:31 +0900
commit0729233bab9b3df9f9ba2d908a5e623ae59b2226 (patch)
tree5a1f1e2b6a094c001e9a6af3be98f1045135b695
parentc42622ee638e6c422ec5b40e2eaee0fcfe2aceda (diff)
downloadgwenview-0729233bab9b3df9f9ba2d908a5e623ae59b2226.tar.gz
gwenview-0729233bab9b3df9f9ba2d908a5e623ae59b2226.zip
configimagelistpage: add whatsthis messages and keyboard accelerators
Signed-off-by: Alexander Golubev <[email protected]> (cherry picked from commit f4878aa42e44b76b9c7e68a24e06bdb7f38f2e31)
-rw-r--r--src/app/configimagelistpage.ui68
1 files changed, 50 insertions, 18 deletions
diff --git a/src/app/configimagelistpage.ui b/src/app/configimagelistpage.ui
index 892ec88..828119e 100644
--- a/src/app/configimagelistpage.ui
+++ b/src/app/configimagelistpage.ui
@@ -8,8 +8,8 @@
<rect>
<x>0</x>
<y>0</y>
- <width>352</width>
- <height>437</height>
+ <width>328</width>
+ <height>411</height>
</rect>
</property>
<property name="caption">
@@ -27,10 +27,7 @@
<cstring>kcfg_showDirs</cstring>
</property>
<property name="text">
- <string>Show folders and archives</string>
- </property>
- <property name="accel">
- <string>Alt+S</string>
+ <string>&amp;Show folders and archives</string>
</property>
<property name="whatsThis" stdset="0">
<string>If enabled, folders and archives will be displayed alongside images in the browse view.</string>
@@ -43,14 +40,11 @@
<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;For this option to work, you will need to have appropriate file plugins from &lt;i&gt;tdegraphics&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>
@@ -115,10 +109,10 @@
</sizepolicy>
</property>
<property name="text">
- <string>Margin between thumbnails:</string>
+ <string>&amp;Margin between thumbnails:</string>
</property>
<property name="buddy" stdset="0">
- <cstring></cstring>
+ <cstring>kcfg_thumbnailMarginSize</cstring>
</property>
</widget>
<widget class="TQSpinBox">
@@ -145,6 +139,9 @@
<property name="lineStep">
<number>1</number>
</property>
+ <property name="whatsThis" stdset="0">
+ <string>This is the distance in pixel between items in thumbnail view.</string>
+ </property>
</widget>
<spacer>
<property name="name">
@@ -203,7 +200,12 @@
<cstring>mShowFileName</cstring>
</property>
<property name="text">
- <string>File name</string>
+ <string>File &amp;name</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;Whether to display the filename in thumbnail view with information on the bottom.&lt;/p&gt;
+&lt;p&gt;
+In thumbnail view with text on the right, this is always displayed.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="3" column="1">
@@ -211,7 +213,17 @@
<cstring>mShowImageSize</cstring>
</property>
<property name="text">
- <string>Image size</string>
+ <string>&amp;Image size</string>
+ </property>
+ <property name="toolTip" stdset="0">
+ <string></string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;Whether to display the image dimensions in thumbnail view with information on the bottom if available.&lt;/p&gt;
+&lt;p&gt;
+The dimensions will be calculated when loading the previews. If the preview loading fails, the information will be queried from image metadata (if the "&lt;i&gt;Load metadata from files&lt;/i&gt;" option is enabled).&lt;/p&gt;
+&lt;p&gt;
+In thumbnail view with text on the right, this is always displayed.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="2" column="1">
@@ -219,7 +231,12 @@
<cstring>mShowFileSize</cstring>
</property>
<property name="text">
- <string>File size</string>
+ <string>File si&amp;ze</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;Whether to display the filesize in thumbnail view with information on the bottom.&lt;/p&gt;
+&lt;p&gt;
+In thumbnail view with text on the right, this is always displayed.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox" row="1" column="1">
@@ -227,7 +244,14 @@
<cstring>mShowFileDate</cstring>
</property>
<property name="text">
- <string>File date</string>
+ <string>File &amp;date</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;Whether to display the file's timestamp in thumbnail view with information on the bottom.&lt;/p&gt;
+&lt;p&gt;
+If "&lt;i&gt;Load metadata from files&lt;/i&gt;" option is enabled and the metadata is available in the file this will display file creation date. Otherwice the file modification time (mtime) will be used instead.&lt;/p&gt;
+&lt;p&gt;
+In thumbnail view with text on the right, this is always displayed.&lt;/p&gt;</string>
</property>
</widget>
</grid>
@@ -270,7 +294,12 @@
<cstring>kcfg_storeThumbnailsInCache</cstring>
</property>
<property name="text">
- <string>Store thumbnails in cache</string>
+ <string>Store thumbnails in &amp;cache</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>&lt;p&gt;Save generated thumbnails in the dedicated cache directory. This will speed up the thumbnail load in the future.&lt;/p&gt;
+&lt;p&gt;
+The cache directory is usually located in &lt;i&gt;~/.tumbnails&lt;/i&gt;.&lt;/p&gt;</string>
</property>
</widget>
<widget class="TQCheckBox">
@@ -278,7 +307,10 @@
<cstring>kcfg_deleteCacheOnExit</cstring>
</property>
<property name="text">
- <string>Automatically empty thumbnail cache on exit</string>
+ <string>Automatically &amp;empty thumbnail cache on exit</string>
+ </property>
+ <property name="whatsThis" stdset="0">
+ <string>If this option is enabled, all the files in the thumbnail cache directory will be removed on exit from the gwenview.</string>
</property>
</widget>
<widget class="TQLayoutWidget">