-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathAbout.qml
109 lines (95 loc) · 3 KB
/
About.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
import QtQuick 2.4
import Ubuntu.Components 1.3
/*!
\brief MainView with a Label and Button elements.
*/
Page {
id: aboutPage
visible: false
header: PageHeader {
id: pageHeader
title: i18n.tr("About")
leadingActionBar {
numberOfSlots: 1
actions: [
Action {
id: actionSettings
iconName: "back"
text: i18n.tr("Back")
onTriggered: {
onClicked: mainPageStack.pop(aboutPage)
}
}
]
}
}
Image {
id: appImage
source: "xake.png"
anchors{
horizontalCenter: parent.horizontalCenter
top: pageHeader.bottom
topMargin: units.gu(6)
}
Label {
anchors {
horizontalCenter: parent.horizontalCenter
top: appImage.bottom
topMargin: units.gu(6)
}
id: label
objectName: "label"
text: i18n.tr("Chess v.0.5.2")
}
Label {
anchors {
horizontalCenter: parent.horizontalCenter
top: label.bottom
topMargin: units.gu(3)
}
id: label1
objectName: "label"
text: i18n.tr("2016")
}
Label {
anchors {
horizontalCenter: parent.horizontalCenter
top: label1.bottom
topMargin: units.gu(3)
}
id: label2
objectName: "label"
text: i18n.tr("Andima Landaluze <[email protected]>")
}
Label {
anchors {
horizontalCenter: parent.horizontalCenter
top: label2.bottom
topMargin: units.gu(3)
}
id: label3
objectName: "label"
text: i18n.tr("This app uses:")
}
Label {
anchors {
horizontalCenter: parent.horizontalCenter
top: label3.bottom
topMargin: units.gu(3)
}
id: label4
objectName: "label"
text: i18n.tr("cinnamon chess engine (GPL v.3 license)")
}
Label {
anchors {
horizontalCenter: parent.horizontalCenter
top: label4.bottom
topMargin: units.gu(3)
}
id: label5
objectName: "label"
text: i18n.tr("chessboardjs (MIT license)")
}
}
}