diff options
author | Alan Alpert <aalpert@blackberry.com> | 2013-04-01 13:45:21 -0700 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-15 18:03:21 +0200 |
commit | 3dbbcc09e98d768a5b7b6c0a498f8aefd9e25b9e (patch) | |
tree | c7a26ae0803fe3881c08791637ee5796a14d680d /examples/quick/particles/system/content/dynamiccomparison.qml | |
parent | 5bf33901429e64ab91f30037e25ec04aab4b4c11 (diff) |
Embed some default particles.
Most prototype level particle effects, at least in our example code,
uses basic and generic particles. Embedding these images into the
particles plugin will facilitate prototyping with the particles API.
Currently finding an image and copying it between projects is a
relatively large development cost for quick particle system prototypes.
Change-Id: I077104915353ab298e2aabd36e2a0a2070030914
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'examples/quick/particles/system/content/dynamiccomparison.qml')
-rw-r--r-- | examples/quick/particles/system/content/dynamiccomparison.qml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/particles/system/content/dynamiccomparison.qml b/examples/quick/particles/system/content/dynamiccomparison.qml index 247a25a17d..9db7c0a1ec 100644 --- a/examples/quick/particles/system/content/dynamiccomparison.qml +++ b/examples/quick/particles/system/content/dynamiccomparison.qml @@ -52,7 +52,7 @@ Rectangle { ImageParticle { system: sys - source: "../../images/particle.png" + source: "qrc:///particleresources/glowdot.png" color: "white" colorVariation: 1.0 alpha: 0.1 @@ -90,7 +90,7 @@ Rectangle { property int lifeSpan: 10000 width: 32 height: 32 - source: "../../images/particle.png" + source: "qrc:///particleresources/glowdot.png" y: 0 PropertyAnimation on y {from: -16; to: root.height-16; duration: container.lifeSpan; running: true} SequentialAnimation on opacity { |