changeset 37 | 758a864f9613 |
parent 33 | 3e2da88830cd |
--- a/examples/declarative/ui-components/dialcontrol/content/Dial.qml Fri Sep 17 08:34:18 2010 +0300 +++ b/examples/declarative/ui-components/dialcontrol/content/Dial.qml Mon Oct 04 01:19:32 2010 +0300 @@ -68,6 +68,7 @@ transform: Rotation { id: needleRotation origin.x: 5; origin.y: 65 + //! [needle angle] angle: Math.min(Math.max(-130, root.value*2.6 - 130), 133) Behavior on angle { SpringAnimation { @@ -75,6 +76,7 @@ damping: .15 } } + //! [needle angle] } } //! [needle]