Icons: WIP using a proper mapping table

This commit is contained in:
LemmyCook 2025-09-08 21:05:48 -04:00
parent 8da2cdf430
commit a4107c87c0
41 changed files with 2277 additions and 183 deletions

View file

@ -28,7 +28,7 @@ NPanel {
spacing: Style.marginM * scaling
NIcon {
text: FontService.icons["bluetooth"]
text: Bootstrap.icons["bluetooth"]
font.pointSize: Style.fontSizeXXL * scaling
color: Color.mPrimary
}
@ -42,7 +42,8 @@ NPanel {
}
NIconButton {
icon: BluetoothService.adapter && BluetoothService.adapter.discovering ? FontService.icons["stop"] : FontService.icons["refresh"]
icon: BluetoothService.adapter
&& BluetoothService.adapter.discovering ? Bootstrap.icons["stop"] : Bootstrap.icons["arrow-repeat"]
tooltipText: "Refresh Devices"
sizeRatio: 0.8
onClicked: {
@ -53,7 +54,7 @@ NPanel {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
tooltipText: "Close"
sizeRatio: 0.8
onClicked: {