Commit Graph

2 Commits

Author SHA1 Message Date
Eirik Aavitsland 0aabb7c369 Use best practices in the Quick Shapes example
Circles and ellipses can now be expressed simpler with a single
PathAngleArc object, instead of two PathArcs. Similarly, use
PathRectangle instead of four PathLines.

Also fixes various minor qml issues flagged by qmllint.

As a drive-by, improves the doc of the new fillTransform property with
example code that matches one of the gallery examples.

Pick-to: 6.8
Change-Id: I4529cca08c0cffc51d495f8ce815b50c053e4aa3
Reviewed-by: Hatem ElKharashy <hatem.elkharashy@qt.io>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
2024-07-03 19:46:31 +02:00
Eskil Abrahamsen Blomfeldt cb907fc47a Move Qt Quick Shapes examples back under Qt Quick
In order to be accessible from Qt Creator, the modules either has
to have a separate landing page and qdocconf, or we need it under
the same subdirectory as everything else. We currently want
Qt Quick Shapes to be like Qt Quick Particles and be documented
as part of Qt Quick, so the examples move back into a quickshapes/
subdirectory of examples/quick (like with examples/quick/particles/)

Pick-to: 6.7
Change-Id: Ib7aaa75da7c4c9eeca6edb5ede7952598f37df89
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
2024-02-01 21:42:00 +01:00