Commit Graph

16 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
Joerg Bornemann 4f57e20f25 CMake: Don't enable ASM language
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 <alexandru.croitor@qt.io>
2025-05-02 16:02:32 +02:00
Mitch Curtis a2f29f710a testbench: default Material and Universal to System theme
This helps test out the runtime system theme switching.

Pick-to: 6.8
Change-Id: I02a40f2625a1afce634c7676bd94a78a052dced0
Reviewed-by: Santhosh Kumar <santhosh.kumar.selvaraj@qt.io>
Reviewed-by: Doris Verria <doris.verria@qt.io>
2024-09-18 08:47:26 +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
Santhosh Kumar 8d3ed392bb Update manual tests and examples for change in default size policy
The size policy of item updated as part of task QTBUG-117597. This
patch update existing examples and manual tests that depends on quick
layout to embrace size policy change.

Task-number: QTBUG-117597
Pick-to: 6.7
Change-Id: I68469a3bba3c4d3e5ed4b6eae0fd765b5206efc0
Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>
2024-02-21 14:27:54 +01:00
Mårten Nordheim 0df834ee11 testbench: fix font name
fontawesome was replaced with fontello at some point

Change-Id: I435d06611ebf6f2b9b7647b0d769b75a3f6cd089
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2023-11-10 21:44:16 +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
Matthias Rauter 1f6489be57 Fix build issues in multiple manual tests
Pick-to: 6.5
Change-Id: Id805713c9989146e385433c70ae2f756db0b9bff
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
2023-02-21 08:20:51 +00:00
Mitch Curtis 29106dc0c0 testbench: save search text between session
This makes using the testbench more convenient, as you don't need to
search for the controls you're interested in each time you run it.

Also added an extra font icon (clear), which required regenerating
the set from fontello. The same license is still applicable since
they're from Font Awesome.

Pick-to: 6.5
Change-Id: I9b44f7f8bce0bb4032071c19186eb5affbfe42a5
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
2023-01-03 12:09:41 +08:00
Paul Wicking 5ce3b931fe Merge remote-tracking branch 'origin/dev' into wip/material3
Change-Id: I55ec34220c5b9001893fc924ab6be7fd64e63a02
2022-12-05 09:21:58 +01: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