diff options
author | Yann Bodson <yann.bodson@nokia.com> | 2009-10-06 04:31:56 (GMT) |
---|---|---|
committer | Yann Bodson <yann.bodson@nokia.com> | 2009-10-06 04:31:56 (GMT) |
commit | 2d7ad6196158a6138c946a5d26eefe9ac32f0773 (patch) | |
tree | 38754037e6014f7b4696456501e5c551925a778c /doc/src/snippets/declarative/gridview/gridview.qml | |
parent | c9049c0348fe1fffd08edb839012c80a4bd59afd (diff) | |
download | Qt-2d7ad6196158a6138c946a5d26eefe9ac32f0773.zip Qt-2d7ad6196158a6138c946a5d26eefe9ac32f0773.tar.gz Qt-2d7ad6196158a6138c946a5d26eefe9ac32f0773.tar.bz2 |
lowercase ids
Diffstat (limited to 'doc/src/snippets/declarative/gridview/gridview.qml')
-rw-r--r-- | doc/src/snippets/declarative/gridview/gridview.qml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/src/snippets/declarative/gridview/gridview.qml b/doc/src/snippets/declarative/gridview/gridview.qml index d0f0623..1a2021c 100644 --- a/doc/src/snippets/declarative/gridview/gridview.qml +++ b/doc/src/snippets/declarative/gridview/gridview.qml @@ -11,11 +11,11 @@ Rectangle { // instantiated for each visible item in the list. //! [0] Component { - id: Delegate + id: delegate Item { - id: Wrapper + id: wrapper width: 80; height: 78 - VerticalLayout { + Column { Image { source: portrait; anchors.horizontalCenter: parent.horizontalCenter } Text { text: name; anchors.horizontalCenter: parent.horizontalCenter } } @@ -26,7 +26,7 @@ Rectangle { // by each ListView and placed behind the current item. //! [1] Component { - id: Highlight + id: highlight Rectangle { color: "lightsteelblue" radius: 5 @@ -37,9 +37,9 @@ Rectangle { //! [2] GridView { width: parent.width; height: parent.height - model: ContactModel; delegate: Delegate + model: ContactModel; delegate: delegate cellWidth: 80; cellHeight: 80 - highlight: Highlight + highlight: highlight focus: true } //! [2] |