diff options
author | David Boddie <dboddie@trolltech.com> | 2010-08-09 18:50:45 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2010-08-09 18:50:45 (GMT) |
commit | f33359fb0c56fe88e0ae3c564b7847f90889eac2 (patch) | |
tree | c30e7b4dc6ad113896baba3ea291373e0c6af142 /examples/declarative | |
parent | 86eec3f6f98b387bf6a815c1a8e916965928b317 (diff) | |
download | Qt-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')
-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 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] diff --git a/examples/declarative/ui-components/dialcontrol/dialcontrol.qml b/examples/declarative/ui-components/dialcontrol/dialcontrol.qml index 95df68c..46cc3e6 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] |