I figured out my problem. In my QSortFilterProxyModel, I had to reimplement all the public methods from my model.
One other question, do I need to reimplement the mapToSource and mapFromSource in my QSortFilterProxyModel or will the base methods work?
I ask because I have not reimplemented them and when I set a certain location to expand in the tree view, it is expanding the wrong location in the view, so it's like it's getting the wrong indices for the items.




Reply With Quote


Bookmarks