58 |
58 |
59 msh = self.minimumSizeHint() |
59 msh = self.minimumSizeHint() |
60 self.resize(max(self.width(), msh.width()), msh.height()) |
60 self.resize(max(self.width(), msh.width()), msh.height()) |
61 |
61 |
62 @pyqtSlot(str) |
62 @pyqtSlot(str) |
63 def on_commandCombo_editTextChanged(self, text): |
63 def on_commandCombo_editTextChanged(self, _text): |
64 """ |
64 """ |
65 Private method used to enable/disable the OK-button. |
65 Private method used to enable/disable the OK-button. |
66 |
66 |
67 @param text text of the combobox |
67 @param _text text of the combobox (unused) |
68 @type str |
68 @type str |
69 """ |
69 """ |
70 self.okButton.setDisabled(self.commandCombo.currentText() == "") |
70 self.okButton.setDisabled(self.commandCombo.currentText() == "") |
71 |
71 |
72 def getData(self): |
72 def getData(self): |