42 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( |
42 self.buttonBox.button(QDialogButtonBox.StandardButton.Ok).setEnabled( |
43 bool(self.leftEdit.text()) and bool(self.rightEdit.text()) |
43 bool(self.leftEdit.text()) and bool(self.rightEdit.text()) |
44 ) |
44 ) |
45 |
45 |
46 @pyqtSlot(str) |
46 @pyqtSlot(str) |
47 def on_leftEdit_textChanged(self, txt): |
47 def on_leftEdit_textChanged(self, _txt): |
48 """ |
48 """ |
49 Private slot to handle a change of the text of the left side edit. |
49 Private slot to handle a change of the text of the left side edit. |
50 |
50 |
51 @param txt text of the line edit |
51 @param _txt text of the line edit (unused) |
52 @type str |
52 @type str |
53 """ |
53 """ |
54 self.__updateOkButton() |
54 self.__updateOkButton() |
55 |
55 |
56 @pyqtSlot(str) |
56 @pyqtSlot(str) |
57 def on_rightEdit_textChanged(self, txt): |
57 def on_rightEdit_textChanged(self, _txt): |
58 """ |
58 """ |
59 Private slot to handle a change of the text of the right side edit. |
59 Private slot to handle a change of the text of the right side edit. |
60 |
60 |
61 @param txt text of the line edit |
61 @param _txt text of the line edit (unused) |
62 @type str |
62 @type str |
63 """ |
63 """ |
64 self.__updateOkButton() |
64 self.__updateOkButton() |
65 |
65 |
66 def getData(self): |
66 def getData(self): |