-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPage3Box1.qml
100 lines (90 loc) · 3.54 KB
/
Page3Box1.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
import QtQuick 2.12
import QtQuick.Controls 2.5
Page {
id: pageRoot
signal emitSparks(var xPos, var yPos, var numberOfParticles)
anchors.fill: parent
palette.text: "white"
palette.window: "black"
palette.windowText: "white"
Rectangle {
anchors.fill: parent
color: "black"
Column {
height: parent.height
width: parent.width
Text {
height: parent.height * 0.2
text: "User Experiences that are .."
font.pixelSize: parent.height * 0.04
color: "white"
}
GroupBox {
height: parent.height * 0.8
width: parent.width
ListView {
anchors.fill: parent
model: ["Interactive", "Entertaining", "Natural", "Customizable"]
delegate: ItemDelegate {
implicitWidth: 128
implicitHeight: 64
CheckDelegate {
id: control
font.pixelSize: parent.height * 0.25
contentItem: Text {
leftPadding: control.indicator.width + control.spacing
text: control.text
font: control.font
opacity: enabled ? 1.0 : 0.3
color: control.down ? "#17a81a" : "#21be2b"
elide: Text.ElideRight
verticalAlignment: Text.AlignVCenter
}
indicator: Rectangle {
implicitWidth: 26
implicitHeight: 26
x: control.leftPadding
y: parent.height / 2 - height / 2
radius: 3
color: "transparent"
border.color: control.down ? "#17a81a" : "#21be2b"
Rectangle {
width: 14
height: 14
x: 6
y: 6
radius: 2
color: control.down ? "#17a81a" : "#21be2b"
visible: control.checked
}
}
text: modelData
checked: true
}
}
populate: Transition {
NumberAnimation {
properties: "x,y"
duration: 6000
}
NumberAnimation {
property: "opacity"
from: 0
to: 1
duration: 6000
}
NumberAnimation {
property: "rotation"
easing.period: 0.39
easing.amplitude: 0.85
easing.type: Easing.InOutCubic
from: -85
to: 0
duration: 6200
}
}
}
}
}
}
}