54 (bool(self.textEdit.text()) or self.__allowEmptyText) |
54 (bool(self.textEdit.text()) or self.__allowEmptyText) |
55 and (bool(self.targetEdit.text()) or self.__allowEmptyTarget) |
55 and (bool(self.targetEdit.text()) or self.__allowEmptyTarget) |
56 ) |
56 ) |
57 |
57 |
58 @pyqtSlot(str) |
58 @pyqtSlot(str) |
59 def on_textEdit_textChanged(self, txt): |
59 def on_textEdit_textChanged(self, _txt): |
60 """ |
60 """ |
61 Private slot handling a change of the link text. |
61 Private slot handling a change of the link text. |
62 |
62 |
63 @param txt link text |
63 @param _txt link text (unused) |
64 @type str |
64 @type str |
65 """ |
65 """ |
66 self.__updateOkButton() |
66 self.__updateOkButton() |
67 |
67 |
68 @pyqtSlot(str) |
68 @pyqtSlot(str) |
69 def on_targetEdit_textChanged(self, txt): |
69 def on_targetEdit_textChanged(self, _txt): |
70 """ |
70 """ |
71 Private slot handling a change of the link target. |
71 Private slot handling a change of the link target. |
72 |
72 |
73 @param txt link target |
73 @param _txt link target (unused) |
74 @type str |
74 @type str |
75 """ |
75 """ |
76 self.__updateOkButton() |
76 self.__updateOkButton() |
77 |
77 |
78 def getData(self): |
78 def getData(self): |