mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
2495b77465
commit
0b2fe831da
@ -227,8 +227,12 @@ class PluginTweaks(QDialog): # {{{
|
|||||||
self.highlighter = PythonHighlighter(self.edit.document())
|
self.highlighter = PythonHighlighter(self.edit.document())
|
||||||
self.l = QVBoxLayout()
|
self.l = QVBoxLayout()
|
||||||
self.setLayout(self.l)
|
self.setLayout(self.l)
|
||||||
self.l.addWidget(QLabel(
|
self.msg = QLabel(
|
||||||
_('Add/edit tweaks for any custom plugins you have installed.')))
|
_('Add/edit tweaks for any custom plugins you have installed. '
|
||||||
|
'Documentation for these tweaks should be available '
|
||||||
|
'on the website from where you downloaded the plugins.'))
|
||||||
|
self.msg.setWordWrap(True)
|
||||||
|
self.l.addWidget(self.msg)
|
||||||
self.l.addWidget(self.edit)
|
self.l.addWidget(self.edit)
|
||||||
self.edit.setPlainText(raw)
|
self.edit.setPlainText(raw)
|
||||||
self.bb = QDialogButtonBox(QDialogButtonBox.Ok|QDialogButtonBox.Cancel,
|
self.bb = QDialogButtonBox(QDialogButtonBox.Ok|QDialogButtonBox.Cancel,
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user