Currently just a convenience method for setNameFilters(), it uses QMimeType to create a name filter from the glob patterns and description defined in each MIME type. In the longer term, this API could be used to do proper mimetype-based filtering using QMimeDatabase::mimeTypeForFile() in the builtin QFileDialog (aka "not native"), instead of only looking at globs via the name filters. Change-Id: I0edccf5f30c514481b47cd100d743d1ed7a24024 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com> |
||
|---|---|---|
| .. | ||
| colordialogpanel.cpp | ||
| colordialogpanel.h | ||
| dialogs.pro | ||
| filedialogpanel.cpp | ||
| filedialogpanel.h | ||
| fontdialogpanel.cpp | ||
| fontdialogpanel.h | ||
| main.cpp | ||
| messageboxpanel.cpp | ||
| messageboxpanel.h | ||
| wizardpanel.cpp | ||
| wizardpanel.h | ||