-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathLogo.qml
169 lines (154 loc) · 3.74 KB
/
Logo.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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
import QtQuick 2.0
Item {
id:spash
width: 163
height: 151
SequentialAnimation{
id:animlogo
running: spash.visible
NumberAnimation {
target: recroot
property: "opacity"
from:0
to:0.3
duration: 200
easing.type: Easing.InBounce
}
NumberAnimation {
target: recroot
property: "opacity"
from:0
to:1
duration: 200
easing.type: Easing.OutBounce
}
NumberAnimation {
target: rec1
property: "opacity"
from:0
to:1
duration: 300
easing.type: Easing.InBounce
}
NumberAnimation {
target: rec3
property: "opacity"
from:0
to:1
duration: 300
easing.type: Easing.OutBounce
}
NumberAnimation {
target: rec2
property: "opacity"
from:0
to:1
duration: 300
easing.type: Easing.InBounce
}
NumberAnimation {
target: recroot
property: "opacity"
from:0
to:1
duration: 200
easing.type: Easing.InBounce
}
NumberAnimation {
target: logotypesub
property: "opacity"
from:0
to:1
duration: 200
easing.type: Easing.InBounce
}
NumberAnimation {
target: recroot
property: "opacity"
from:0
to:1
duration: 200
easing.type: Easing.InBounce
}
PauseAnimation {
duration: 1000
}
ScriptAction{
script: {
root.state = 'Register';
}
}
}
Image {
id:recroot
opacity: 0
source: "image/logo_bg.png"
anchors.fill: parent
MouseArea{
anchors.fill: parent
onClicked: {
recroot.opacity =0 ;
rec1.opacity = 0;
rec2.opacity = 0;
rec2.opacity = 0;
logotypesub.opacity = 0;
animlogo.restart();
}
}
Image {
id:rec1
x: 17
opacity: 0
source: "image/logo_rec1.png"
width: 125
height: 86
anchors.top: parent.top
anchors.topMargin: 66
anchors.right: parent.right
anchors.rightMargin: 21
}
Image {
id:rec2
x: 108
opacity: 0
source: "image/logo_rec2.png"
width: 55
height: 87
anchors.top: parent.top
anchors.topMargin: 41
anchors.right: parent.right
anchors.rightMargin: 0
}
Image {
id:rec3
x: 0
opacity: 0
source: "image/logo_rec3.png"
width: 129
height: 93
anchors.top: parent.top
anchors.topMargin: 14
anchors.right: parent.right
anchors.rightMargin: 34
}
}
Image {
id: logotype
anchors.top:recroot.bottom
anchors.topMargin: 20
anchors.horizontalCenter: parent.horizontalCenter
source: "image/logotype.png"
width: 161
height: 32
}
Image {
id: logotypesub
opacity: 0
anchors.top:logotype.bottom
anchors.topMargin: 10
anchors.horizontalCenter: parent.horizontalCenter
source: "image/logotype_sub.png"
width: 160
height: 24
}
}