How can I get the selected VALUE out of a QCombobox?
https://stackoverflow.com/questions/2056915/how-can-i-get-the-selected-value-out-of-a-qcombobox
WEBqcombobox. edited Sep 9, 2018 at 6:05. asked Jan 13, 2010 at 13:32. sabbour. 4,979 6 35 33. 13 Answers. Sorted by: 104. It seems you need to do combobox->itemData(combobox->currentIndex()) if you want to get the current data of the QComboBox. If you are using your own class derived from QComboBox, you can add a currentData() function.
DA: 85 PA: 50 MOZ Rank: 41