Icons: more icons
This commit is contained in:
parent
c77784b5c1
commit
ccdb4e0664
14 changed files with 27 additions and 39 deletions
|
|
@ -19,13 +19,13 @@ NIconButton {
|
|||
|
||||
function profileIcon() {
|
||||
if (!hasPP)
|
||||
return "balance"
|
||||
return Bootstrap.icons["yin-yang"]
|
||||
if (powerProfiles.profile === PowerProfile.Performance)
|
||||
return "speed"
|
||||
return Bootstrap.icons["speedometer2"]
|
||||
if (powerProfiles.profile === PowerProfile.Balanced)
|
||||
return "balance"
|
||||
return Bootstrap.icons["yin-yang"]
|
||||
if (powerProfiles.profile === PowerProfile.PowerSaver)
|
||||
return "eco"
|
||||
return Bootstrap.icons["leaf"]
|
||||
}
|
||||
|
||||
function profileName() {
|
||||
|
|
@ -57,4 +57,4 @@ NIconButton {
|
|||
colorBorder: Color.transparent
|
||||
colorBorderHover: Color.transparent
|
||||
onClicked: root.changeProfile()
|
||||
}
|
||||
}
|
||||
|
|
@ -33,7 +33,7 @@ NIconButton {
|
|||
readonly property bool useDistroLogo: (widgetSettings.useDistroLogo
|
||||
!== undefined) ? widgetSettings.useDistroLogo : widgetMetadata.useDistroLogo
|
||||
|
||||
icon: useDistroLogo ? "" : Bootstrap.icons["panel"]
|
||||
icon: useDistroLogo ? "" : Bootstrap.icons["layout-sidebar-inset-reverse"]
|
||||
tooltipText: "Open side panel."
|
||||
sizeRatio: 0.8
|
||||
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ Item {
|
|||
}
|
||||
return AudioService.volume
|
||||
<= Number.EPSILON ? Bootstrap.icons["volume-off"] : (AudioService.volume
|
||||
< 0.5 ? Bootstrap.icons["volume-down"] : Bootstrap.icons["volume-up"])
|
||||
< 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