Getting all items of QComboBox - PyQt4 (Python)
As far as I can tell, you can just reference an item using .itemText()
:
AllItems = [QComboBoxName.itemText(i) for i in range(QComboBoxName.count())]
As far as I can tell, you can just reference an item using .itemText()
:
AllItems = [QComboBoxName.itemText(i) for i in range(QComboBoxName.count())]