diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-19 06:33:43 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2010-07-19 06:33:43 (GMT) |
commit | 29a628290fe17d96341514046b856635bc23c720 (patch) | |
tree | 3f4cabe2314c104c8ec80f170a536706b6587f32 /doc/src | |
parent | dc37f4ff3439e44df65d24aea4354c80d2a02293 (diff) | |
parent | cc08942aa57877fd4b8e309088ffe9b28a7deeb8 (diff) | |
download | Qt-29a628290fe17d96341514046b856635bc23c720.zip Qt-29a628290fe17d96341514046b856635bc23c720.tar.gz Qt-29a628290fe17d96341514046b856635bc23c720.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-qml into 4.7-integration
* '4.7' of scm.dev.nokia.troll.no:qt/qt-qml:
Fix ListView sections with QList<QObject*>
Doc error fixes.
Remove the -use-blur option from qtdemo
Add label to explain how to exit QML demos
PathView doc clarification.
Fix Samegame
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/examples/qml-examples.qdoc | 9 | ||||
-rw-r--r-- | doc/src/snippets/declarative/pathview/pathattributes.qml | 12 |
2 files changed, 15 insertions, 6 deletions
diff --git a/doc/src/examples/qml-examples.qdoc b/doc/src/examples/qml-examples.qdoc index ce53677..3fd4ea8 100644 --- a/doc/src/examples/qml-examples.qdoc +++ b/doc/src/examples/qml-examples.qdoc @@ -317,6 +317,15 @@ */ /*! + \title Models and Views: PathView + \example declarative/modelviews/pathview + + This example shows how to use the PathView element. + + \image qml-pathview-example.png +*/ + +/*! \title Models and Views: Object ListModel \example declarative/modelviews/objectlistmodel diff --git a/doc/src/snippets/declarative/pathview/pathattributes.qml b/doc/src/snippets/declarative/pathview/pathattributes.qml index 8d424a8..4daee63 100644 --- a/doc/src/snippets/declarative/pathview/pathattributes.qml +++ b/doc/src/snippets/declarative/pathview/pathattributes.qml @@ -49,8 +49,8 @@ Rectangle { id: delegate Item { width: 80; height: 80 - scale: PathView.scale - opacity: PathView.opacity + scale: PathView.iconScale + opacity: PathView.iconOpacity Column { Image { anchors.horizontalCenter: name.horizontalCenter; width: 64; height: 64; source: icon } Text { text: name; font.pointSize: 16} @@ -66,11 +66,11 @@ Rectangle { delegate: delegate path: Path { startX: 120; startY: 100 - PathAttribute { name: "scale"; value: 1.0 } - PathAttribute { name: "opacity"; value: 1.0 } + PathAttribute { name: "iconScale"; value: 1.0 } + PathAttribute { name: "iconOpacity"; value: 1.0 } PathQuad { x: 120; y: 25; controlX: 260; controlY: 75 } - PathAttribute { name: "scale"; value: 0.3 } - PathAttribute { name: "opacity"; value: 0.5 } + PathAttribute { name: "iconScale"; value: 0.3 } + PathAttribute { name: "iconOpacity"; value: 0.5 } PathQuad { x: 120; y: 100; controlX: -20; controlY: 75 } } } |