Hello,

I have 3 QComboBoxes:

Combo 0:
Combo 1:
Combo 2:

I have used a for loop to add them to the layout. Each comboBox has 2 items added to it. Using the connect function, when the index of the item is changed, then I call the slot function.

So far its clear. But, I would like to have access to the Combo box number as well in the slot function.

For example, when I change the index to 1 in Combo 2, then along with the index number = 1, how can I have access to the combobox number = 2 as well in the slot function?

Please guide.