summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeparticles/data/particles.qml
blob: c58927e05db531a1372b4564db214cd5e1981d67 (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; count: -1; emissionRate: 1000
        angle: 0; angleDeviation: 360; velocity: 500; velocityDeviation:30
        source: "particle.png"
    }
}