[SOLVED] Multiple QCombobox signal/slot connection
navap last edited by navap
I have a QTableView with QComboboxes for each of column on its first row. I have registered currentIndexChanged() signal to its respective slots for each comboboxes. The number of comboboxes is dynamic. Is there any way to receive handle of the combobox that calls currentIndexChanged()?
Thanks a lot in Advance!
Hi and welcome
You can get the sender using QObject::sender() and cast it to a combobox.
or use a SignalMapper
navap last edited by
Thanks a lot mrjj!!!! This really worked for me!!!