aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/platform/qquickplatformfiledialog_p.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix Qt.labs.platform.FileDialog not honoring folder propertyPaolo Angelelli2019-01-231-0/+1
| | | | | | Fixes: QTBUG-73179 Change-Id: I99fb1c7cfcf61920889da909152b23b40bc96104 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Welcome to 2017J-P Nurmi2017-01-091-1/+1
| | | | | Change-Id: If68cff4efacc7dc5719c8b8e61937e85e9076870 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix FileDialog::selectedNameFilter review findingsJ-P Nurmi2016-09-141-4/+42
| | | | | | | | | | | | | | | | FileDialog::nameFilters contains an array of name filter strings that combine the name and extensions. For example: - "Text files (*.txt)" - "HTML files (*.html *.htm)" When dealing with multiple name filters, it is quite clumsy to use a string type of 'selectedNameFilter' which is one of the above full file name filter string values. Make it possible to read/write the index of the selected name filter, and provide the filter's name and extensions separately. Change-Id: Ie416cc4ab3dcde93c10769b6f7ac44915307f194 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform dialogs: cleanup creationJ-P Nurmi2016-08-151-1/+1
| | | | | | | | Now that we know the type and whether it should be native, it can be all done in the base class to reduce a lot of code duplication. Change-Id: I7d7d7057fa499df75b72914d2b505bfa0288048d Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Add QQuickPlatformDialog::useNativeDialog()J-P Nurmi2016-08-151-0/+1
| | | | | Change-Id: Id1699a6045eb9066a80ebdbb3cb5d3a01e58a36f Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: revise the names of the protected helper methodsJ-P Nurmi2016-08-151-2/+2
| | | | | Change-Id: I4b65c7623a34d016243e626146437d2fa20fd93b Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform dialogs: apply the optionsJ-P Nurmi2016-08-141-1/+1
| | | | | Change-Id: I6bccfebcbb32dcafeea0814d88f7882857a62a85 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* FileDialog: add missing selectedNameFilter-propertyJ-P Nurmi2016-08-141-0/+5
| | | | | Change-Id: If31d657e29a9cc3049af5cd3cf39d68979ff2db0 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* FileDialog: add missing folder-propertyJ-P Nurmi2016-08-141-0/+5
| | | | | Change-Id: I60d60072f1cc6a876228e647b1d6db943e303ea2 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* FileDialog: replace file(s)Selected() with declarative propertiesJ-P Nurmi2016-08-141-4/+17
| | | | | | | Follow the same convention that ColorDialog, FontDialog and FolderDialog. Change-Id: I960d4fc1ba275ab997f2a079a799d2b90796eca3 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* Platform: create platform dialog instances lazily on demandJ-P Nurmi2016-08-141-0/+1
| | | | | Change-Id: Ie963cb5c082b49205f7b7244ace3b88254ec37c7 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
* FileDialog: handle defaultSuffixJ-P Nurmi2016-08-101-0/+3
| | | | | | | | | Looks like defaultSuffix is not handled by QPlatformFileDialog even if it is passed via QFileDialogOptions. This patch makes QML FileDialog handle the defaultSuffix the same way QFileDialog from QtWidgets does. Change-Id: Icdb527715a6bdfc8d90b55639c4926941cbd5afd Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Platform: add FileDialog and FolderDialogJ-P Nurmi2016-06-271-0/+130
Change-Id: I4328c273e48139d6ddd5a3d3c8492d06f48a5c24 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>