-
Notifications
You must be signed in to change notification settings - Fork 1
/
shuffler-view.qml
76 lines (66 loc) · 1.3 KB
/
shuffler-view.qml
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
72
73
74
75
76
import QtQuick 1.0
Rectangle {
width: 800
height: 600
color: "white"
focus: true
Keys.onPressed: {
if (event.key == Qt.Key_Return) {
handler.run(winners);
}
}
Image {
source: "avatar.svg"
anchors.left: parent.left
anchors.leftMargin: 20
anchors.top: parent.top
anchors.topMargin: 10
fillMode: Image.PreserveAspectFit
smooth: true
width: 300
}
Text {
text: "Herzlichen Glückwunsch an ..."
font.family: "Lato"
font.pixelSize: 60
font.weight: Font.Normal
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
anchors.topMargin: 300
anchors.bottomMargin: 60
visible: true
id: gewinner
}
Text {
text: "#pam9"
font.family: "Lato"
font.pixelSize: 80
font.weight: Font.Normal
anchors.right: parent.right
anchors.bottom: parent.bottom
anchors.bottomMargin: 20
anchors.rightMargin: 20
visible: true
color: "#999"
}
Rectangle {
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: gewinner.bottom
objectName: "badge"
id: badge
width: 720
height: 1020
clip: true
Text {
id: winners
objectName: "winners"
text: ""
font.family: "Lato"
font.pixelSize: 250
anchors.centerIn: parent
visible: true
clip: true
//verticalAlignment: TextInput.AlignBottom
}
}
}