Change index of QComboBox delegate in a QTreeView ?
Hi,
I have a problem with my code : I have QComboBox delegate that I've managed to configure almost perfectly. But I just don't know how to change the QComboBox index from the QTreeView associated model. Does anyone know how can I achieve this ?
I hope I am clear enough.
Thanks for your help
Re: Change index of QComboBox delegate in a QTreeView ?
The delegate should get a call to its setEditorData() method when the data of the cell changes, allowing you to set the appropriate combobox index.
Cheers,
_