Details
-
Suggestion
-
Resolution: Out of scope
-
Not Evaluated
-
None
-
None
Description
It's not possible to define an exclude pattern, e.g. don't show "*.o" files in a QTreeView using QDirModel as backend. It would be nice to use a regex and choose to either include or exclude files matching the pattern.
For example, to include all files matching pattern:
model->setNameFilters( QRegExp( pattern ) );
To exclude all files matching pattern:
model->setExcludeNameFilters( QRegExp( pattern ) );