diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-09-20 17:16:36 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-09-21 07:11:25 +0200 |
commit | c07ea77a6201ef5595ff5714fba891be4408fa9a (patch) | |
tree | a76327735961f81130bffeeb9a62f2fcb7fec8bb /examples/declarative/particles/simple/startstop.qml | |
parent | ef98f5a80369e3f014585edc3dd63a2ec331d1ea (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/simple/startstop.qml')
-rw-r--r-- | examples/declarative/particles/simple/startstop.qml | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/examples/declarative/particles/simple/startstop.qml b/examples/declarative/particles/simple/startstop.qml index bab3f5fdee..6519f50a57 100644 --- a/examples/declarative/particles/simple/startstop.qml +++ b/examples/declarative/particles/simple/startstop.qml @@ -41,11 +41,11 @@ import QtQuick 2.0 import QtQuick.Particles 2.0 -Rectangle{ +Rectangle { width: 360 height: 540 color: "black" - MouseArea{ + MouseArea { anchors.fill: parent acceptedButtons: Qt.LeftButton | Qt.RightButton onClicked: { @@ -55,11 +55,13 @@ Rectangle{ particles.paused = !particles.paused; } } - ParticleSystem{ - id: particles + + ParticleSystem { + id: particles running: false } - ImageParticle{ + + ImageParticle { anchors.fill: parent system: particles source: "../images/star.png" @@ -67,7 +69,8 @@ Rectangle{ alpha: 0 colorVariation: 0.6 } - Emitter{ + + Emitter { anchors.fill: parent system: particles emitRate: 2000 |