summaryrefslogtreecommitdiffstats
path: root/examples/declarative/listview/dummydata/MyPetsModel.qml
blob: 5af7fbfbb520ef25e4ec00e096668f07026c74ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!--
ListModel allows free form list models to be defined and populated.
Be sure to name the file the same as the id.
-->
<ListModel id="MyPetsModel">
    <Pet>
        <name>Rover</name>
        <type>Dog</type>
        <age>5</age>
    </Pet>
    <Pet>
        <name>Whiskers</name>
        <type>Cat</type>
        <age>2</age>
    </Pet>
    <Pet>
        <name>Warren</name>
        <type>Rabbit</type>
        <age>2</age>
    </Pet>
    <Pet>
        <name>Polly</name>
        <type>Parrot</type>
        <age>12</age>
    </Pet>
    <Pet>
        <name>Spot</name>
        <type>Dog</type>
        <age>9</age>
    </Pet>
    <Pet>
        <name>Tiny</name>
        <type>Elephant</type>
        <age>15</age>
    </Pet>
    <Pet>
        <name>Penny</name>
        <type>Turtle</type>
        <age>4</age>
    </Pet>
    <Pet>
        <name>Joey</name>
        <type>Kangaroo</type>
        <age>1</age>
    </Pet>
    <Pet>
        <name>Kimba</name>
        <type>Bunny</type>
        <age>65</age>
    </Pet>
</ListModel>