diff options
author | Martin Jones <martin.jones@nokia.com> | 2009-05-01 01:07:52 (GMT) |
---|---|---|
committer | Martin Jones <martin.jones@nokia.com> | 2009-05-01 01:07:52 (GMT) |
commit | 94dff487709583068bdc002a955cf5b423cae614 (patch) | |
tree | 7c27e546986c478de9ac7d8fc8b5b481acddde09 /doc/src | |
parent | dae1a84e571691e32147e7d1699e161693dbfee1 (diff) | |
download | Qt-94dff487709583068bdc002a955cf5b423cae614.zip Qt-94dff487709583068bdc002a955cf5b423cae614.tar.gz Qt-94dff487709583068bdc002a955cf5b423cae614.tar.bz2 |
More format conversion.
Diffstat (limited to 'doc/src')
-rw-r--r-- | doc/src/declarative/pics/repeater.png | bin | 0 -> 800 bytes | |||
-rw-r--r-- | doc/src/snippets/declarative/repeater.qml | 12 |
2 files changed, 12 insertions, 0 deletions
diff --git a/doc/src/declarative/pics/repeater.png b/doc/src/declarative/pics/repeater.png Binary files differnew file mode 100644 index 0000000..973df27 --- /dev/null +++ b/doc/src/declarative/pics/repeater.png diff --git a/doc/src/snippets/declarative/repeater.qml b/doc/src/snippets/declarative/repeater.qml new file mode 100644 index 0000000..c8f9f18 --- /dev/null +++ b/doc/src/snippets/declarative/repeater.qml @@ -0,0 +1,12 @@ +//! [0] +Rect { width: 220; height: 20; color: "white" + Component { id: Dot + Rect { width: 20; height: 20; radius: 10; color: "green" } + } + HorizontalLayout { + Rect { width: 10; height: 20; color: "red" } + Repeater { component: Dot; dataSource: 10 } + Rect { width: 10; height: 20; color: "blue" } + } +} +//! [0] |