Commit Graph

9 Commits

Author SHA1 Message Date
Mitch Curtis 2ed569070e testbench: add SearchField
Pick-to: 6.10
Change-Id: Ieafa5b40a3c43646ec89649afec80d0748ccfa2f
Reviewed-by: Dilek Akcay <dilek.akcay@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2025-07-01 09:13:50 +08:00
Mitch Curtis 4b996eda57 Fix warnings in ListView delegate width bindings in manual tests
Bind width to the ListView's width, not the parent, which may be null.

Pick-to: 6.5 6.7 6.8
Change-Id: I020d23bb0c98b3da00db9ffd3400a89cfdeb1810
Reviewed-by: Doris Verria <doris.verria@qt.io>
2024-08-12 10:25:25 +08:00
Richard Moe Gustavsen fdac10eb0d testbench: don't use native menus or menubars
The purpose of the tool is to show the styled controls.
So don't use native menus or menubars. Also, since the
menubar will warn (since Qt 6.8) if you add a MenuBarItem
to a MenuBar without a Menu, give each MenuBarItem a dummy
menu.

Pick-to: 6.8
Change-Id: I51972deea0308e7c994460ab4c6cca4fa9b5a9ab
Reviewed-by: Doris Verria <doris.verria@qt.io>
2024-07-04 16:14:08 +02:00
Mitch Curtis da85aef9ba Fix a couple of issues in the testbench manual test
- Ensure lastSearchText is serialized when clearing text.
- Ensure that MenuItems are actually checkable.

Pick-to: 6.5 6.7 6.8
Change-Id: I51eed8b89777f79b1d86427adbd7952812f6883a
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
2024-06-14 09:47:51 +08:00
Mitch Curtis 006bd9d7a2 testbench: add checkable ToolButton
Change-Id: I7e2ff1eda5884d1322636f29f428cd6a33559495
Reviewed-by: Doris Verria <doris.verria@qt.io>
2024-06-12 08:19:10 +08:00
Lucie Gérard 9c5fc88388 Correct license for test files
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 <shawn.rutledge@qt.io>
Reviewed-by: Kai Köhne <kai.koehne@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2024-02-27 10:32:21 +01:00
Mitch Curtis 21a9e41422 macOS: add RadioDelegate
Task-number: QTBUG-115165
Change-Id: I166c4d71e62d8340a37bb11803ad209a88e4764f
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2023-11-01 21:45:06 +08:00
Mitch Curtis b520beaf51 macOS: add CheckDelegate
Task-number: QTBUG-115165
Change-Id: Ie873592d74dcda4828ba753391c64929402736f8
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
2023-11-01 21:45:06 +08:00
Mitch Curtis 4bd87b903b Remove "2" from Qt Quick Controls directories
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
1abdfe5d5a.

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>
2022-12-01 10:26:20 +08:00