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) |