summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeparticles/data/particles.qml
blob: 0d426451fd336b810babd7d114142d79b22466b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.6
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"
    }
}