summaryrefslogtreecommitdiff
path: root/src/dialogs/qquickabstractfiledialog.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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>