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()
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue