tests/auto/declarative/qdeclarativepositioners/data/horizontal-animated.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 
       
     3 Item {
       
     4     width: 640
       
     5     height: 480
       
     6     Row {
       
     7         objectName: "row"
       
     8         add: Transition {
       
     9             NumberAnimation {
       
    10                 properties: "x";
       
    11             }
       
    12         }
       
    13         move: Transition {
       
    14             NumberAnimation {
       
    15                 properties: "x";
       
    16             }
       
    17         }
       
    18         Rectangle {
       
    19             objectName: "one"
       
    20             color: "red"
       
    21             x: -100;
       
    22             width: 50
       
    23             height: 50
       
    24         }
       
    25         Rectangle {
       
    26             objectName: "two"
       
    27             color: "blue"
       
    28             x: -100;
       
    29             opacity: 0
       
    30             width: 50
       
    31             height: 50
       
    32         }
       
    33         Rectangle {
       
    34             objectName: "three"
       
    35             x: -100;
       
    36             color: "green"
       
    37             width: 50
       
    38             height: 50
       
    39         }
       
    40     }
       
    41 }