51 Private slot to react upon changes of the selected entry. |
51 Private slot to react upon changes of the selected entry. |
52 |
52 |
53 @param txt text of the selected entry |
53 @param txt text of the selected entry |
54 @type str |
54 @type str |
55 """ |
55 """ |
56 self.buttonBox.button(QDialogButtonBox.Ok).setEnabled(bool(txt)) |
56 self.buttonBox.button( |
|
57 QDialogButtonBox.StandardButton.Ok).setEnabled(bool(txt)) |
57 |
58 |
58 def getSelection(self): |
59 def getSelection(self): |
59 """ |
60 """ |
60 Public method to retrieve the selected item and its data. |
61 Public method to retrieve the selected item and its data. |
61 |
62 |