aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/vectorimage
Commit message (Collapse)AuthorAgeFilesLines
* VectorImage example: Fix qmllint warningsFabian Kosmale2025-03-171-2/+5
| | | | | | | | | | | | | | | Use required properties where needed, and properly qualify lookups. Use ComponentBehavior: Bound so that the delegates can safely refer to the ids in the same file. This does not fix the unqualified warning in Heart.qml, as that file is auto-generated, and the generator would need the fix instead. Task-number: QTBUG-134589 Pick-to: 6.8 6.9 Change-Id: I6ef213004e0bb3e905a831749e9f0c2c5ca92518 Reviewed-by: Sami Shalayel <[email protected]> Reviewed-by: Ulf Hermann <[email protected]>
* Example for VectorImageEskil Abrahamsen Blomfeldt2024-09-118-0/+386
This introduces a small example of VectorImage and other ways to display SVG content in a Qt Quick application. Its purpose is to document the available APIs for this and explain what their differences are. The heart.svg is a public domain, no-attribution image which is also used in other examples and manual tests in Qt. Pick-to: 6.8.0 6.8 Change-Id: I457ffc01d7ea286a157a4a5bff0571098b852cef Reviewed-by: Eirik Aavitsland <[email protected]>