Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
None
-
None
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.