How to update Qcombobox delegate ?
-
Hi,
I have Qcombobox delegate and using that to set delegate for a row in a Qtableview (Qabstractitemmodel).
but i have to access the combobox delegate to change index in combobox.
How can i access the combobox an update the index ? this index is update on some conditionI have tried findchild and indexWidget and tried to access delegate but not succeed to get the index.
ComboDelegate* itemDelegate = (ComboDelegate*)m_DataView->itemDelegateForRow(5);
Plz suggest how to do..
Thankyou -
Hi,
When do you want to change the index ?
-
@SGaist I have one more combo box[outside qtableview not a delegate] with that change in selection I have to update combo delegate [this is in qtableview] index.