View Full Version : QSortFilterProxyModel sorting and put in a "folder"

31st August 2012, 10:44
Hello everyone,

I've a QTreeView, which shows a part of a directory (filtered with QSortFilterProxyModel), now I want to filter data with ending (.png, .doc, ...) and put them into a folder (which is only displayed and not a real folder in the directory. I want to summarize all files of a specific ending and show only one entry. In addition I want to show the content of the folder if the mouse is over the folder (but I haven't tried that yet).

The problem is not the filtering, but the virtual folder ...

thank you very much for your help ;)