|
|
|
@ -16,7 +16,7 @@ Item {
|
|
|
|
id: background
|
|
|
|
id: background
|
|
|
|
anchors.fill: parent
|
|
|
|
anchors.fill: parent
|
|
|
|
color: FishUI.Theme.backgroundColor
|
|
|
|
color: FishUI.Theme.backgroundColor
|
|
|
|
opacity: 0.6
|
|
|
|
opacity: FishUI.Theme.darkMode ? 0.6 : 0.8
|
|
|
|
|
|
|
|
|
|
|
|
Behavior on color {
|
|
|
|
Behavior on color {
|
|
|
|
ColorAnimation {
|
|
|
|
ColorAnimation {
|
|
|
|
@ -80,8 +80,7 @@ Item {
|
|
|
|
color: FishUI.Theme.darkMode ? 'white' : 'black'
|
|
|
|
color: FishUI.Theme.darkMode ? 'white' : 'black'
|
|
|
|
visible: text
|
|
|
|
visible: text
|
|
|
|
Layout.alignment: Qt.AlignVCenter
|
|
|
|
Layout.alignment: Qt.AlignVCenter
|
|
|
|
font.pointSize: parent.height ? parent.height / 3 : 1
|
|
|
|
font.pointSize: rootItem.height ? rootItem.height / 3 : 1
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -201,7 +200,7 @@ Item {
|
|
|
|
|
|
|
|
|
|
|
|
Label {
|
|
|
|
Label {
|
|
|
|
text: battery.chargePercent + "%"
|
|
|
|
text: battery.chargePercent + "%"
|
|
|
|
font.pointSize: parent.height ? parent.height / 2 : 1
|
|
|
|
font.pointSize: rootItem.height ? rootItem.height / 3 : 1
|
|
|
|
color: FishUI.Theme.darkMode ? 'white' : 'black'
|
|
|
|
color: FishUI.Theme.darkMode ? 'white' : 'black'
|
|
|
|
visible: battery.showPercentage
|
|
|
|
visible: battery.showPercentage
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@ -210,7 +209,7 @@ Item {
|
|
|
|
Label {
|
|
|
|
Label {
|
|
|
|
id: timeLabel
|
|
|
|
id: timeLabel
|
|
|
|
Layout.alignment: Qt.AlignCenter
|
|
|
|
Layout.alignment: Qt.AlignCenter
|
|
|
|
font.pointSize: parent.height ? parent.height / 3 : 1
|
|
|
|
font.pointSize: rootItem.height ? rootItem.height / 3 : 1
|
|
|
|
color: FishUI.Theme.darkMode ? 'white' : 'black'
|
|
|
|
color: FishUI.Theme.darkMode ? 'white' : 'black'
|
|
|
|
|
|
|
|
|
|
|
|
Timer {
|
|
|
|
Timer {
|
|
|
|
|