projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
fcf6922d0098fe1b0ff8dea403e8d86c71e4f193
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qtquick2
/
qquickpathview
/
data
/
treemodel.qml
1
import QtQuick 2.0
2
3
PathView {
4
width: 320
5
height: 240
6
function setRoot(index) {
7
vdm.rootIndex = vdm.modelIndex(index);
8
}
9
model: VisualDataModel {
10
id: vdm
11
model: myModel
12
delegate: Text { objectName: "wrapper"; text: display }
13
}
14
15
path: Path {
16
startX: 0; startY: 120
17
PathLine { x: 320; y: 120 }
18
}
19
}