summaryrefslogtreecommitdiffstats
path: root/examples/declarative/ui-components/dialcontrol/content/Dial.qml
diff options
context:
space:
mode:
authorDavid Boddie <dboddie@trolltech.com>2010-08-09 18:50:45 (GMT)
committerDavid Boddie <dboddie@trolltech.com>2010-08-09 18:50:45 (GMT)
commitf33359fb0c56fe88e0ae3c564b7847f90889eac2 (patch)
treec30e7b4dc6ad113896baba3ea291373e0c6af142 /examples/declarative/ui-components/dialcontrol/content/Dial.qml
parent86eec3f6f98b387bf6a815c1a8e916965928b317 (diff)
downloadQt-f33359fb0c56fe88e0ae3c564b7847f90889eac2.zip
Qt-f33359fb0c56fe88e0ae3c564b7847f90889eac2.tar.gz
Qt-f33359fb0c56fe88e0ae3c564b7847f90889eac2.tar.bz2
Doc: Fixes to Qt Quick documentation.
Reviewed-by: Trust Me To-be-verified-by: Qt Doc Team
Diffstat (limited to 'examples/declarative/ui-components/dialcontrol/content/Dial.qml')
-rw-r--r--examples/declarative/ui-components/dialcontrol/content/Dial.qml2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/declarative/ui-components/dialcontrol/content/Dial.qml b/examples/declarative/ui-components/dialcontrol/content/Dial.qml
index b5074a64..3ffa09a 100644
--- a/examples/declarative/ui-components/dialcontrol/content/Dial.qml
+++ b/examples/declarative/ui-components/dialcontrol/content/Dial.qml
@@ -68,6 +68,7 @@ Item {
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 @@ Item {
damping: .15
}
}
+ //! [needle angle]
}
}
//! [needle]