52 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( |
52 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( |
53 bool(self.newUrlEdit.text()) |
53 bool(self.newUrlEdit.text()) |
54 ) |
54 ) |
55 |
55 |
56 @pyqtSlot(str) |
56 @pyqtSlot(str) |
57 def on_newUrlEdit_textChanged(self, txt): |
57 def on_newUrlEdit_textChanged(self, _txt): |
58 """ |
58 """ |
59 Private slot handling changes of the entered URL. |
59 Private slot handling changes of the entered URL. |
60 |
60 |
61 @param txt current text |
61 @param _txt current text (unused) |
62 @type str |
62 @type str |
63 """ |
63 """ |
64 self.__updateOK() |
64 self.__updateOK() |
65 |
65 |
66 def getData(self): |
66 def getData(self): |