aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/quick/doc/how-tos/how-to-qml/time-picker/TimeComponentLabel.qml
Commit message (Collapse)AuthorAgeFilesLines
* Correct license for test filesLucie Gérard2024-02-291-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 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> (cherry picked from commit 9c5fc883881799fa28cf74535351e76dcea10a0a)
* Add an Android TimePickerDialog how-toMitch Curtis2023-03-311-0/+29
This is a highly requested control, yet its implementation varies greatly between devices and platforms. Rather than try to implement an API and UI that fits every use case (and implement whatever infrastructure may be required for offering separate mobile and desktop controls), offer a specialized example: an Android time picker. The goal is to provide a set of QML files that users can simply copy into their projects. The screenshots were taken of the whole window on a MacBook whose display DPR is 2, and then adapted with the following commands: convert uncropped-light.png -crop 870x1030+280+220 how-to-time-picker-light.png convert uncropped-dark.png -crop 870x1030+280+220 how-to-time-picker-dark.png mogrify -resize 50% how-to-time-picker-*.png find . -name "how-to-time-picker-*.png" -exec optipng -o 7 -strip all {} \; Task-number: QTBUG-51167 Task-number: QTBUG-109634 Pick-to: 6.5 Change-Id: Ie11913ba4a83673d7c2467066d9cfef772055c1d Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io>