aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/imageelements/animatedsprite.qml
diff options
context:
space:
mode:
Diffstat (limited to 'examples/quick/imageelements/animatedsprite.qml')
-rw-r--r--examples/quick/imageelements/animatedsprite.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/quick/imageelements/animatedsprite.qml b/examples/quick/imageelements/animatedsprite.qml
index 337456f785..863a1f67b1 100644
--- a/examples/quick/imageelements/animatedsprite.qml
+++ b/examples/quick/imageelements/animatedsprite.qml
@@ -46,6 +46,8 @@ Item {
anchors.fill: parent
color: "white"
}
+
+//! [sprite]
AnimatedSprite {
id: sprite
width: 170
@@ -58,6 +60,8 @@ Item {
frameHeight: 170
loops: 3
}
+//! [sprite]
+
MouseArea {
anchors.fill: parent
acceptedButtons: Qt.LeftButton | Qt.RightButton