mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 18:54:09 -04:00
Add a tooltip explaining that you can create a compound icon by separating the file names with a colon.
This commit is contained in:
parent
7b6c56befe
commit
7ae8ad6dde
@ -276,6 +276,7 @@ class TemplateDialog(QDialog, Ui_TemplateDialog):
|
|||||||
self.colored_field.setCurrentIndex(self.colored_field.findData(color_field))
|
self.colored_field.setCurrentIndex(self.colored_field.findData(color_field))
|
||||||
elif self.iconing or self.embleming:
|
elif self.iconing or self.embleming:
|
||||||
self.icon_layout.setVisible(True)
|
self.icon_layout.setVisible(True)
|
||||||
|
self.icon_select_layout.setContentsMargins(0, 0, 0, 0)
|
||||||
if self.embleming:
|
if self.embleming:
|
||||||
self.icon_kind_label.setVisible(False)
|
self.icon_kind_label.setVisible(False)
|
||||||
self.icon_kind.setVisible(False)
|
self.icon_kind.setVisible(False)
|
||||||
|
@ -76,7 +76,7 @@
|
|||||||
<widget class="QWidget" name="icon_layout">
|
<widget class="QWidget" name="icon_layout">
|
||||||
<layout class="QGridLayout">
|
<layout class="QGridLayout">
|
||||||
<item row="0" column="0" colspan="2">
|
<item row="0" column="0" colspan="2">
|
||||||
<layout class="QHBoxLayout">
|
<layout class="QHBoxLayout" name="icon_kind_layout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QLabel" name="icon_kind_label">
|
<widget class="QLabel" name="icon_kind_label">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
@ -110,15 +110,21 @@
|
|||||||
<string>Copy an icon file name to the clipboard:</string>
|
<string>Copy an icon file name to the clipboard:</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="buddy">
|
<property name="buddy">
|
||||||
<cstring>color_name</cstring>
|
<cstring>icon_files</cstring>
|
||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="2" column="1">
|
<item row="2" column="1">
|
||||||
<widget class="QWidget">
|
<widget class="QWidget">
|
||||||
<layout class="QHBoxLayout">
|
<layout class="QHBoxLayout" name="icon_select_layout">
|
||||||
<item>
|
<item>
|
||||||
<widget class="QComboBox" name="icon_files">
|
<widget class="QComboBox" name="icon_files">
|
||||||
|
<property name="toolTip">
|
||||||
|
<string><p>The template must return the name of the icon file
|
||||||
|
to display. If you wish to display multiple icons, separate the
|
||||||
|
individual icon file names with a ':' (colon). They will all be
|
||||||
|
displayed on the column</p></string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user