tests/auto/declarative/qdeclarativeanimations/data/dontAutoStart.qml
changeset 30 5dc02b23752f
equal deleted inserted replaced
29:b72c6db6890b 30:5dc02b23752f
       
     1 import Qt 4.7
       
     2 
       
     3 Rectangle {
       
     4     id: wrapper
       
     5     width: 600
       
     6     height: 400
       
     7 
       
     8     Rectangle {
       
     9         id: redRect
       
    10         width: 100; height: 100
       
    11         color: Qt.rgba(1,0,0)
       
    12         Behavior on x {
       
    13             NumberAnimation { id: myAnim; objectName: "MyAnim"; target: redRect; property: "y"; to: 300; loops: Animation.Infinite}
       
    14         }
       
    15 
       
    16     }
       
    17 
       
    18 }