-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathZwaveRepairTile.qml
60 lines (53 loc) · 1.14 KB
/
ZwaveRepairTile.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
//
// ZwaveRepair by oepi-loepi
//
import QtQuick 2.1
import BasicUIControls 1.0
import qb.components 1.0
Tile {
id: zwaveRepairTile
property bool dimState: screenStateController.dimmedColors
Text {
id: statusText
text: "Monitoring config_hdrv_zwave.xml"
color: dimmableColors.clockTileColor
width: parent.width-20
wrapMode: Text.WordWrap
anchors {
top: parent.top
topMargin: 10
horizontalCenter: parent.horizontalCenter
}
font.pixelSize: isNxt? 20:16
font.family: qfont.bold.name
visible: !dimState
}
Text {
id: timeText
text: "laaste backup: " + app.lastBackupTimeString
color: dimmableColors.clockTileColor
anchors {
top: statusText.bottom
topMargin: 10
left: parent.left
leftMargin: isNxt? 5:4
}
font.pixelSize: isNxt? 20:16
font.family: qfont.bold.name
visible: !dimState
}
Text {
id: timeText2
text: "laaste reparatie: " + app.lastRepairTimeString
color: dimmableColors.clockTileColor
anchors {
top: timeText.bottom
topMargin: 10
left: parent.left
leftMargin: isNxt? 5:4
}
font.pixelSize: isNxt? 20:16
font.family: qfont.bold.name
visible: !dimState
}
}