mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Small change to help text. Add tooltip to wizard button. Have tag column expand in tag wizard when resizing dialog.
This commit is contained in:
parent
3265f5e8c2
commit
99ad2c86b5
@ -63,6 +63,7 @@ class TagWizard(QDialog):
|
|||||||
self.tags = tags
|
self.tags = tags
|
||||||
l = QGridLayout()
|
l = QGridLayout()
|
||||||
self.setLayout(l)
|
self.setLayout(l)
|
||||||
|
l.setColumnStretch(0, 1)
|
||||||
l.addWidget(QLabel(_('Tag Value')), 0, 0, 1, 1)
|
l.addWidget(QLabel(_('Tag Value')), 0, 0, 1, 1)
|
||||||
l.addWidget(QLabel(_('Color')), 0, 1, 1, 1)
|
l.addWidget(QLabel(_('Color')), 0, 1, 1, 1)
|
||||||
self.tagboxes = []
|
self.tagboxes = []
|
||||||
|
@ -167,8 +167,8 @@ class ConfigWidget(ConfigWidgetBase, Ui_Form):
|
|||||||
'<a href="http://calibre-ebook.com/user_manual/template_lang.html">'
|
'<a href="http://calibre-ebook.com/user_manual/template_lang.html">'
|
||||||
'tutorial</a> on using templates.') +
|
'tutorial</a> on using templates.') +
|
||||||
'</p><p>' +
|
'</p><p>' +
|
||||||
_('If you want to color a field based on tags, then right-click '
|
_('If you want to color a field based on tags, then click the '
|
||||||
'in an empty template line and choose tags wizard. '
|
'button next to an empty line to open the tags wizard. '
|
||||||
'It will build a template for you. You can later edit that '
|
'It will build a template for you. You can later edit that '
|
||||||
'template with the same wizard. If you edit it by hand, the '
|
'template with the same wizard. If you edit it by hand, the '
|
||||||
'wizard might not work or might restore old values.') +
|
'wizard might not work or might restore old values.') +
|
||||||
|
@ -442,6 +442,9 @@ then the tags will be displayed each on their own line.</string>
|
|||||||
<iconset resource="../../../../resources/images.qrc">
|
<iconset resource="../../../../resources/images.qrc">
|
||||||
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open the tags wizard.</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="3" column="0">
|
<item row="3" column="0">
|
||||||
@ -456,6 +459,9 @@ then the tags will be displayed each on their own line.</string>
|
|||||||
<iconset resource="../../../../resources/images.qrc">
|
<iconset resource="../../../../resources/images.qrc">
|
||||||
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open the tags wizard.</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="4" column="0">
|
||||||
@ -470,6 +476,9 @@ then the tags will be displayed each on their own line.</string>
|
|||||||
<iconset resource="../../../../resources/images.qrc">
|
<iconset resource="../../../../resources/images.qrc">
|
||||||
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open the tags wizard.</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="5" column="0">
|
<item row="5" column="0">
|
||||||
@ -484,6 +493,9 @@ then the tags will be displayed each on their own line.</string>
|
|||||||
<iconset resource="../../../../resources/images.qrc">
|
<iconset resource="../../../../resources/images.qrc">
|
||||||
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open the tags wizard.</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="6" column="0">
|
<item row="6" column="0">
|
||||||
@ -498,6 +510,9 @@ then the tags will be displayed each on their own line.</string>
|
|||||||
<iconset resource="../../../../resources/images.qrc">
|
<iconset resource="../../../../resources/images.qrc">
|
||||||
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
<normaloff>:/images/wizard.png</normaloff>:/images/wizard.png</iconset>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="toolTip">
|
||||||
|
<string>Open the tags wizard.</string>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="20" column="0">
|
<item row="20" column="0">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user