Use the convential form for the selectedText notify signal name.
[profile/ivi/qtdeclarative.git] / tests / auto / quick / qquickvisualdatamodel / data / objectlist.qml
1 import QtQuick 2.0
2
3 ListView {
4     width: 100
5     height: 100
6     anchors.fill: parent
7     model: myModel
8     delegate: Component {
9         Rectangle {
10             height: 25
11             width: 100
12             color: model.modelData.color
13             Text { objectName: "name"; text: name; property string modelName: model.name; function getText() { return name }  }
14             Text { objectName: "section"; text: parent.ListView.section }
15         }
16     }
17     section.property: "name"
18     section.criteria: ViewSection.FullString
19 }