summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/repeater/data/repeater.qml
blob: 2498646dcebfbe7e4e18b13c1fd47c03e6c7ead3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Rect {
    id: container
    width: 240
    height: 320
    color: "white"
    Repeater {
        id: repeater
        width: 240
        height: 320
        dataSource: testData
        Component {
            Text {
                y: index*20
                text: modelData
            }
        }
    }
}