Preferences/ShortcutDialog.py

changeset 3539
0c2dc1446ebf
parent 3484
645c12de6b0c
child 3591
2f2a4a76dd22
equal deleted inserted replaced
3538:33a75660df08 3539:0c2dc1446ebf
60 self.buttonBox.button(QDialogButtonBox.Cancel).installEventFilter(self) 60 self.buttonBox.button(QDialogButtonBox.Cancel).installEventFilter(self)
61 61
62 msh = self.minimumSizeHint() 62 msh = self.minimumSizeHint()
63 self.resize(max(self.width(), msh.width()), msh.height()) 63 self.resize(max(self.width(), msh.width()), msh.height())
64 64
65 def setKeys(self, key, alternateKey, noCheck, objectType): 65 def setKeys(self, key, alternateKey, noCheck, objectType):
66 """ 66 """
67 Public method to set the key to be configured. 67 Public method to set the key to be configured.
68 68
69 @param key key sequence to be changed (QKeySequence) 69 @param key key sequence to be changed (QKeySequence)
70 @param alternateKey alternate key sequence to be changed (QKeySequence) 70 @param alternateKey alternate key sequence to be changed (QKeySequence)

eric ide

mercurial