Repository navigation
Expand file tree
/
Copy pathFileinfoTile.qml
More file actions
175 lines (152 loc) · 3.75 KB
/
Copy pathFileinfoTile.qml
File metadata and controls
175 lines (152 loc) · 3.75 KB
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
170
171
172
173
174
175
import QtQuick 2.1
import qb.components 1.0
Tile {
id: fileinfoTile
onClicked: {
if (app.fileinfoScreen) app.fileinfoScreen.show();
}
Text {
id: roadTile1NameLabel
text: app.roadTile1Name
anchors {
top: parent.top
topMargin: -10
left: parent.left
leftMargin: 10
}
font {
family: qfont.regular.name
pixelSize: isNxt ? 62 : 50
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.waTileTextColor : colors.waTileTextColor
visible: app.roadTile1
}
Text {
id: roadTile1NumberLabel
text: app.roadTile1NumberOfJams + " file(s)"
anchors {
top: roadTile1NameLabel.top
topMargin: 10
left: roadTile1NameLabel.left
leftMargin: isNxt ? 162 : 130
}
font {
family: qfont.bold.name
pixelSize: isNxt ? 25 : 20
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.clockTileColor : colors.clockTileColor
visible: app.roadTile1
}
Text {
id: roadTile1LengthLabel
text: app.roadTile1TotalLength+ " km"
anchors {
top: roadTile1NameLabel.top
topMargin: isNxt ? 40 : 32
left: roadTile1NameLabel.left
leftMargin: isNxt ? 162 : 130
}
font {
family: qfont.bold.name
pixelSize: isNxt ? 25 : 20
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.clockTileColor : colors.clockTileColor
visible: app.roadTile1
}
Text {
id: roadTile2NameLabel
text: app.roadTile2Name
anchors {
top: roadTile1NameLabel.bottom
topMargin: -18
left: parent.left
leftMargin: 10
}
font {
family: qfont.regular.name
pixelSize: isNxt ? 62 : 50
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.waTileTextColor : colors.waTileTextColor
visible: app.roadTile2
}
Text {
id: roadTile2NumberLabel
text: app.roadTile2NumberOfJams + " file(s)"
anchors {
top: roadTile2NameLabel.top
topMargin: 10
left: roadTile2NameLabel.left
leftMargin: isNxt ? 162 : 130
}
font {
family: qfont.bold.name
pixelSize: isNxt ? 25 : 20
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.clockTileColor : colors.clockTileColor
visible: app.roadTile2
}
Text {
id: roadTile2LengthLabel
text: app.roadTile2TotalLength+ " km"
anchors {
top: roadTile2NameLabel.top
topMargin: isNxt ? 40 : 32
left: roadTile2NameLabel.left
leftMargin: isNxt ? 162 : 130
}
font {
family: qfont.bold.name
pixelSize: isNxt ? 25 : 20
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.clockTileColor : colors.clockTileColor
visible: app.roadTile2
}
Text {
id: roadTile3NameLabel
text: app.roadTile3Name
anchors {
top: roadTile2NameLabel.bottom
topMargin: -18
left: parent.left
leftMargin: 10
}
font {
family: qfont.regular.name
pixelSize: isNxt ? 62 : 50
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.waTileTextColor : colors.waTileTextColor
visible: app.roadTile3
}
Text {
id: roadTile3NumberLabel
text: app.roadTile3NumberOfJams + " file(s)"
anchors {
top: roadTile3NameLabel.top
topMargin: 10
left: roadTile3NameLabel.left
leftMargin: isNxt ? 162 : 130
}
font {
family: qfont.bold.name
pixelSize: isNxt ? 25 : 20
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.clockTileColor : colors.clockTileColor
visible: app.roadTile3
}
Text {
id: roadTile3LengthLabel
text: app.roadTile3TotalLength + " km"
anchors {
top: roadTile3NameLabel.top
topMargin: isNxt ? 40 : 32
left: roadTile3NameLabel.left
leftMargin: isNxt ? 162 : 130
}
font {
family: qfont.bold.name
pixelSize: isNxt ? 25 : 20
}
color: (typeof dimmableColors !== 'undefined') ? dimmableColors.clockTileColor : colors.clockTileColor
visible: app.roadTile3
}
}