settings: more icons

This commit is contained in:
end-4
2025-10-04 12:54:34 +02:00
parent 81bdb352aa
commit 81287e9eb5
7 changed files with 51 additions and 3 deletions
@@ -15,6 +15,7 @@ ContentPage {
title: Translation.tr("Audio")
ConfigSwitch {
buttonIcon: "hearing"
text: Translation.tr("Earbang protection")
checked: Config.options.audio.protection.enable
onCheckedChanged: {
@@ -25,8 +26,9 @@ ContentPage {
}
}
ConfigRow {
// uniform: true
enabled: Config.options.audio.protection.enable
ConfigSpinBox {
icon: "arrow_warm_up"
text: Translation.tr("Max allowed increase")
value: Config.options.audio.protection.maxAllowedIncrease
from: 0
@@ -37,6 +39,7 @@ ContentPage {
}
}
ConfigSpinBox {
icon: "vertical_align_top"
text: Translation.tr("Volume limit")
value: Config.options.audio.protection.maxAllowed
from: 0
@@ -56,6 +59,7 @@ ContentPage {
ConfigRow {
uniform: true
ConfigSpinBox {
icon: "warning"
text: Translation.tr("Low warning")
value: Config.options.battery.low
from: 0
@@ -66,6 +70,7 @@ ContentPage {
}
}
ConfigSpinBox {
icon: "dangerous"
text: Translation.tr("Critical warning")
value: Config.options.battery.critical
from: 0
@@ -77,8 +82,10 @@ ContentPage {
}
}
ConfigRow {
uniform: true
uniform: false
Layout.fillWidth: false
ConfigSwitch {
buttonIcon: "pause"
text: Translation.tr("Automatic suspend")
checked: Config.options.battery.automaticSuspend
onCheckedChanged: {
@@ -89,7 +96,8 @@ ContentPage {
}
}
ConfigSpinBox {
text: Translation.tr("Suspend at")
enabled: Config.options.battery.automaticSuspend
text: Translation.tr("at")
value: Config.options.battery.suspend
from: 0
to: 100