summaryrefslogtreecommitdiffstats
path: root/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml')
-rw-r--r--doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml23
1 files changed, 23 insertions, 0 deletions
diff --git a/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml b/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml
new file mode 100644
index 0000000..accbc3e
--- /dev/null
+++ b/doc/src/snippets/declarative/gridview/dummydata/ContactModel.qml
@@ -0,0 +1,23 @@
+ListModel {
+ id: ContactModel
+ ListElement {
+ name: "Bill Smith"
+ number: "555 3264"
+ portrait: "pics/portrait.png"
+ }
+ ListElement {
+ name: "Jim Williams"
+ number: "555 5673"
+ portrait: "pics/portrait.png"
+ }
+ ListElement {
+ name: "John Brown"
+ number: "555 8426"
+ portrait: "pics/portrait.png"
+ }
+ ListElement {
+ name: "Sam Wise"
+ number: "555 0473"
+ portrait: "pics/portrait.png"
+ }
+}