diff options
Diffstat (limited to 'examples/declarative/particles/Trails/Layered.qml')
-rw-r--r-- | examples/declarative/particles/Trails/Layered.qml | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/examples/declarative/particles/Trails/Layered.qml b/examples/declarative/particles/Trails/Layered.qml deleted file mode 100644 index 98fb87d75a..0000000000 --- a/examples/declarative/particles/Trails/Layered.qml +++ /dev/null @@ -1,53 +0,0 @@ -import QtQuick 2.0 -import Qt.labs.particles 2.0 - -Rectangle{ - id: root - width: 360 - height: 600 - color: "darkblue" - property bool cloneMode: false - MouseArea{ - anchors.fill: parent - onClicked: cloneMode = !cloneMode; - } - ParticleSystem{ - id: sys - startTime: 4000 - } - TrailEmitter{ - system: sys - y:root.height + 20 - width: root.width - particlesPerSecond: 200 - particleDuration: 4000 - speed: PointVector{ y: -120; } - } - SpriteParticle{ - system: sys - visible: !cloneMode - Sprite{ - source: "content/particle2.png" - } - } - SpriteParticle{ - system: sys - visible: cloneMode - z: 0 - Sprite{ - source: "content/particle3.png" - } - } - SpriteParticle{ - system: sys - clip: true - visible: cloneMode - y: 120 - height: 240 - width: root.width - z: 1 - Sprite{ - source: "content/particle.png" - } - } -} |