diff options
author | David Boddie <dboddie@trolltech.com> | 2010-08-09 20:50:45 +0200 |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-08-09 20:50:45 +0200 |
commit | f33359fb0c56fe88e0ae3c564b7847f90889eac2 (patch) | |
tree | c30e7b4dc6ad113896baba3ea291373e0c6af142 /examples/declarative/ui-components | |
parent | 86eec3f6f98b387bf6a815c1a8e916965928b317 (diff) | |
download | qt4-tools-f33359fb0c56fe88e0ae3c564b7847f90889eac2.tar.gz |
Doc: Fixes to Qt Quick documentation.
Reviewed-by: Trust Me
To-be-verified-by: Qt Doc Team
Diffstat (limited to 'examples/declarative/ui-components')
-rw-r--r-- | examples/declarative/ui-components/dialcontrol/content/Dial.qml | 2 | ||||
-rw-r--r-- | examples/declarative/ui-components/dialcontrol/dialcontrol.qml | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/examples/declarative/ui-components/dialcontrol/content/Dial.qml b/examples/declarative/ui-components/dialcontrol/content/Dial.qml index b5074a649b..3ffa09ae40 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] diff --git a/examples/declarative/ui-components/dialcontrol/dialcontrol.qml b/examples/declarative/ui-components/dialcontrol/dialcontrol.qml index 95df68c638..46cc3e6f4e 100644 --- a/examples/declarative/ui-components/dialcontrol/dialcontrol.qml +++ b/examples/declarative/ui-components/dialcontrol/dialcontrol.qml @@ -38,8 +38,10 @@ ** ****************************************************************************/ +//! [imports] import Qt 4.7 import "content" +//! [imports] //! [0] Rectangle { @@ -87,4 +89,4 @@ Rectangle { } } } -//! [0]
\ No newline at end of file +//! [0] |