46 @pyqtSlot(str) |
46 @pyqtSlot(str) |
47 def on_nameEdit_textChanged(self, text): |
47 def on_nameEdit_textChanged(self, text): |
48 """ |
48 """ |
49 Private slot to react to changes of the name. |
49 Private slot to react to changes of the name. |
50 |
50 |
51 @param text text entered into the edit (QString) |
51 @param text text entered into the edit (string) |
52 """ |
52 """ |
53 self.__okButton.setEnabled(text != "") |
53 self.__okButton.setEnabled(text != "") |
54 |
54 |
55 @pyqtSlot(QAbstractButton) |
55 @pyqtSlot(QAbstractButton) |
56 def on_buttonBox_clicked(self, button): |
56 def on_buttonBox_clicked(self, button): |