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

Suggestion: Add built-in support for QFileSystemModel to QCompleter

    XMLWordPrintable

Details

    Description

      The QCompleter object has built-in support for the QDirModel in functions such as splitPath(), pathFromIndex(), and a number of other functions. However, QDirModel is synchronous and tends to lock up the GUI thread while it is populating, which is exactly what you don't want to do when the user is typing into an edit field. Since QFileSystemModel serves a similar purpose to QDirModel but does so asynchronously, and there is already precedent for QDirModel having special support in QCompleter, it would seem that support for QFileSystemModel could also fit in without too much trouble.

      Attachments

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

        Activity

          People

            menard Alexis Menard (closed Nokia identity) (Inactive)
            dettman Dean Dettman (Inactive)
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes