34 |
34 |
35 def __updateOK(self): |
35 def __updateOK(self): |
36 """ |
36 """ |
37 Private method to update the status of the OK button. |
37 Private method to update the status of the OK button. |
38 """ |
38 """ |
39 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled( |
39 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( |
40 self.nameEdit.text() != "" and |
40 self.nameEdit.text() != "" and |
41 self.urlEdit.text() != "") |
41 self.urlEdit.text() != "") |
42 |
42 |
43 @pyqtSlot(str) |
43 @pyqtSlot(str) |
44 def on_nameEdit_textChanged(self, txt): |
44 def on_nameEdit_textChanged(self, txt): |