tests/auto/declarative/qdeclarativebehaviors/data/runningTrue.qml
changeset 33 3e2da88830cd
equal deleted inserted replaced
30:5dc02b23752f 33:3e2da88830cd
       
     1 import Qt 4.7
       
     2 
       
     3 Rectangle {
       
     4     id: root
       
     5     width:200; height:200
       
     6 
       
     7     property real myValue: 0
       
     8 
       
     9     Rectangle {
       
    10         anchors.centerIn: parent
       
    11         width: 100
       
    12         height: 100
       
    13         color: "green"
       
    14         smooth: true
       
    15         rotation: myValue
       
    16         Behavior on rotation {
       
    17             RotationAnimation { id: rotAnim; objectName: "rotAnim"; direction: RotationAnimation.Shortest }
       
    18         }
       
    19     }
       
    20 }