aboutsummaryrefslogtreecommitdiffstats
path: root/tests/manual/quickcontrols
Commit message (Collapse)AuthorAgeFilesLines
...
| * | Merge remote-tracking branch 'origin/dev' into nativemenusRichard Moe Gustavsen2024-01-222-6/+10
| |\| | | | | | | | | | Change-Id: I54bfced2ff9d5d897027dc81e6d5234d317b9b48
| | * Doc & Test: fix syntax of QSettings sub-groupsThiago Macieira2024-01-191-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These examples and .conf files were using two different syntax to create a subgroup. QSettings may not support one of them and is misbehaving. So let's use one syntax only and the one that it produces when writing the output. This code: s.beginGroup(u"Material"); s.beginGroup(u"Font"); s.setValue("Family", "Open Sans"); s.setValue("PixelSize", 20); Produces: [Material] Font\Family=Open Sans Font\PixelSize=20 Fixes: QTBUG-121035 Pick-to: 6.7 6.6 Change-Id: I76ffba14ece04f24b43efffd17ab7ea941910c19 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
| | * Material: reduce padding for Dense variant of ButtonMitch Curtis2023-12-181-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The padding was increased with the Material 3 update (f47f8d69319fa7b0b71cc8036c5bdfd1e8407e70), but the Dense variant never had an effect on the values. This patch changes that. Fixes: QTBUG-119793 Pick-to: 6.5 6.6 6.7 Change-Id: Ic37bb7861fe5e3f3dc9e97fe4ee7369b487f89df Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* | | Add disabled Actions to menus manual testMitch Curtis2024-01-221-0/+20
| | | | | | | | | | | | | | | | | | Task-number: QTBUG-69558 Change-Id: I6517a679a3fb80cda577971425e582c8bab5eba6 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* | | Add checkable Actions to menus manual testMitch Curtis2024-01-221-7/+16
|/ / | | | | | | | | | | | | | | | | | | This can't reliably be auto-tested because we can't interact with menu items with the mouse, and there's no way to know if a native menu is focused in order to interact with it via keyboard. Task-number: QTBUG-69558 Change-Id: I21134743ccc64ca1bf99f085f09c00d66a3ca3dc Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* | Menu: get native sub-menus workingMitch Curtis2024-01-171-14/+66
| | | | | | | | | | | | Task-number: QTBUG-69558 Change-Id: Iee7393a00bcaf4f25f579ec60ebfecf7ef357761 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* | Add menus manual testMitch Curtis2024-01-176-0/+280
|/ | | | | | | | | This gives us a convenient way to manually test native menus, which can't be fully auto-tested. Task-number: QTBUG-69558 Change-Id: I045eef8d30eb8f130f6e4ba4787a9d0ad84c109f Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@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>
* Move imagine/musicplayer to tests/manual/imagine/musicplayerJan Arve Sæther2023-07-10156-0/+1474
| | | | | | | | | | imagine/automotive already demonstrate the imagine style Pick-to: 6.5 6.6 Task-number: QTBUG-108751 Change-Id: Ibb1fe187571b6693b85dfc0a310fc806908194dc Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Material: fix placeholder text alignmentMitch Curtis2023-05-031-14/+48
| | | | | | | | | | The placeholder text should always be aligned to the left according to my tests on native Android via an emulator. Fixes: QTBUG-113172 Pick-to: 6.5 6.5.1 Change-Id: I75ae31e1e6b9846d90ab5034c43f8684698e0ab7 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Material: fix TextArea decorations when in a FlickableMitch Curtis2023-04-191-0/+12
| | | | | | | | | | | | | | | | This patch fixes the following issues when the Material TextArea is attached to a Flickable: - Floating placeholder text scrolls with the Flickable. - When text is cleared without the control having focus: - Floating placeholder text is positioned incorrectly. - The floating text background outline gap is still open. - The background outline color is incorrect when the control has focus (used primaryTextColor instead of accentColor). Pick-to: 6.5 Task-number: QTBUG-112650 Change-Id: Icfa3517e4abcb1209ea2291dabdec225011f19ef Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
* Remove side-panel and swipe-to-remove quickcontrol examplesSanthosh Kumar2023-03-0322-0/+531
| | | | | | | | | | | The quickcontrol feature represented in side-panel and swipe-to-remove were already part of gallery example and hence, removing these two examples Fixes: QTBUG-110989 Pick-to: 6.5.0 Change-Id: I496dfe7ee2bea98f918b4e3b72673388c51cda6b Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Exclude tst_gifs from non-linux systemsAmir Masoud Abdol2023-02-271-1/+3
| | | | | | | | | It relies on byzanz-record, which is only available on LINUX. Pick-to: 6.5 Change-Id: Ia71208392a363c7f612addb30b117ac740eb8e49 Reviewed-by: Alexey Edelev <alexey.edelev@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Improve styles manual testMitch Curtis2023-02-241-14/+128
| | | | | | | | | | | | | - Add usage instructions. - Give the content more room so the sliders are larger. - Ensure that the Sliders fill their layout's width to take up the extra space. - Ensure that the GroupBoxes fill the width of the ColumnLayout so that the extra space is used. - Split lines with multiple statements. - Remove "2" from window title. Pick-to: 6.5 Change-Id: I3c371f8060db8b7035f82ed772d673340e12772d Reviewed-by: Doris Verria <doris.verria@qt.io>
* Update Material TextArea to Material 3Mitch Curtis2023-02-213-1/+118
| | | | | | | | Fixes: QTBUG-110231 Pick-to: 6.5 Change-Id: I8b6e5a2bc8e91c7003206e8a651b133f3a541617 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io> Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Fix build issues in multiple manual testsMatthias Rauter2023-02-213-2/+15
| | | | | | | Pick-to: 6.5 Change-Id: Id805713c9989146e385433c70ae2f756db0b9bff Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Update Material TextField to Material 3Mitch Curtis2023-02-173-1/+88
| | | | | | | | Fixes: QTBUG-72554 Fixes: QTBUG-109218 Pick-to: 6.5 Change-Id: I0bc6fc3d16630352dcd5c58c5dd2b1bf794741c5 Reviewed-by: Oliver Eftevaag <oliver.eftevaag@qt.io>
* Adapt to Qt::Appearance to Qt::ColorScheme renameTor Arne Vestbø2023-02-131-1/+1
| | | | | | Pick-to: 6.5 Change-Id: I5830af713e024fa9a7086e8c56e6808ff8593394 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
* Retire the qt_parse_all_argumentsAmir Masoud Abdol2023-01-203-3/+3
| | | | | | Task-number: QTBUG-99238 Change-Id: Ia11c9cbd7c06347319ab3674ec0cd8da0214747e Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
* Fusion, HeaderView: use colors from the styleRichard Moe Gustavsen2023-01-171-7/+13
| | | | | | | | | | | | | | | | | | | Don't hard code colors in HorizontalHeaderView and VerticalHeaderView. Instead, use colors from the palette / style. This ensures that switching between light and dark mode will also affect HeaderView. Additionally, skip drawing a box around the header view cells - doing so ends up looking quite bad, since you will draw double lines between the cells (especially when the columnSpace/rowSpace is 0. Instead, the border around the cells in both TableView and HeaderView is supposed to be drawn indirectly from setting rowSpacing and columnSpacing to e.g 1. Pick-to: 6.5 6.4 Change-Id: Ibc01779526aecc4f0d40fad2a6f2ea2822427e85 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>
* Update Material Switch to Material 3Mitch Curtis2022-12-123-1/+77
| | | | | | Fixes: QTBUG-108555 Change-Id: I6c17812c9cf0dab71ac212ab7cb28cad646f9dfc Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Move manual test for material stylewip/material3Paul Wicking2022-12-078-0/+496
| | | | | | | | After the renaming, tests/manual/quickcontrols2 is now tests/manual/quickcontrols. Change-Id: I95b34c68b6e684052e98a4bf0561beb9c9750efe Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
* Merge remote-tracking branch 'origin/dev' into wip/material3Paul Wicking2022-12-051-2/+2
| | | | Change-Id: I55ec34220c5b9001893fc924ab6be7fd64e63a02
* Doc: remove "2" from Qt Quick Controls filesMitch Curtis2022-12-0140-41/+41
| | | | | | | | | | | | | Work on this was already started for the documentation in 1abdfe5d5a052f2298b7bf657513dfa7e0c66a56. The CMake target (docs_QuickControls2) probably can't be renamed until we rename the library, which won't happen until Qt 7. Task-number: QTBUG-95413 Change-Id: Ied20805a91286436606577c3de39671a447f27dd Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
* Remove "2" from Qt Quick Controls directoriesMitch Curtis2022-12-01206-0/+11534
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>