aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quickcontrols/qquicktextarea
Commit message (Collapse)AuthorAgeFilesLines
* CMake: Don't enable ASM languageJoerg Bornemann2025-05-021-1/+1
| | | | | | | | Remove the ASM language where no assembler files are used. Pick-to: 6.5 6.8 6.9 Change-Id: I3c94f798803b054a432fc2c8d6d65c665572a202 Reviewed-by: Alexandru Croitor <[email protected]>
* Close all other Menus when showing non-sub-menuMitch Curtis2025-04-092-0/+81
| | | | | | | | | | | | | | | | | | | | | | This fixes the linked bug, but also generally makes sense, as there shouldn't be a use case where two menus are open at once. Adjust the documentation to reflect the current state of context menus and use best practices. [ChangeLog][Controls][Important Behavior Changes] All non-sub-menus are now closed when a menu is opened. This is to fix an issue (QTBUG-134903) where duplicate menus are shown when opening a custom non-ContextMenu on a text editing control like TextField or TextArea. This means that rather than two context menus incorrectly being opened, an extra one will briefly be visible before immediately being closed. For information on how to avoid this, please see the "Context menus" section of Menu's documentation. Fixes: QTBUG-134903 Pick-to: 6.9 Change-Id: I158295b72176935c2dc8072a72a4df66678be824 Reviewed-by: Shawn Rutledge <[email protected]>
* ContextMenu: add to text editing controlsMitch Curtis2025-02-282-0/+321
| | | | | | | | | | | [ChangeLog][Controls] TextField and TextArea now provide a ContextMenu by default. If you already have a custom context menu for these types, ContextMenu will not open its own on e.g. right click. Fixes: QTBUG-35598 Pick-to: 6.9 Change-Id: I0897a7ba5e1b5b6d5425c80cbc6f2550c904605b Reviewed-by: Mitch Curtis <[email protected]>
* Add Qt::Qml before Qt::QmlPrivate to auto testsKarim Pinter2024-10-221-0/+1
| | | | | | | | | | The build for auto tests for VxWorks fails because Qt::Qml is not added before Qt::QmlPrivate resulting in many unresolved symbols from Qt::Qml library. When Qt::Qml is added before it solves this problem. Task-number: QTBUG-129113 Change-Id: I89d553ac1d6706e2e934665fed2f308e6b01ed78 Reviewed-by: Ulf Hermann <[email protected]>
* Wrap SKIP_IF_NO_* macros in do while(false) loopMitch Curtis2024-09-051-1/+1
| | | | | | | | | | | This prevents errors in certain usages of the macros. https://wiki.qt.io/Things_To_Look_Out_For_In_Reviews#Macros Amends f7dffe0ae8a97dd3d7bbcf753d122b2066639fc3. Change-Id: I0804d439f7019870f9750444316f3cc676e02405 Reviewed-by: Marc Mutz <[email protected]>
* Move duplicate WindowActivation checks into a skip macroMitch Curtis2024-05-151-8/+2
| | | | | | | | Task-number: QTBUG-124230 Pick-to: 6.5 6.7 Change-Id: I617f851cd2b2b1a4f4c3dada2e4ebdf5c4be18fd Reviewed-by: Fabian Kosmale <[email protected]> Reviewed-by: Doris Verria <[email protected]>
* Correct license for build system filesLucie Gérard2024-03-211-1/+1
| | | | | | | | | | | | According to QUIP-18 [1], all build system files should be BSD-3-Clause [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 6.7.0 Task-number: QTBUG-121787 Change-Id: I97879b23b7af8d658c1dfc0659b32efcc15d1210 Reviewed-by: Kai Köhne <[email protected]>
* Correct license for test filesLucie Gérard2024-02-271-1/+1
| | | | | | | | | | | | | | According to QUIP-18 [1], all test files should be LicenseRef-Qt-Commercial OR GPL-3.0-only [1]: https://contribute.qt-project.org/quips/18 Pick-to: 6.7 Task-number: QTBUG-121787 Change-Id: I26d72e8de04d4c7c57b3b7838af5d033265de5ba Reviewed-by: Shawn Rutledge <[email protected]> Reviewed-by: Kai Köhne <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* CMake: Make quickcontrols tests standalone projectsAlexandru Croitor2023-07-051-1/+1
| | | | | | | | | | | | | | | | | Add the boilerplate standalone test prelude to each test, so that they can be opened with an IDE without the qt-cmake-standalone-test script, but directly with qt-cmake or cmake. Boilerplate was added using the follow script: https://git.qt.io/alcroito/cmake_refactor Manual adjustments were made where the code was inserted in the wrong location. Task-number: QTBUG-93020 Change-Id: I1dff995ec69c65494a9f8daff3c8b2fbe5b507b2 Reviewed-by: Amir Masoud Abdol <[email protected]> Reviewed-by: Joerg Bornemann <[email protected]>
* Update Material TextArea to Material 3Mitch Curtis2023-02-211-3/+5
| | | | | | | | Fixes: QTBUG-110231 Pick-to: 6.5 Change-Id: I8b6e5a2bc8e91c7003206e8a651b133f3a541617 Reviewed-by: Richard Moe Gustavsen <[email protected]> Reviewed-by: Oliver Eftevaag <[email protected]>
* Retire the qt_parse_all_argumentsAmir Masoud Abdol2023-01-201-3/+3
| | | | | | Task-number: QTBUG-99238 Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e Reviewed-by: Alexandru Croitor <[email protected]>
* Remove "2" from Qt Quick Controls directoriesMitch Curtis2022-12-016-0/+272
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 <[email protected]>