tests/auto/declarative/qdeclarativepositioners/data/grid-animated.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 
       
     3 Item {
       
     4     width: 640
       
     5     height: 480
       
     6     Grid {
       
     7         objectName: "grid"
       
     8         columns: 3
       
     9         add: Transition {
       
    10             NumberAnimation {
       
    11                 properties: "x,y";
       
    12             }
       
    13         }
       
    14         move: Transition {
       
    15             NumberAnimation {
       
    16                 properties: "x,y";
       
    17             }
       
    18         }
       
    19         Rectangle {
       
    20             objectName: "one"
       
    21             color: "red"
       
    22             x: -100
       
    23             y: -100
       
    24             width: 50
       
    25             height: 50
       
    26         }
       
    27         Rectangle {
       
    28             objectName: "two"
       
    29             x: -100
       
    30             y: -100
       
    31             opacity: 0
       
    32             color: "green"
       
    33             width: 50
       
    34             height: 50
       
    35         }
       
    36         Rectangle {
       
    37             objectName: "three"
       
    38             color: "blue"
       
    39             x: -100
       
    40             y: -100
       
    41             width: 50
       
    42             height: 50
       
    43         }
       
    44         Rectangle {
       
    45             objectName: "four"
       
    46             color: "cyan"
       
    47             x: -100
       
    48             y: -100
       
    49             width: 50
       
    50             height: 50
       
    51         }
       
    52         Rectangle {
       
    53             objectName: "five"
       
    54             color: "magenta"
       
    55             x: -100
       
    56             y: -100
       
    57             width: 50
       
    58             height: 50
       
    59         }
       
    60     }
       
    61 }