summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/pathview/pathview.qml
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2009-10-06 04:31:56 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2009-10-06 04:31:56 (GMT)
commit2d7ad6196158a6138c946a5d26eefe9ac32f0773 (patch)
tree38754037e6014f7b4696456501e5c551925a778c /doc/src/snippets/declarative/pathview/pathview.qml
parentc9049c0348fe1fffd08edb839012c80a4bd59afd (diff)
downloadQt-2d7ad6196158a6138c946a5d26eefe9ac32f0773.zip
Qt-2d7ad6196158a6138c946a5d26eefe9ac32f0773.tar.gz
Qt-2d7ad6196158a6138c946a5d26eefe9ac32f0773.tar.bz2
lowercase ids
Diffstat (limited to 'doc/src/snippets/declarative/pathview/pathview.qml')
-rw-r--r--doc/src/snippets/declarative/pathview/pathview.qml12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/snippets/declarative/pathview/pathview.qml b/doc/src/snippets/declarative/pathview/pathview.qml
index 004a1d2..5605139 100644
--- a/doc/src/snippets/declarative/pathview/pathview.qml
+++ b/doc/src/snippets/declarative/pathview/pathview.qml
@@ -5,20 +5,20 @@ Rectangle {
//! [0]
//! [1]
Component {
- id: Delegate
+ id: delegate
Item {
- id: Wrapper
+ id: wrapper
width: 80; height: 80
- VerticalLayout {
- Image { anchors.horizontalCenter: Name.horizontalCenter; width: 64; height: 64; source: icon }
- Text { id: Name; text: name; font.pointSize: 16}
+ Column {
+ Image { anchors.horizontalCenter: name.horizontalCenter; width: 64; height: 64; source: icon }
+ Text { id: name; text: name; font.pointSize: 16}
}
}
}
//! [1]
//! [2]
PathView {
- anchors.fill: parent; model: MenuModel; delegate: Delegate
+ anchors.fill: parent; model: MenuModel; delegate: delegate
path: Path {
startX: 120; startY: 100
PathQuad { x: 120; y: 25; controlX: 260; controlY: 75 }