summaryrefslogtreecommitdiff
path: root/src/dialogs/qquickabstractfiledialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge remote-tracking branch 'origin/5.9' into 5.10Liang Qi2018-01-191-2/+0
|\ | | | | | | | | | | | | | | Conflicts: src/dialogs/qquickabstractfiledialog_p.h tests/auto/controls/data/tst_combobox.qml Change-Id: I62e54d0a2e89d987e05e8dfad6ae6aac1a32cc72
| * Fix DefaultFileDialog binding loop warningsMitch Curtis2018-01-151-2/+0
| | | | | | | | | | | | | | | | | | | | | | Remove change signals from the shortcuts and __shortcuts properties, as they don't change after being populated for the first time. Task-number: QTBUG-53707 Change-Id: If305a6d63ebd98e6082fc5b7d89a63aaab6c1f43 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: J-P Nurmi <jpnurmi@qt.io> Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* | Add support for the defaultSuffix property in FileDialogAndy Shaw2017-09-171-0/+8
|/ | | | | | | | [ChangeLog][FileDialog] Added defaultSuffix property Task-number: QTBUG-39230 Change-Id: I7dc73c332ad62129d7158b6f6f5a614b8582ffbc Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Build fix for -no-feature-regularexpressionPaul Olav Tvete2017-03-031-0/+2
| | | | | Change-Id: I211a325b0bd5fb1e5d48b1d378cdce39acb84c96 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
* Merge remote-tracking branch 'origin/5.7' into 5.8Liang Qi2016-11-151-2/+14
|\ | | | | | | Change-Id: I67ccb5a6763045a0728d04e804f8a47c37b425f5
| * Merge remote-tracking branch 'origin/5.6' into 5.75.7.1Liang Qi2016-11-121-2/+14
| |\ | | | | | | | | | Change-Id: Idef60aa2d7b55600cca618f0f622e8e18e77f3de
| | * Make FileDialog remember the folderJ-P Nurmi2016-10-071-2/+14
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-54310 Change-Id: I9beef4d983c5fcea4e969cae5090686dfc1d37c6 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* | | Port to new Q*DialogOptions API (II)Marc Mutz2016-03-031-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q*DialogOptions are no longer value types, but are held only in QSharedPointers. Consequently, all special member function have been hidden from clients and create() and clone() methods have been added. This change removes the #ifdefs for the old-style API again, leaving only the new API use. Change-Id: I1441ca4010c4654fcaf114a2c96bf99cdc38e93f Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
* | | Port to new Q*DialogOptions APIMarc Mutz2016-02-291-0/+4
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Q*DialogOptions are no longer value types, but are held only in QSharedPointers. Consequently, all special member function have been hidden from clients and create() and clone() methods have been added. This change uses a macro defined by the QtBase change to select the API variant. This is needed for the QtBase change to integrate, and needed for as long as the QtBase change hasn't been integrated, yet. A follow-up commit will remove the scaffolding again. Change-Id: I20c1d75fcaa42323862599f2a35b815bc67b39dd Reviewed-by: Shawn Rutledge <shawn.rutledge@theqtcompany.com>
* | Merge remote-tracking branch 'origin/5.6' into 5.7Liang Qi2016-02-161-1/+81
|\ \ | |/ | | | | | | | | | | | | | | Conflicts: .qmake.conf src/dialogs/qquickabstractfiledialog.cpp src/dialogs/qquickfiledialog.cpp Change-Id: I60aab7c7e819f82f82fc30f473b36a7a57d9a91a
| * FileDialog: move shortcuts properties up to QQuickAbstractFileDialogShawn Rutledge2016-02-021-1/+81
| | | | | | | | | | | | | | | | | | | | | | QQuickQFileDialog does not inherit QQuickFileDialog, so the documented shortcuts property was not defined if your platform happens to use the QFileDialog implementation. As long as we are moving the public property, it's easiest to move everything related to shortcuts. Task-number: QTBUG-50673 Change-Id: Ic2baf4a3c83ca12edf11d7d011aaa78a389e0fde Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com>
* | Unify license header usageAntti Kokko2016-02-041-12/+15
|/ | | | | | | Update old header.LGPL3 to header.LGPL Change-Id: I3c851bc24da89f6300b94199387d1adf16ca4f48 Reviewed-by: Lars Knoll <lars.knoll@theqtcompany.com>
* Dialogs: override selectedUrls in QQPlatformfiledialogRichard Moe Gustavsen2015-03-181-7/+0
| | | | | | | | | | Rather than checking if a dialog helper is in use in QAbstractFileDialog, we override selectedUrls in QQuickPlatformFileDialog. Otherwise the version in QQuickFileDialog will be called first, which tries to return selectedUrls from the QML version (which might not be in use). Change-Id: If61647078ed2dd535384dcea67767bfc729edfe0 Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* Dialogs: update license headersJ-P Nurmi2015-02-111-16/+19
| | | | | | Change-Id: I1abdce308929507416b5f24b4442d0b978886a46 Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@theqtcompany.com> Reviewed-by: Shawn Rutledge <shawn.rutledge@digia.com>
* FileDialog: add sidebarVisible property and buttonShawn Rutledge2014-09-041-0/+8
| | | | | | | | | | | | | | | The sidebar takes up too much space on some devices, so now it is possible for the application author to hide it by default. The user can also toggle it with a button similar to that used for the Qt Creator sidebar, and this state is stored as a setting; however if the application sets sidebarVisible: false, that overrides the setting. [ChangeLog][QtQuick.Dialogs] FileDialog: added sidebarVisible property and button Task-number: QTBUG-39231 Change-Id: Ie8b379da02f4b12764732b2c01b79039722778ab Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
* Merge remote-tracking branch 'origin/5.3' into 5.4Frederik Gladhorn2014-08-281-0/+1
|\ | | | | | | Change-Id: I4aa5c960a03616d95f9e1d10b4c8ba222997a24d
| * QtQuick.Dialogs FileDialog: default mode is ExistingFileShawn Rutledge2014-08-141-0/+1
| | | | | | | | | | | | | | | | | | | | Previously did not sync the mode with the state of the selectExisting property on construction. (cherry-picked from qtdeclarative/fa5db4201945565bd2c5ff42ab233f497666003f) Task-number: QTBUG-35877 Change-Id: Ifb630fb51c463025ec2f6a1932714f354552c234 Reviewed-by: Liang Qi <liang.qi@digia.com>
* | Update license headers and add new license filesAntti Kokko2014-08-251-19/+11
|/ | | | | | | | | - Renamed LICENSE.LGPL to LICENSE.LGPLv21 - Added LICENSE.LGPLv3 & LICENSE.GPLv2 - Removed LICENSE.GPL Change-Id: I470909ba0980db33ab551790d619c59a35978590 Reviewed-by: Jani Heikkinen <jani.heikkinen@digia.com>
* FileDialog: selectedNameFilter property is case-insensitiveShawn Rutledge2014-02-111-1/+1
| | | | | | | | All Files got capitalized somewhere, so the property binding in the example did not take effect. Change-Id: Ibd5aecbacc8dd421bf0bd482146d87cc8c9b1046 Reviewed-by: Liang Qi <liang.qi@digia.com>
* FileDialog: centralize URL validation in setFolderShawn Rutledge2014-02-111-2/+8
| | | | | | | | | QQuickAbstractFileDialog::setFolder() takes care of the pathological cases so that the QML can be more straightforward. This is an alternate fix for QTBUG-36006 and some other navigation bugs. Change-Id: I7b6b6c8cb31d68e3971e39842ec63118854ecd6d Reviewed-by: Liang Qi <liang.qi@digia.com>
* FileDialog: new features in DefaultFileDialog.qmlShawn Rutledge2014-02-111-18/+0
| | | | | | | | | | | | | | Use a ComboBox for the filters. Add a sidebar showing shortcuts for the common paths and drives that the user will most likely need, and an editable list of favorite paths. [ChangeLog][QtQuickDialogs][FileDialog] The FileDialog fallback QML implementation now uses QtQuick.Controls, and has added features including a Combobox for file extension filters, and a sidebar with common paths, drives/volumes and favorite paths. Change-Id: I228ebdadcf338917db81a2b3d03d3c0b09584e7d Reviewed-by: Liang Qi <liang.qi@digia.com>
* move QtQuick.Dialogs from qtdeclarative to qtquickcontrolsShawn Rutledge2014-01-031-0/+239
This will enable using Controls in the QML dialog implementations. For now, Controls are used only as drop-in replacements for the Button, Checkbox, and TextField which were custom implementations in the qtdeclarative module before. Change-Id: Ic79e9e8e5715a72ce51f4c724bfdfd33653300f2 Reviewed-by: Liang Qi <liang.qi@digia.com>