-
Notifications
You must be signed in to change notification settings - Fork 1
/
YouWonForm.ui.qml
77 lines (70 loc) · 2.06 KB
/
YouWonForm.ui.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
77
import QtQuick 2.4
Item {
width: 370 //(widthWindow - 20)
height: 495
//(heightWindow - 20)
property alias quitButton: quitButton
Rectangle {
id: optionsRect
width: 270
height: 380
radius: 10
anchors.fill: parent
color: gameBoard.colorsList[6]
Text {
id: congrats
x: -7
y: 6
width: 173
height: 25
color: gameBoard.colorsList[5]
text: qsTr("Congratulations !")
anchors.horizontalCenterOffset: 1
anchors.topMargin: 145
fontSizeMode: Text.FixedSize
font.pixelSize: 22
anchors.horizontalCenter: parent.horizontalCenter
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
anchors.top: parent.top
}
Text {
id: youwon
x: -15
y: 0
width: 173
height: 25
color: gameBoard.colorsList[5]
text: qsTr("You won !")
anchors.horizontalCenterOffset: 1
font.pixelSize: 22
anchors.topMargin: 203
fontSizeMode: Text.FixedSize
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
}
Text {
id: cont
x: 0
y: 11
width: 173
height: 25
color: gameBoard.colorsList[5]
text: qsTr("Click to continue")
anchors.horizontalCenterOffset: 1
font.pixelSize: 22
anchors.topMargin: 355
fontSizeMode: Text.FixedSize
horizontalAlignment: Text.AlignHCenter
verticalAlignment: Text.AlignVCenter
anchors.top: parent.top
anchors.horizontalCenter: parent.horizontalCenter
}
MouseArea {
id: quitButton
anchors.fill: parent
}
}
}