Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativebehaviors / data / runningTrue.qml
1 import QtQuick 1.0
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 }