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

Add mimeTypeFilters to the FileDialog in QtQuick.Dialogs

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • None
    • Quick: Dialogs
    • None
    • All

    Description

      QFileDialog in widgets has a lot of features that are lacking in the qml FileDialog.

      One of which is the mimeTypeFilters getter and setter.

      We took inspiration from the dialogs in Qt.labs.platform when we created the API for QtQuick.Dialogs (in Qt 6, see https://www.qt.io/blog/dialogs-in-qt-quick).

      And as a result, the API differs greatly from both the widget API and even the qml API for dialogs in Qt 5.

      Unfortunately, the qml dialogs are lacking a lot of features that the widgets dialogs have, and it would be a good idea to slowly introduce more and more of those features, if they make sense to have in Qt Quick applications.

      Attachments

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

        Activity

          People

            hurlevent Oliver Eftevaag
            hurlevent Oliver Eftevaag
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes