mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
5b53a49ba1
commit
4bd400c7d6
@ -35,10 +35,9 @@ class Region(QDialog):
|
|||||||
self.const_aspect = ca = QCheckBox(_('Keep the ratio of width to height fixed'))
|
self.const_aspect = ca = QCheckBox(_('Keep the ratio of width to height fixed'))
|
||||||
ca.toggled.connect(self.const_aspect_toggled)
|
ca.toggled.connect(self.const_aspect_toggled)
|
||||||
l.addRow(ca)
|
l.addRow(ca)
|
||||||
k = QKeySequence('alt+1', QKeySequence.SequenceFormat.PortableText)
|
k = QKeySequence('alt+1', QKeySequence.SequenceFormat.PortableText).toString(QKeySequence.SequenceFormat.NativeText).partition('+')[0]
|
||||||
la = QLabel('<p>'+_('Note that holding down the {} key while dragging the selection handles'
|
la = QLabel('<p>'+_('Note that holding down the {} key while dragging the selection handles'
|
||||||
' will resize the selection while preserving its aspect ratio.').format(
|
' will resize the selection while preserving its aspect ratio.').format(k))
|
||||||
k.toString(QKeySequence.SequenceFormat.NativeText)))
|
|
||||||
la.setWordWrap(True)
|
la.setWordWrap(True)
|
||||||
la.setMinimumWidth(400)
|
la.setMinimumWidth(400)
|
||||||
l.addRow(la)
|
l.addRow(la)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user