[Qt-interest] little help with QFileSystemModel

Andre Somers andre at familiesomers.nl
Wed Feb 15 20:14:05 CET 2012


Op 15-2-2012 20:05, Mandaya Prakash schreef:
> Andre and Ravi
> enabling disabling name filters does not help.
> So even if scaning whole the file system model is costly do we have 
> any api for that or any other way you can think of which can help me.
>
No, there is no standard API for that. I did however write a proxy model 
to filter a tree, but that one is far, far from usable on a huge, deep 
model like a QFileSystemModel. It is *way* too inefficient for that, 
though there are opportunities for optimizations, I think. You can find 
the relevant topic here: 
http://developer.qt.nokia.com/forums/viewthread/7782

André




More information about the Qt-interest-old mailing list