What dou mean not working? are you sure the source model is set before that?model=sourceModel() <-- this is not working
What dou mean not working? are you sure the source model is set before that?model=sourceModel() <-- this is not working
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
I'm sure because everything is working, my delegate, my tableview, my model even filtering is working as I expect.
The only exception is that I cannot populate the combobox with the data because I cannot access the data in the main body of sortfilterproxymodel class.
Do you want to access filterted data, or the un-filtered data?
In most cases sourceModel is not required to be used, unless custom filterring is being employed?
I think it's time to see what you are doing to populate the combo box? Show us the code to populate the combo box.
When you know how to do it then you may do it wrong.
When you don't know how to do it then it is not that you may do it wrong but you may not do it right.
Bookmarks