aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickdialogs
Commit message (Collapse)AuthorAgeFilesLines
* Retire the qt_parse_all_argumentsAmir Masoud Abdol2023-01-205-15/+15
| | | | | | Task-number: QTBUG-99238 Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Remove "2" from Qt Quick Controls directoriesMitch Curtis2022-12-015-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Qt Quick Controls 2 was named that way because it was a follow-up to Qt Quick Controls 1.x. Now that Qt Quick Controls 1 is no longer supported, we don't need to have "2" in the name. Work on this was already started for the documentation in 1abdfe5d5a052f2298b7bf657513dfa7e0c66a56. By doing this renaming a few weeks before feature freeze, it won't affect the release but still results in as little time possible spent manually fixing conflicts in cherry-picks from non-LTS releases as a result of the renaming. This patch does the following: - Renames directories. - Adapts CMakeLists.txt and other files to account for the new paths. A follow-up patch will handle documentation. It does not touch library names or other user-facing stuff, as that will have to be done in Qt 7. Task-number: QTBUG-95413 Change-Id: I170d8db19033ee71e495ff0c5c1a517a41ed7634 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix bug in FolderListModel's FileInfoThreadMitch Curtis2022-10-181-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When the FileDialog in the goUp test is first created, it sets a bunch of properties, two of which are sortCaseSensitive and nameFilters. These cause FileInfoThread's sortUpdate and folderUpdate flags to be set to true, respectively. When FileInfoThread::getFileInfos() ran, it would see that folderUpdate was set to true, run related code, and then unset folderUpdate. However, sortUpdate would not be unset. This meant that the next time getFileInfos() was called, it would effectively reset the model when it didn't need to. This caused the currentIndex we set on fileDialogListView to be ignored because the ListView set it to 0 as a result of the insertion and removal of rows from the model caused by QQuickFolderListModelPrivate::_q_sortFinished(). This patch fixes the issue by: - Introducing an enum to manage the different types of updates requested, which also makes the code a little easier to understand. - Unsetting the various flags whenever needUpdate is unset. It also adds categorized logging to make debugging such issues in the future easier. Task-number: QTBUG-101488 Pick-to: 6.4 Change-Id: Iaf53509d3f028fd2e1385a2597898e8e0327aedb Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* tst_qquickfiledialogimpl: print QTemporaryDir errorsMitch Curtis2022-10-081-2/+2
| | | | | | | | | This will make diagnosing CI failures easier. Task-number: QTBUG-101488 Pick-to: 6.2 6.4 Change-Id: I18fead16fb631c63c7da40b5154266474e6feccd Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Port from qAsConst() to std::as_const()Marc Mutz2022-10-072-4/+4
| | | | | | | | | | | | | | We've been requiring C++17 since Qt 6.0, and our qAsConst use finally starts to bother us (QTBUG-99313), so time to port away from it now. Since qAsConst has exactly the same semantics as std::as_const (down to rvalue treatment, constexpr'ness and noexcept'ness), there's really nothing more to it than a global search-and-replace. Task-number: QTBUG-99313 Change-Id: I601bf70f020f511019ed28731ba53b14b765dbf0 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* Port from container::count() and length() to size()Marc Mutz2022-10-075-48/+48
| | | | | | | | | | | | | | | | | | | | This is a semantic patch using ClangTidyTransformator as in qtbase/df9d882d41b741fef7c5beeddb0abe9d904443d8: auto QtContainerClass = anyOf( expr(hasType(cxxRecordDecl(isSameOrDerivedFrom(hasAnyName(classes))))).bind(o), expr(hasType(namedDecl(hasAnyName(<classes>)))).bind(o)); makeRule(cxxMemberCallExpr(on(QtContainerClass), callee(cxxMethodDecl(hasAnyName({"count", "length"), parameterCountIs(0))))), changeTo(cat(access(o, cat("size"), "()"))), cat("use 'size()' instead of 'count()/length()'")) a.k.a qt-port-to-std-compatible-api with config Scope: 'Container', with the extended set of container classes recognized. Change-Id: Idb1f75dfe2323bd1d9e8b4d58d54f1b4b80c7ed7 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Blacklist tst_QQuickFileDialogImpl::goUp on macOSMitch Curtis2022-10-031-0/+4
| | | | | | Task-number: QTBUG-101488 Change-Id: I7679f97433a620cee2c75707744ddd7c08b63fa8 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* FileDialog: fix selectedFile being incorrect when going up a directoryMitch Curtis2022-09-291-2/+16
| | | | | | | | | | | | The code was assuming that directories are always shown first, which is not always the case since 26f3b70119483ebb27dab83b3d60278685a41ff7. Fix this by using the fileList function, which takes into account the ShowDirectoriesFirst theme hint. Fixes: QTBUG-106690 Pick-to: 6.4 Change-Id: Ib6df80ee35cef50b5f47f9ead81b7ee3684610f4 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* QQuickPlatformTheme: fix handling of QT_QUICK_DIALOGS_SHOW_DIRS_FIRSTMitch Curtis2022-09-291-1/+1
| | | | | | | | | | Apparently an empty string can be converted to a bool, so account for that by checking if the variable was set before trying to convert it. Task-number: QTBUG-106690 Pick-to: 6.2 6.4 Change-Id: I64c41eef0cc1a88a642dabeafae959250bcd732d Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Blacklist tst_QQuickFileDialogImpl::goUpIntoLargeFolderMitch Curtis2022-09-291-0/+4
| | | | | | | | | | | This is likely flaky because of issues with async ListView changes in FileDialog, for which a fix attempt was made in ae5fad789139489e5497ea4dbf98af4f588108dc, which also added the test. Task-number: QTBUG-101488 Pick-to: 6.2 6.4 Change-Id: Ifbc2bd52d7eef7af6e9b231255259e9b8966c0c0 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Remove flaky tst_qquickcolordialogimpl::eyeDropper testOliver Eftevaag2022-09-141-48/+0
| | | | | | | | | The test is very flaky on macOS 12, and it can also be flaky on RHEL 9 and openSUSE 15.4 Task-number: QTBUG-106284 Change-Id: I25d5992488b966b1e6e33da0394050dea9ec05cd Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* ColorDialog: fix layout issues in ColorInputsMitch Curtis2022-09-141-21/+13
| | | | | | | | | | | | | | | | | - Fix a gap in some styles by ensuring that fillWidth is set to true. - Revert to the previous approach of having Item as the root items in the StackLayout, as there are yet-to-be-diagnosed issues with using RowLayout directly. - Remove 12 pixels from implicitWidth binding, which was leftover debugging code. - Adjust tests to account for new item tree. This amends 261f527b5a5be24a38c5cb60aa0fcaf76633392d. Pick-to: 6.4 6.4.0 Change-Id: I7ac7bfb7cda339ffb095bf7639905d58a8e5c57d Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix flaky tst_QQuickFileDialogImpl::goUpIntoLargeFolder testMitch Curtis2022-09-081-8/+11
| | | | | | | | | | | | | | | | Ensure that all expected delegates have loaded before trying to verify that the correct file is selected. This requires a modification to verifyFileDialogDelegates to account for the large amount of files that goUpIntoLargeFolder deals with, as QTest's failure message is limited to 1024 characters. Fixes: QTBUG-101488 Pick-to: 6.2 6.3 6.4 Change-Id: I65cf6ffc4724309083899dac2acc1f04a11a1220 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Change the license of all CMakeLists.txt and *.cmake files to BSDLucie Gérard2022-09-076-6/+6
| | | | | | | Task-number: QTBUG-105718 Change-Id: Id89ed14990804a5024183e75382cc539d4293da1 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* QQuickFileDialog: give non-native dialog a text field for filenameOliver Eftevaag2022-08-171-0/+44
| | | | | | | | | | | The non-native filedialog was missing a text input field that would allow the user to easily set the filename in a filedialog with fileMode set to SaveFile. Pick-to: 6.4 Fixes: QTBUG-101502 Change-Id: Id800a1e34de0e65455409a7edc5fa2f5f13b4b19 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* CMake: Don't use PUBLIC_LIBRARIES for tests and test helpersAlexandru Croitor2022-07-285-5/+5
| | | | | Change-Id: I1cd769f85d5f82c43639d6787d98e536619249e6 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
* Add 'override' keyword to fix build warningsJiDe Zhang2022-07-191-1/+1
| | | | | Change-Id: I8bd51da4ad27c97be78c708af33d6b1e4c1ca957 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* Stabilise changeFolderViaDoubleClick and chooseFolderViaEnterMitch Curtis2022-07-111-0/+8
| | | | | | | | | | | These were failing on Ubuntu 20.04 due to the ListView delegates not being up-to-date. The only reliable solution is to repeatedly check until they are. Task-number: QTBUG-101488 Pick-to: 6.4 6.3 6.2 Change-Id: I437bb1b4bf9ab35ad23b1da1a89e9f77872a2f48 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Add license headers to cmake filesLucie Gérard2022-07-086-0/+18
| | | | | | | | | | | | CMakeLists.txt and .cmake files of significant size (more than 2 lines according to our check in tst_license.pl) now have the copyright and license header. Existing copyright statements remain intact Task-number: QTBUG-88621 Change-Id: I72c89a98c42bbc9234d8495e9e503bec81d11037 Reviewed-by: Jörg Bornemann <joerg.bornemann@qt.io>
* Add convenience API for making QQmlDataTest-based tests fail on warningsMitch Curtis2022-07-053-3/+15
| | | | | | | | | | | | | | | | | | | | After this patch, if a QQmlDataTest-derived class passes FailOnWarningsPolicy::FailOnWarnings to the base constructor, any non-empty warning encountered by that test will result in a test failure. This avoids the need to duplicate the catch-all regex in tests that want to fail on warnings. The goal is to gradually enable failure-on-warnings over time. Leave comments and explicitly pass DoNotFailOnWarnings for tests that should never fail on warnings. Task-number: QTBUG-98718 Pick-to: 6.2 6.3 6.4 Change-Id: I4b647d93a0f28ac891c4bdb19ef74569f2918e8f Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* FileDialog: fix selectedFile being incorrect due to async view changesMitch Curtis2022-06-301-54/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | To display a list of files in FileDialog, we use a ListView with a FolderListModel as the model. Part of being able to respect the selectedFile that the user has set involves setting that ListView's currentIndex to the index of selectedFile in the current folder. When currentFolder was set to a directory that contained a lot of files, there was an issue where we set the ListView's currentIndex before it had finished loading its items, resulting in an incorrect selected item. To fix this, we now store a "pending" currentIndex, and listen to the ListView's countChanged signal to know when we can set that pending currentIndex. This is not an ideal solution, but it's the most efficient one given the limited information we have from ListView. A better solution might be to have some way of telling ListView not reset currentIndex when its model changes (as long as the currentIndex that was set is within the bounds of the new model). Fixes: QTBUG-103547 Pick-to: 6.3 6.4 Change-Id: If3677e5e1a7873a939af19d4ea996ff74033c6e0 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* QQuickAbstractDialog: emit rejected() on mere close()Marc Mutz2022-06-231-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | Like QDialog, there should be only two ways to close a QQuickAbstractDialog: by accepting or rejecting. Closing a dialog with the [X] button or hitting Esc should reject. This is natural, and what QDialog has been implementing since decades, but QQuickAbstractDialog only emitted rejected() on a manual reject(). To implement, move the emission of accepted() and rejected() to close() instead of done(), and swap the calls to close() and setResult() in done() so the correct result() is available when close() is called. [ChangeLog][Important Behavior Changes] QtQuick dialogs now emit rejected() on a mere close(), too. [ChangeLog][QtQuickDialogs][QQuickAbstractDialog] Now emits rejected() on a mere close(), too. The code in 5.15 is too different, so I made a separate fix. Pick-to: 6.4 6.3 6.2 Fixes: QTBUG-101973 Change-Id: I90d1a78ee95b72eecae35005e191312c939cecf3 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* tst_QQuickFileDialogImpl: check that closing the dialog rejectsMarc Mutz2022-06-211-0/+28
| | | | | | | | | | It doesn't. Task-number: QTBUG-101973 Pick-to: 6.4 6.3 6.2 Change-Id: I63a76f9919a4b9a1ebc3b2f95189b518e9c6858b Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Use SPDX license identifiersLucie Gérard2022-06-1119-843/+38
| | | | | | | | | | | | Replace the current license disclaimer in files by a SPDX-License-Identifier. Files that have to be modified by hand are modified. License files are organized under LICENSES directory. Pick-to: 6.4 Task-number: QTBUG-67283 Change-Id: I63563bbeb6f60f89d2c99660400dca7fab78a294 Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
* tst_qquickfiledialogimpl: refactor duplicated code into helpersMitch Curtis2022-06-061-290/+185
| | | | | | Pick-to: 6.2 6.3 Change-Id: I1445d41dbbbe346506195c160e87d0b05770d22c Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* FileDialog: make selectedFile writableMitch Curtis2022-06-022-10/+173
| | | | | | | | | | | | This allows setting an initially selected file. [ChangeLog][QtQuickDialogs] FileDialog's selectedFile property can now be set to an initially selected file. Fixes: QTBUG-101975 Pick-to: 6.3 Change-Id: I399f9379e1ac54917edbc31f9029d5522a914340 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* QtQuickTest: add API for checking for polish at window levelMitch Curtis2022-06-022-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a qIsPolishScheduled(QQuickWindow *) overload of qIsPolishScheduled(QQuickItem *) (added in 40d6072bc8a4df0fe1a16025fe30fe653463a446) and deprecates qWaitForItemPolished() (added in 7a3cad0619662b992154e075ec6b840bfc8a46a7) in favor of qWaitForPolish(), which has QQuickItem* and QQuickWindow* overloads. The existing functions that take QQuickItem are useful, but testing Qt Quick applications can be made even easier by allowing users to check if a window has any items that need to be polished. This information is already present (in QQuickWindowPrivate::itemsToPolish), so it's very efficient to check for. This is especially useful now that Qt Quick Layouts using polishing for their layouting, for example, as it's no longer necessary to find individual polishable items in complex hierarchies before proceeding to interact with child items. [ChangeLog][QtQuickTest][QQuickTest] Added QQuickTest::qIsPolishScheduled(QQuickWindow *) and QQuickTest::qWaitForPolish(QQuickWindow *) functions for verifying that updatePolish() was called on one or more items managed by a window. [ChangeLog][QtQuickTest][QQuickTest] Deprecated QQuickTest::qWaitForItemPolished(QQuickItem *). Use the new QQuickTest::qWaitForPolish(QQuickItem *) function instead. Fixes: QTBUG-93757 Change-Id: I95b6e051b3c9fd2fa93604f4d9ccda486bb29f9d Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Add ColorDialog to QtQuick.DialogsOliver Eftevaag2022-05-315-0/+666
| | | | | | | | | | | | | | [ChangeLog][QtQuickDialogs] Added ColorDialog. This is a native dialog on platforms that support it, and a non-native Qt Quick ColorDialog on platforms that don't. The supported styles are Basic, Fusion, Imagine, Material and Universal. Fixes: QTBUG-87796 Change-Id: I7146ca0571c84c9878a4010798e083ee249f273c Reviewed-by: Jarkko Koivikko <jarkko.koivikko@code-q.fi> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Fix flaky tst_QQuickFileDialogImpl::goUp testMitch Curtis2022-04-122-4/+1
| | | | | | | | | | | Don't listen to fileDialogListView currentIndexChanged signal while setting its currentIndex, because the file associated with the delegate is not correct at that stage. Change-Id: Iffc9315c03b6670bc3a7609f3613a4570e4f9632 Fixes: QTBUG-101488 Pick-to: 6.2 6.3 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Fix flaky tst_QQuickFolderDialogImpl::goUp testMitch Curtis2022-04-122-4/+1
| | | | | | | | | | | Don't listen to folderDialogListView's currentIndexChanged signal while setting its currentIndex, because the file associated with the delegate is not correct at that stage. Fixes: QTBUG-102415 Change-Id: I309c993742d29d23290af297c2a91c9c31d23a0e Pick-to: 6.2 6.3 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
* Blacklist tst_QQuickFolderDialogImpl::goUp()Tor Arne Vestbø2022-04-081-0/+3
| | | | | | | Task-number: QTBUG-102415 Pick-to: 6.2 6.3 Change-Id: Ia78fc353a86bebbfb5319c38084e384a6c898c33 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Revert "QML: Add indirect library dependencies for tests relying those"Alexey Edelev2022-04-081-1/+0
| | | | | | | | | This reverts commit ae989a87bc2dad377e4884531f4a1b24dca897f4. Reason for revert: A valid workaround provided in aec6b0075863bff181d1d3dfdf1399264de01f67 Change-Id: Ib13f6a9830ad4e3359e97ff9164b579399442460 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
* Blacklist: test cases blacklisted in tst_QQuickFileDialogImpl:CI Insignificant Platforms Monitor Bot2022-03-071-0/+3
| | | | | | | | | | - goUp on qnx Pick-to: 6.2 Pick-to: 6.3 Task-number: QTBUG-101488 Change-Id: Ifaa9ce726d36d736bc4378e0655e5ae01409da5b Reviewed-by: CI Insignificant Platforms Monitor Bot <ci_insignificant_platforms_monitor_bot@qt.io>
* Rename android_dummy_imports.qml to dummy_imports.qmlAssam Boudjelthia2022-03-054-4/+4
| | | | | | | | | | | | | | | | Amends 16f0d38d568b3af135f5db862f5868a6bc669c42. From 0fc8a511baa6493c8d80046dd99b8eba3634d2a2, it seems that not only Android is relying on these imports to satify qmlimportscanner, but also Integrity. So rename the imports to something generic and remove the explicit mention for Android. Pick-to: 6.2 6.3 Task-number: QTBUG-97056 Change-Id: I9273fd0f9201a805cad4d588847796f7daecb686 Reviewed-by: Kimmo Ollila <kimmo.ollila@qt.io> Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Android: unify the android tests dummy import filesAssam Boudjelthia2022-03-028-19/+35
| | | | | | | | | | | | | This renames all qml files added before to allow qmlimportsanner to include the necessary modules into Android packages, into android_dummy_imports.qml, and also adds a comment in each one describing why it's needed. Pick-to: 6.2 6.3 Task-number: QTBUG-97056 Change-Id: I7fc0514dd9e5bc10849fdd0503547e1a75242414 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Disable failing declarative tests on Android - Part 2Assam Boudjelthia2022-03-021-0/+2
| | | | | | | | | | | | | | | | This allows us to enable testing on declarative for the module as a whole and have some sort of test verification for the mean time, and fix the fails over time. This also disable tests like qdom and qjsscope which are host tests. Pick-to: 6.2 6.3 Task-number: QTBUG-100991 Task-number: QTBUG-99194 Task-number: QTBUG-101005 Task-number: QTBUG-101006 Change-Id: Ie7ae5b8e0ccdf2f55ce3568091d513a073c48417 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Android: various test fixesAssam Boudjelthia2022-03-023-0/+15
| | | | | | | | | | 2nd round of test failures fixes for Android. Mostly resource bundling related issues still. Pick-to: 6.2 6.3 Task-number: QTBUG-97056 Change-Id: I2fac0710a7b5528fcef4480babd0cbf749e488b3 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
* QML: Add indirect library dependencies for tests relying thosePasi Petäjäjärvi2022-03-021-0/+1
| | | | | | | | | | Pick-to: 6.2 6.3 Task-number: QTBUG-101341 Change-Id: I8c9413caf24f1d2afc6678d2432c08ac7da2f1c3 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
* QQuickFileDialogImpl: respect PreselectFirstFileInDirectory theme hintMitch Curtis2022-02-151-0/+1
| | | | | | | | | | Linux (at least Gnome) automatically selects the first file when entering a directory in a file dialog, whereas other platforms do not. In the auto test, we force the setting to true for simplicity. Change-Id: Ic733b5133ba03b36693d2f2f2d014a0e9cca8abd Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Fix tst_designer and tst_qquickfontdialogimpl tests on AndroidAssam Boudjelthia2022-02-121-0/+4
| | | | | | | | | | | | These QML files are needed for androiddeployqt to be able to package the QML modules because they're not imported in a normal fashion under a QML file but rather implicitly inside the test cases. Pick-to: 6.2 6.3 Task-number: QTBUG-97056 Change-Id: I792462e88a2d8ca43747cffc050fe60987f90ecd Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Use up-to date LGPL license headerKai Köhne2022-01-272-22/+28
| | | | | | | | | | | Remove usages of outdated LGPL3 header that references LICENSES.LGPLv3 instead of LICENSES.LGPL3. See also 5d4679289bc for a similar commit in the past. Pick-to: 6.3 Change-Id: Icbe5eea7bb7b9c5d46cdd56fa3b177d2e22a5fa9 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Replace currentFile(s) with selectedFile(s)Mitch Curtis2022-01-051-32/+31
| | | | | | | | | | | | | | | | | | selectedFile can represent the currently-selected file (if the platform supports it), and so we can free up "currentFolder" for FolderDialog now that it means the folder that is being displayed, rather than the folder that is currently selected. [ChangeLog][QtQuickDialogs] FileDialog's currentFile and currentFiles properties have been deprecated. The selectedFile and selectedFiles properties now refer to the currently selected file(s), as well as the final selection. Fixes: QTBUG-98562 Task-number: QTBUG-87798 Pick-to: 6.3 Change-Id: Ic66481332338f21169a9f63617cf4db4be83265d Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Restructure Qt Quick Dialogs testsMitch Curtis2021-12-2325-0/+4119
- Move contents of tests/auto/quickcontrols2/dialogs to tests/auto/quickdialogs. - Move tests/manual/quickcontrols2/dialogs to tests/manual/quickdialogs/dialogs. This makes the dialogs tests consistent with other modules that have their own "top-level" test directories. Fixes: QTBUG-99034 Pick-to: 6.2 6.3 Change-Id: I4ba155433507870fa607100af1b7957f8430727c Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>