PDA

View Full Version : qcombobox intercept item selection



RolandHughes
25th February 2014, 04:48
This should be simple, maybe I'm just tired.

QCombobox. Need to intercept the selected item and stop it from updating the combobox index. Basically what has to happen is the selected value has to be sent out in a message to some other process/thread. If that process/thread says decides it is ok it will send some other message (not a signal) back to the container holding the combobox and the combo box is to be updated then.

It sounds like it should be simple. I suspect I need to override the changeEvent() handler, but do not see what event I should be catching.

Any thoughts?

Thanks,