summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativepositioners/data/propertychangestest.qml
blob: 3c95c4c2799be0f5967f59a1bdd97be98d1bac80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import QtQuick 1.0

Grid {
    id: myGrid

    width: 270
    height: 270
    x: 3
    y: 3
    columns: 4
    spacing: 3

    add: columnTransition
    move: columnTransition

    Repeater {
        model: 20
        Rectangle { color: "black"; width: 50; height: 50 }
    }

    data: [
    Transition {
        id: rowTransition
        objectName: "rowTransition"
        NumberAnimation {
            properties: "x,y";
            easing.type: "OutInCubic"
        }
    },
    Transition {
        id: columnTransition
        objectName: "columnTransition"
        NumberAnimation {
            properties: "x,y";
            easing.type: "OutInCubic"
        }
    }
    ]
}