aboutsummaryrefslogtreecommitdiffstats
path: root/examples/declarative/particles/affectors/friction.qml
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2011-09-20 17:16:36 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-21 07:11:25 +0200
commitc07ea77a6201ef5595ff5714fba891be4408fa9a (patch)
treea76327735961f81130bffeeb9a62f2fcb7fec8bb /examples/declarative/particles/affectors/friction.qml
parentef98f5a80369e3f014585edc3dd63a2ec331d1ea (diff)
Add whitespace
Change-Id: Iad55228ffa86bbf63b12a33d0f00ce734807c071 Reviewed-on: http://codereview.qt-project.org/5199 Reviewed-by: Bea Lam <bea.lam@nokia.com>
Diffstat (limited to 'examples/declarative/particles/affectors/friction.qml')
-rw-r--r--examples/declarative/particles/affectors/friction.qml21
1 files changed, 11 insertions, 10 deletions
diff --git a/examples/declarative/particles/affectors/friction.qml b/examples/declarative/particles/affectors/friction.qml
index 823f924e22..f3301b1826 100644
--- a/examples/declarative/particles/affectors/friction.qml
+++ b/examples/declarative/particles/affectors/friction.qml
@@ -45,47 +45,48 @@ Item {
width: 360
height: 600
- Image{
+ Image {
source: "../images/backgroundLeaves.jpg"
anchors.fill: parent
}
- ParticleSystem{ id: sys }
- Emitter{
+ ParticleSystem { id: sys }
+ Emitter {
system: sys
width: parent.width
emitRate: 4
lifeSpan: 14000
size: 80
- speed: PointDirection{ y: 160; yVariation: 80; xVariation: 20 }
+ speed: PointDirection { y: 160; yVariation: 80; xVariation: 20 }
}
- ImageParticle{
+
+ ImageParticle {
anchors.fill: parent
id: particles
system: sys
- sprites: [Sprite{
+ sprites: [Sprite {
source: "../images/realLeaf1.png"
frames: 1
duration: 1
to: {"a":1, "b":1, "c":1, "d":1}
- }, Sprite{
+ }, Sprite {
name: "a"
source: "../images/realLeaf1.png"
frames: 1
duration: 10000
},
- Sprite{
+ Sprite {
name: "b"
source: "../images/realLeaf2.png"
frames: 1
duration: 10000
},
- Sprite{
+ Sprite {
name: "c"
source: "../images/realLeaf3.png"
frames: 1
duration: 10000
},
- Sprite{
+ Sprite {
name: "d"
source: "../images/realLeaf4.png"
frames: 1