Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-3082

Suggestion: exclude files with regexp filters in QDirModel

    XMLWordPrintable

Details

    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 ) );

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            Unassigned Unassigned
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes