Icons: most settings tabs
This commit is contained in:
parent
74cf71755b
commit
c77784b5c1
17 changed files with 38 additions and 58 deletions
|
|
@ -53,7 +53,7 @@ NIconButton {
|
|||
}
|
||||
|
||||
sizeRatio: 0.8
|
||||
icon: Settings.data.notifications.doNotDisturb ? Bootstrap.icons["bell_striked"] : Bootstrap.icons["bell"]
|
||||
icon: Settings.data.notifications.doNotDisturb ? Bootstrap.icons["bell-slash"] : Bootstrap.icons["bell"]
|
||||
tooltipText: Settings.data.notifications.doNotDisturb ? "Notification history.\nRight-click to disable 'Do Not Disturb'." : "Notification history.\nRight-click to enable 'Do Not Disturb'."
|
||||
colorBg: Color.mSurfaceVariant
|
||||
colorFg: Color.mOnSurface
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ RowLayout {
|
|||
|
||||
NIcon {
|
||||
id: cpuUsageIcon
|
||||
text: Bootstrap.icons["speed"]
|
||||
text: Bootstrap.icons["speedometer2"]
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
@ -85,13 +85,12 @@ RowLayout {
|
|||
// CPU Temperature Component
|
||||
RowLayout {
|
||||
id: cpuTempLayout
|
||||
// spacing is thin here to compensate for the vertical thermometer icon
|
||||
spacing: Style.marginXXS * scaling
|
||||
spacing: Style.marginXS * scaling
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
visible: showCpuTemp
|
||||
|
||||
NIcon {
|
||||
text: Bootstrap.icons["thermometer"]
|
||||
text: Bootstrap.icons["fire"]
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -43,11 +43,11 @@ Item {
|
|||
|
||||
function getIcon() {
|
||||
if (AudioService.muted) {
|
||||
return Bootstrap.icons["volume_muted"]
|
||||
return Bootstrap.icons["volume-mute"]
|
||||
}
|
||||
return AudioService.volume
|
||||
<= Number.EPSILON ? Bootstrap.icons["volume_off"] : (AudioService.volume
|
||||
< 0.5 ? Bootstrap.icons["volume_half"] : Bootstrap.icons["volume_full"])
|
||||
<= Number.EPSILON ? Bootstrap.icons["volume-off"] : (AudioService.volume
|
||||
< 0.5 ? Bootstrap.icons["volume-down"] : Bootstrap.icons["volume-up"])
|
||||
}
|
||||
|
||||
// Connection used to open the pill when volume changes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue