Fix test fails related to QTBUG-22237
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qsgpathview / data / vdm.qml
1 import QtQuick 2.0
2
3 PathView {
4     id: pathView
5     width: 240; height: 320
6
7     pathItemCount: 4
8     preferredHighlightBegin : 0.5
9     preferredHighlightEnd : 0.5
10
11     path: Path {
12         startX: 120; startY: 20;
13         PathLine { x: 120; y: 300 }
14     }
15
16     ListModel {
17         id: mo
18         ListElement { value: "one" }
19         ListElement { value: "two" }
20         ListElement { value: "three" }
21     }
22
23     model: VisualDataModel {
24         delegate: Text { text: model.value }
25         model : mo
26     }
27 }
28