Preferences/ShortcutDialog.py

changeset 3366
6084bb3c3911
parent 3345
071afe8be2a1
child 3484
645c12de6b0c
equal deleted inserted replaced
3364:5dafcc891579 3366:6084bb3c3911
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

eric ide

mercurial