Details
-
Suggestion
-
Resolution: Unresolved
-
P2: Important
-
None
-
6.5.0 FF
-
None
Description
Mime-type filtering was added for 5.2 in https://codereview.qt-project.org/c/qt/qtbase/+/63345 but the static functions were not improved in this way. So the most-convenient API to open a file with a one-liner does not take advantage of the built-in translations (so that "Text files (*.txt)" or whatever will always be provided by Qt, and translated the same way): users need to create and exec() an actual instance to take advantage of the new API. That's unfortunate, and leads to complicating our own examples too, as in https://codereview.qt-project.org/c/qt/qtwebengine/+/431180/2
Attachments
Issue Links
- relates to
-
QTBUG-106386 QFileDialog static functions (getOpenFileUrl, etc.) could try to stay in the same dir if dir is not given
-
- Reported
-
-
PYSIDE-2273 PySide6.QtWidgets.QFileDialog improvement
-
- Closed
-
- resulted from
-
QTBUG-50 QFileDialog: MIME-filtering
-
- Closed
-