aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qquicklistview/data/ComponentView.qml
blob: 3e87be87990d833b37b8cb1159c4b31dd3aa6f26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQuick 2.0

ListView {
    id: view

    property string title

    width: 100; height: 100;

    model: 1
    delegate: Text { objectName: "listItem"; text: view.title }
    header: Text { objectName: "header"; text: view.title }
    footer: Text { objectName: "footer"; text: view.title }
    section.delegate: Text { objectName: "section"; text: view.title }
    section.property: "modelData"
}