mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Improvement in custom comments header position documentation
This commit is contained in:
parent
464030a796
commit
9ccabd206f
@ -88,8 +88,11 @@ class Configure(Dialog):
|
|||||||
h.addLayout(v)
|
h.addLayout(v)
|
||||||
|
|
||||||
self.l.addLayout(h)
|
self.l.addLayout(h)
|
||||||
self.l.addWidget(QLabel('<p>' + _(
|
txt = QLabel('<p>' + _(
|
||||||
'Note that <b>comments</b> will always be displayed at the end, regardless of the order you assign here')))
|
'Note: <b>comments</b>-like columns will always be displayed at '
|
||||||
|
'the end unless their "Heading position" is "Show heading to the side"')+'</p>')
|
||||||
|
txt.setWordWrap(True)
|
||||||
|
self.l.addWidget(txt)
|
||||||
|
|
||||||
b = self.bb.addButton(_('Restore &defaults'), QDialogButtonBox.ButtonRole.ActionRole)
|
b = self.bb.addButton(_('Restore &defaults'), QDialogButtonBox.ButtonRole.ActionRole)
|
||||||
b.clicked.connect(self.restore_defaults)
|
b.clicked.connect(self.restore_defaults)
|
||||||
|
@ -396,9 +396,13 @@ class CreateCustomColumn(QDialog):
|
|||||||
('side', _('Show heading to the side of the text'))
|
('side', _('Show heading to the side of the text'))
|
||||||
):
|
):
|
||||||
ct.addItem(text, k)
|
ct.addItem(text, k)
|
||||||
ct.setToolTip(_('Choose whether or not the column heading is shown in the Book\n'
|
ct.setToolTip('<p>' +
|
||||||
'details panel and, if shown, where'))
|
_('Choose whether or not the column heading is shown in the Book '
|
||||||
self.comments_heading_position_label = add_row(_('Column heading:'), ct)
|
'details panel and, if shown, where. Setting this to '
|
||||||
|
"'Show heading to the side of the text' moves the information "
|
||||||
|
"from dislayed with other comments to displayed with the "
|
||||||
|
"non-comments columns.") + '</p>')
|
||||||
|
self.comments_heading_position_label = add_row(_('Heading position:'), ct)
|
||||||
|
|
||||||
self.comments_type = ct = QComboBox(self)
|
self.comments_type = ct = QComboBox(self)
|
||||||
for k, text in (
|
for k, text in (
|
||||||
|
@ -817,10 +817,12 @@ A value of zero means calculate automatically.</string>
|
|||||||
</property>
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item row="4" column="0">
|
<item row="4" column="0" colspan="2">
|
||||||
<widget class="QLabel" name="label_3">
|
<widget class="QLabel" name="label_3">
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Note that <b>comments</b> will always be displayed at the end, regardless of the position you assign here.</string>
|
<string><p>Note: <b>comments</b>-like columns will always
|
||||||
|
be displayed at the end unless their "Heading position" is
|
||||||
|
"Show heading to the side".</p></string>
|
||||||
</property>
|
</property>
|
||||||
<property name="wordWrap">
|
<property name="wordWrap">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user