diff options
author | Bea Lam <bea.lam@nokia.com> | 2009-10-28 05:55:59 (GMT) |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2009-10-28 05:55:59 (GMT) |
commit | 55a3fcd7b2fe9cd43f3c0c20d75aaef056a05c5b (patch) | |
tree | a659b792178e6ee620f3d4c4218e518e4b158f64 /doc/src/snippets | |
parent | f0f2941d6dccd4bd402861c01797bb210c516962 (diff) | |
parent | 44be8cc3bb1aebd47f75dcf9cae54884322e1955 (diff) | |
download | Qt-55a3fcd7b2fe9cd43f3c0c20d75aaef056a05c5b.zip Qt-55a3fcd7b2fe9cd43f3c0c20d75aaef056a05c5b.tar.gz Qt-55a3fcd7b2fe9cd43f3c0c20d75aaef056a05c5b.tar.bz2 |
Merge branch 'kinetic-declarativeui' of scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'doc/src/snippets')
-rw-r--r-- | doc/src/snippets/declarative/repeater-index.qml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/repeater-index.qml b/doc/src/snippets/declarative/repeater-index.qml new file mode 100644 index 0000000..9063967 --- /dev/null +++ b/doc/src/snippets/declarative/repeater-index.qml @@ -0,0 +1,15 @@ +import Qt 4.6 + +Rectangle { + width: 50; height: childrenRect.height; color: "white" + +//! [0] + Column { + Repeater { + model: 10 + Text { text: "I'm item " + index } + } + } +//! [0] +} + |