Exiting QComboBox and reading content
I have a few combo boxes. To read their content I use currentIndexChanged signal.
It works only when I press Enter. If I use the mouse or TAB to exit the combo box, the content is not read.
What should I do to read the content when exiting with TAB or a mouse click?
Does the current selected item change if you leave the combo box using tab or mouse?
Usually you have to select another entry in the combobox either via mouse or moving the selection and pressing enter.
If you just click in the combobox and then click somethere else then current index does not change and no signal is emitted.
It does change....
Isn't QComboBox::activated what you are looking for ?