aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols/testbench
Commit message (Collapse)AuthorAgeFilesLines
* Qt Quick Controls: add DoubleSpinBoxXavier BESSON2025-12-042-0/+33
| | | | | | | | [ChangeLog][Controls] Added DoubleSpinBox. Fixes: QTBUG-67349 Change-Id: Icb2f02162825daf74778de725f80af63874a5d16 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* testbench: add transparent icon to relevant controlsMitch Curtis2025-11-2413-10/+48
| | | | | | | | This allows us to test icons with their original colors. Pick-to: 6.8 6.10 Change-Id: I794be82b286d71d3b037209624169bf18c57e62b Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* testbench: add icons to more controlsMitch Curtis2025-11-246-0/+35
| | | | | | | | | Not all styles display icons for all controls, but it's good to have complete coverage in testbench anyway. Pick-to: 6.8 6.10 Change-Id: Ic347c408ababca4c8deb9acea83c26fa36c7ea75 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* testbench: fix build on macOSMitch Curtis2025-11-181-13/+16
| | | | | | | | | | | | | | The error was: ld: open() failed, errno=21 Use similar CMake commands as e.g. the textrendering manual test. Amends dd31db74a3e8d741fce5b64e5f9223d162534b1a. Pick-to: 6.8 6.10 Change-Id: I7dac1567fd2e4269516f7d6c7db5812be3646e6d Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* testbench: add icon states for delegate controlsMitch Curtis2025-11-115-5/+40
| | | | | | Pick-to: 6.8 6.10 Change-Id: Ia9a58cfe033b4243bb75c1250b75c8080ad7042d Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* testbench: replace check icon with heartMitch Curtis2025-11-114-1/+19
| | | | | | | | This allows us to test setting icon.color to "transparent". Pick-to: 6.8 6.10 Change-Id: I5b4523a8c4d45de3455302cf582dd33a23399ae3 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* testbench: move context property into Utils singletonMitch Curtis2025-11-115-2/+42
| | | | | | Pick-to: 6.8 6.10 Change-Id: Iabfea6ceddb85a58b24180e09c20980b383e5fb5 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* testbench: convert to declarative type registrationMitch Curtis2025-11-1118-227/+102
| | | | | | | | Also remove unused qmake files. Pick-to: 6.8 6.10 Change-Id: I3a29e1b40361d852b4a87c748e8838b99fbd8805 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* testbench: add SearchFieldMitch Curtis2025-07-012-0/+72
| | | | | | | Pick-to: 6.10 Change-Id: Ieafa5b40a3c43646ec89649afec80d0748ccfa2f Reviewed-by: Dilek Akcay <dilek.akcay@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* 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 <alexandru.croitor@qt.io>
* testbench: default Material and Universal to System themeMitch Curtis2024-09-182-0/+6
| | | | | | | | | 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>
* Fix warnings in ListView delegate width bindings in manual testsMitch Curtis2024-08-125-5/+5
| | | | | | | | 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>
* testbench: don't use native menus or menubarsRichard Moe Gustavsen2024-07-042-0/+6
| | | | | | | | | | | | 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>
* Fix a couple of issues in the testbench manual testMitch Curtis2024-06-142-1/+8
| | | | | | | | | - 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>
* testbench: add checkable ToolButtonMitch Curtis2024-06-121-0/+2
| | | | | Change-Id: I7e2ff1eda5884d1322636f29f428cd6a33559495 Reviewed-by: Doris Verria <doris.verria@qt.io>
* Correct license for test filesLucie Gérard2024-02-2758-58/+58
| | | | | | | | | | | | | | 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>
* Update manual tests and examples for change in default size policySanthosh Kumar2024-02-212-0/+8
| | | | | | | | | | | 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>
* testbench: fix font nameMårten Nordheim2023-11-101-1/+1
| | | | | | | fontawesome was replaced with fontello at some point Change-Id: I435d06611ebf6f2b9b7647b0d769b75a3f6cd089 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* macOS: add RadioDelegateMitch Curtis2023-11-011-1/+7
| | | | | | Task-number: QTBUG-115165 Change-Id: I166c4d71e62d8340a37bb11803ad209a88e4764f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* macOS: add CheckDelegateMitch Curtis2023-11-011-0/+6
| | | | | | Task-number: QTBUG-115165 Change-Id: Ie873592d74dcda4828ba753391c64929402736f8 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Fix build issues in multiple manual testsMatthias Rauter2023-02-211-0/+1
| | | | | | | Pick-to: 6.5 Change-Id: Id805713c9989146e385433c70ae2f756db0b9bff Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* testbench: save search text between sessionMitch Curtis2023-01-035-4/+22
| | | | | | | | | | | | | | 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>
* Merge remote-tracking branch 'origin/dev' into wip/material3Paul Wicking2022-12-051-2/+2
| | | | Change-Id: I55ec34220c5b9001893fc924ab6be7fd64e63a02
* Remove "2" from Qt Quick Controls directoriesMitch Curtis2022-12-0167-0/+3457
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>