eric6/E5Gui/E5ComboSelectionDialog.py

changeset 8143
2c730d5fd177
parent 8038
73ec029d4107
child 8218
7c09585bd960
equal deleted inserted replaced
8141:27f636beebad 8143:2c730d5fd177
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

eric ide

mercurial