path: root/examples/quick/canvas
diff options
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>2012-11-30 12:30:11 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-30 15:30:17 +0100
commit6daa13b55a0e6685d7397e93e4c37c739ede9268 (patch)
treebe25bbc11d2bedda518bee502a445c615e1ff90d /examples/quick/canvas
parentd7996b7637ae0bbc261c32b4f93dd07e66eeda7a (diff)
Fix example lists for Qt Quick
Snippets are fixed, the extending-examples are moved from QtDoc, groups are used to generate the lists and I've removed some unrelated stuff from the list of Qt Quick examples. Change-Id: I347b6fa8a29b1cede1164fa858488f34507e1a17 Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'examples/quick/canvas')
1 files changed, 6 insertions, 5 deletions
diff --git a/examples/quick/canvas/doc/src/canvas.qdoc b/examples/quick/canvas/doc/src/canvas.qdoc
index 33ae83ef27..e756106823 100644
--- a/examples/quick/canvas/doc/src/canvas.qdoc
+++ b/examples/quick/canvas/doc/src/canvas.qdoc
@@ -30,17 +30,18 @@
\example quick/canvas
\brief This is a collection of QML Canvas examples.
\image qml-canvas-example.png
+ \ingroup qtquickexamples
This is a collection of small QML examples relating to Canvas item. Each example is
a small QML file emphasizing a particular element or feature.
Red heart demonstrates using a bezierCurve API to stroke and fill a red heart.
- \snippet examples/quick/canvas/bezierCurve/bezierCurve.qml 0
+ \snippet quick/canvas/bezierCurve/bezierCurve.qml 0
Talk bubble demonstrates using a quadraticCurveTo API to stroke and fill a customized talk bubble:
- \snippet examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml 0
+ \snippet quick/canvas/quadraticCurveTo/quadraticCurveTo.qml 0
This example also demonstrates the fillText API:
- \snippet examples/quick/canvas/quadraticCurveTo/quadraticCurveTo.qml 1
+ \snippet quick/canvas/quadraticCurveTo/quadraticCurveTo.qml 1
Squircle demonstrates using a collection of simple moveTo/lineTo path APIs to draw a smooth squircle.
@@ -49,10 +50,10 @@
Smile face demonstrates using several complex path APIs to draw an fill a smile face.
Clip demonstrates using clip API to clip a given image.
- \snippet examples/quick/canvas/clip/clip.qml 0
+ \snippet quick/canvas/clip/clip.qml 0
Tiger demonstrates using SVG path API to draw a tiger with a collection of SVG path strings.
- \snippet examples/quick/canvas/tiger/tiger.qml 0
+ \snippet quick/canvas/tiger/tiger.qml 0