diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-27 10:03:35 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-27 10:03:35 (GMT) |
commit | 5f9091771eaa26db5ad35e4788c13ac011512b61 (patch) | |
tree | 1618f8ee918cf39bfd24172fec2bdad3d8dea550 /doc | |
parent | a40db2cd7d5e57e74aa4280e69d99cd252e2d460 (diff) | |
download | Qt-5f9091771eaa26db5ad35e4788c13ac011512b61.zip Qt-5f9091771eaa26db5ad35e4788c13ac011512b61.tar.gz Qt-5f9091771eaa26db5ad35e4788c13ac011512b61.tar.bz2 |
Doc
Diffstat (limited to 'doc')
-rw-r--r-- | doc/src/declarative/pics/repeater-index.png | bin | 0 -> 3024 bytes | |||
-rw-r--r-- | doc/src/snippets/declarative/repeater-index.qml | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/doc/src/declarative/pics/repeater-index.png b/doc/src/declarative/pics/repeater-index.png Binary files differnew file mode 100644 index 0000000..3dbe6d0 --- /dev/null +++ b/doc/src/declarative/pics/repeater-index.png 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] +} + |