tests/auto/declarative/qdeclarativepositioners/data/propertychangestest.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 
       
     3 Grid {
       
     4     id: myGrid
       
     5 
       
     6     width: 270
       
     7     height: 270
       
     8     x: 3
       
     9     y: 3
       
    10     columns: 4
       
    11     spacing: 3
       
    12 
       
    13     add: columnTransition
       
    14     move: columnTransition
       
    15 
       
    16     Repeater {
       
    17         model: 20
       
    18         Rectangle { color: "black"; width: 50; height: 50 }
       
    19     }
       
    20 
       
    21     data: [
       
    22     Transition {
       
    23         id: rowTransition
       
    24         objectName: "rowTransition"
       
    25         NumberAnimation {
       
    26             properties: "x,y";
       
    27             easing.type: "OutInCubic"
       
    28         }
       
    29     },
       
    30     Transition {
       
    31         id: columnTransition
       
    32         objectName: "columnTransition"
       
    33         NumberAnimation {
       
    34             properties: "x,y";
       
    35             easing.type: "OutInCubic"
       
    36         }
       
    37     }
       
    38     ]
       
    39 }