67 |
67 |
68 msh = self.minimumSizeHint() |
68 msh = self.minimumSizeHint() |
69 self.resize(max(self.width(), msh.width()), msh.height()) |
69 self.resize(max(self.width(), msh.width()), msh.height()) |
70 |
70 |
71 @pyqtSlot(str) |
71 @pyqtSlot(str) |
72 def on_commandCombo_editTextChanged(self, text): |
72 def on_commandCombo_editTextChanged(self, _text): |
73 """ |
73 """ |
74 Private method used to enable/disable the OK-button. |
74 Private method used to enable/disable the OK-button. |
75 |
75 |
76 @param text text of the command combobox |
76 @param _text text of the command combobox (unused) |
77 @type str |
77 @type str |
78 """ |
78 """ |
79 self.okButton.setDisabled(self.commandCombo.currentText() == "") |
79 self.okButton.setDisabled(self.commandCombo.currentText() == "") |
80 |
80 |
81 def getData(self): |
81 def getData(self): |