Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativevisualdatamodel / data / datalist.qml
1 import QtQuick 1.0
2
3 ListView {
4     width: 100
5     height: 100
6     anchors.fill: parent
7     model: VisualDataModel {
8         id: visualModel
9         objectName: "visualModel"
10         model: myModel
11         delegate: Component {
12             Rectangle {
13                 height: 25
14                 width: 100
15                 Text { objectName: "display"; text: display }
16             }
17         }
18     }
19 }