54 self.keyEdit.installEventFilter(self) |
54 self.keyEdit.installEventFilter(self) |
55 self.alternateKeyEdit.installEventFilter(self) |
55 self.alternateKeyEdit.installEventFilter(self) |
56 |
56 |
57 self.buttonBox.button(QDialogButtonBox.Ok).installEventFilter(self) |
57 self.buttonBox.button(QDialogButtonBox.Ok).installEventFilter(self) |
58 self.buttonBox.button(QDialogButtonBox.Cancel).installEventFilter(self) |
58 self.buttonBox.button(QDialogButtonBox.Cancel).installEventFilter(self) |
|
59 |
|
60 msh = self.minimumSizeHint() |
|
61 self.resize(max(self.width(), msh.width()), msh.height()) |
59 |
62 |
60 def setKeys(self, key, alternateKey, noCheck, objectType): |
63 def setKeys(self, key, alternateKey, noCheck, objectType): |
61 """ |
64 """ |
62 Public method to set the key to be configured. |
65 Public method to set the key to be configured. |
63 |
66 |