1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
import Qt 4.7
import Qt.labs.gestures 1.0
Rectangle {
width: 520
height: 500
Flickable {
contentWidth: parent.width;
contentHeight: parent.height * 2;
id: flickable
width: parent.width
height: parent.height
Text {
id: bottomleft;
text: "(0," + parent.height + ")";
anchors.bottom: parent.bottom;
anchors.left: parent.left;
z: 2;
}
Text {
id: bottomright;
text: "(" + parent.width + "," + parent.height + ")";
anchors.bottom: parent.bottom;
anchors.right: parent.right;
z: 2;
}
Text {
id: topright;
text: "(" + parent.width + ",0)";
anchors.top: parent.top;
anchors.right: parent.right;
z: 2;
}
Rectangle {
id: contentRect
anchors.fill: parent
gradient: Gradient {
GradientStop {
position: 0.00;
color: "#0FFF1B";
}
GradientStop {
position: 1.00;
color: "#0070ff";
}
}
Grid {
Repeater {
//random: true
model: [ "Andy_ant.png", "ArtFavor_Cartoon_Sheep.png", "johnny_automatic_chicken.png", "johnny_automatic_cow.png",
"liftarn_Ddraig.png", "liftarn_Owl_on_book.png", "johnny_automatic_turkey.png", "lemmling_Cartoon_cow.png",
"johnny_automatic_startled_bears.png", "PeterM_Angry_black_panther.png", "PeterM_Bee.png", "lakeside_witch_over_harvest_moon.png",
"PeterM_Sad_cat.png", "PeterM_Housefly.png", "ArtFavor_Sheep_(Ewe).png", "PeterM_Penguin_with_a_shirt.png",
"johnny_automatic_cow_1.png", "rejon_Ant_Icon.png", "liftarn_Taun_taun.png", "johnny_automatic_hare_and_tabor.png",
"TheresaKnott_frog.png", "johnny_automatic_horse_silhouette.png", "obi_Dragon_s_head.png"
]
Animal {
image: "images/" + modelData
}
}
}
}
}
}
|