| author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
| Mon, 04 Oct 2010 01:19:32 +0300 | |
| changeset 37 | 758a864f9613 |
| parent 33 | 3e2da88830cd |
| permissions | -rw-r--r-- |
import Qt 4.7 Rectangle { id: root width:200; height:200 property real myValue: 0 Rectangle { anchors.centerIn: parent width: 100 height: 100 color: "green" smooth: true rotation: myValue Behavior on rotation { RotationAnimation { id: rotAnim; objectName: "rotAnim"; direction: RotationAnimation.Shortest } } } }