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
/
qdeclarativerepeater
/
data
/
repeater2.qml
1
import QtQuick 1.0
2
3
Rectangle {
4
width: 240
5
height: 320
6
color: "white"
7
Component {
8
id: myDelegate
9
Item {
10
objectName: "myDelegate"
11
height: 20
12
width: 240
13
Text {
14
objectName: "myName"
15
text: name
16
}
17
Text {
18
objectName: "myNumber"
19
x: 100
20
text: number
21
}
22
}
23
}
24
Column {
25
id: container
26
objectName: "container"
27
Repeater {
28
id: repeater
29
objectName: "repeater"
30
width: 240
31
height: 320
32
delegate: myDelegate
33
model: testData
34
}
35
}
36
}