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
/
qdeclarativelistview
/
data
/
sizelessthan1.qml
1
import QtQuick 1.0
2
3
Rectangle {
4
width: 240
5
height: 320
6
color: "#ffffff"
7
Component {
8
id: myDelegate
9
Rectangle {
10
id: wrapper
11
objectName: "wrapper"
12
height: 0.5
13
width: 240
14
color: ((index % 2) == 1 ? "red" : "blue")
15
}
16
}
17
ListView {
18
id: list
19
objectName: "list"
20
focus: true
21
width: 240
22
height: 320
23
model: testModel
24
delegate: myDelegate
25
}
26
}