projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
declarative
/
qdeclarativepathview
/
data
/
pathUpdate.qml
1
import QtQuick 1.0
2
3
Rectangle {
4
width: 400
5
height: 400
6
7
PathView {
8
id: view
9
objectName: "pathView"
10
anchors.fill: parent
11
model: 10
12
delegate: Rectangle { objectName: "wrapper"; color: "green"; width: 100; height: 100 }
13
path: Path {
14
startX: view.width/2; startY: 0
15
PathLine { x: view.width/2; y: view.height }
16
}
17
}
18
}