projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
QML_RUNTIME_TESTING should be disabled by default.
[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
}