summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeparticles/data/particlestest.qml
blob: 4f168a96266e7cd3a767af3f837384549935c1ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Qt 4.6
import Qt.labs.particles 1.0

Rectangle{
    width: 100
    height: 100
    color: "black"
    objectName: "rect"
    Particles { id: particles
        objectName: "particles"
        width:1; height:1; anchors.centerIn: parent; opacity: 1
        lifeSpan: 100; lifeSpanDeviation: 20; count:1000;
        fadeInDuration: 20; fadeOutDuration: 20; emissionRate: 1000
        angle: 0; angleDeviation: 360; velocity: 500; velocityDeviation:30
        source: "particle.png"
    }
}