[SOLVED] Multiple QCombobox signal/slot connection
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
Thanks a lot mrjj!!!! This really worked for me!!!