Icons: half of BT

This commit is contained in:
LemmyCook 2025-09-08 18:51:05 -04:00
parent fa970986dc
commit d086d64d5f
4 changed files with 6 additions and 5 deletions

View file

@ -20,7 +20,7 @@ NIconButton {
colorBorder: Color.transparent colorBorder: Color.transparent
colorBorderHover: Color.transparent colorBorderHover: Color.transparent
icon: "bluetooth" icon: FontService.icons["bluetooth"]
tooltipText: "Bluetooth" tooltipText: "Bluetooth"
onClicked: PanelService.getPanel("bluetoothPanel")?.toggle(screen, this) onClicked: PanelService.getPanel("bluetoothPanel")?.toggle(screen, this)
} }

View file

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

View file

@ -49,6 +49,7 @@ Singleton {
}) })
} }
// FIXME
function getDeviceIcon(device) { function getDeviceIcon(device) {
if (!device) { if (!device) {
return "bluetooth" return "bluetooth"

View file

@ -40,7 +40,7 @@ Singleton {
"gear": "\uF3E5", "gear": "\uF3E5",
"close": "\uF659", "close": "\uF659",
"check": "\uF272", "check": "\uF272",
"panel": "\uF2CD", "panel": "\uF290",
"memory": "\uF2D6", "memory": "\uF2D6",
"trash": "\uF78B", "trash": "\uF78B",
"video_camera": "\uF21F", "video_camera": "\uF21F",
@ -62,7 +62,7 @@ Singleton {
"stop": "\uF590", "stop": "\uF590",
"prev": "\uF561", "prev": "\uF561",
"next": "\uF55B", "next": "\uF55B",
"arrow_drop_down": "\uF282", "arrow_drop_down": "\uF22C",
"warning": "\uF334", "warning": "\uF334",
"info": "\uF26A", "info": "\uF26A",
"upload": "\uF296", "upload": "\uF296",