mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-06-23 15:30:45 -04:00
More stupid PyQt enums
This commit is contained in:
parent
700542e74a
commit
c40135d28c
@ -677,7 +677,7 @@ class EditorWidget(QTextEdit, LineEditECM): # {{{
|
|||||||
'will stop working if the file is moved.'))
|
'will stop working if the file is moved.'))
|
||||||
la.setWordWrap(True)
|
la.setWordWrap(True)
|
||||||
la.setStyleSheet('QLabel { margin-bottom: 1.5ex }')
|
la.setStyleSheet('QLabel { margin-bottom: 1.5ex }')
|
||||||
l.setWidget(0, l.SpanningRole, la)
|
l.setWidget(0, QFormLayout.ItemRole.SpanningRole, la)
|
||||||
l.addRow(_('Enter &URL:'), d.url)
|
l.addRow(_('Enter &URL:'), d.url)
|
||||||
l.addRow(_('Treat the URL as an &image'), d.treat_as_image)
|
l.addRow(_('Treat the URL as an &image'), d.treat_as_image)
|
||||||
l.addRow(_('Enter &name (optional):'), d.name)
|
l.addRow(_('Enter &name (optional):'), d.name)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user