more icons

This commit is contained in:
LemmyCook 2025-09-08 14:44:28 -04:00
parent 6169f88d90
commit 6f1b88e76d
14 changed files with 24 additions and 20 deletions

View file

@ -55,7 +55,7 @@ NPanel {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
tooltipText: "Close"
sizeRatio: 0.8
onClicked: root.close()

View file

@ -43,7 +43,7 @@ Item {
function getIcon() {
if (AudioService.muted) {
return FontService.icons["volume_off"] // TODO disabled icon ?
return FontService.icons["volume_muted"]
}
return AudioService.volume
<= Number.EPSILON ? FontService.icons["volume_off"] : (AudioService.volume

View file

@ -53,7 +53,7 @@ NPanel {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
tooltipText: "Close"
sizeRatio: 0.8
onClicked: {

View file

@ -294,7 +294,7 @@ Variants {
// Close button positioned absolutely
NIconButton {
icon: "close"
icon: FontService.icons["close"]
tooltipText: "Close"
sizeRatio: 0.6
anchors.top: parent.top

View file

@ -59,7 +59,7 @@ NPanel {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
tooltipText: "Close"
sizeRatio: 0.8
onClicked: {

View file

@ -210,7 +210,7 @@ NBox {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
sizeRatio: 0.6
colorBorder: Qt.alpha(Color.mOutline, Style.opacityLight)
colorBg: Color.mOnSurface

View file

@ -84,7 +84,7 @@ Popup {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
onClicked: settingsPopup.close()
}
}

View file

@ -163,7 +163,7 @@ NPanel {
}, {
"id": SettingsPanel.Tab.ColorScheme,
"label": "Color Scheme",
"icon": FontService.icons["palette"],
"icon": FontService.icons["paint_bucket"],
"source": colorSchemeTab
}, {
"id": SettingsPanel.Tab.Wallpaper,
@ -177,7 +177,7 @@ NPanel {
newTabs.push({
"id": SettingsPanel.Tab.WallpaperSelector,
"label": "Wallpaper Selector",
"icon": FontService.icons["image"],
"icon": FontService.icons["paint_brush"],
"source": wallpaperSelectorTab
})
}
@ -473,7 +473,7 @@ NPanel {
// Close button
NIconButton {
icon: "close"
icon: FontService.icons["close"]
tooltipText: "Close"
Layout.alignment: Qt.AlignVCenter
onClicked: root.close()

View file

@ -322,7 +322,7 @@ ColumnLayout {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
sizeRatio: 0.8
Layout.alignment: Qt.AlignVCenter
Layout.rightMargin: Style.marginXS * scaling

View file

@ -42,7 +42,7 @@ NBox {
}
// Balanced
NIconButton {
icon: FontService.icons["scale"]
icon: FontService.icons["yin_yang"]
tooltipText: "Set balanced power profile."
enabled: hasPP
opacity: enabled ? Style.opacityFull : Style.opacityMedium

View file

@ -63,7 +63,7 @@ NPanel {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
tooltipText: "Close"
sizeRatio: 0.8
onClicked: root.close()
@ -105,7 +105,7 @@ NPanel {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
sizeRatio: 0.6
onClicked: NetworkService.lastError = ""
}
@ -492,7 +492,7 @@ NPanel {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
sizeRatio: 0.8
onClicked: {
passwordSsid = ""
@ -547,7 +547,7 @@ NPanel {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
sizeRatio: 0.8
onClicked: expandedSsid = ""
}

View file

@ -25,6 +25,7 @@ Singleton {
"battery_low": "\uF187",
"battery_full": "\uF186",
"battery_charging": "\uF185",
"volume_muted": "\uEEE8",
"volume_off": "\uF026",
"volume_half": "\uF027",
"volume_full": "\uF028",
@ -46,7 +47,10 @@ Singleton {
"coffee": "\uef59",
"thermometer": "\uE350",
"contrast": "\uF042",
"skull": "\uEE15"
"skull": "\uEE15",
"paint_brush": "\uEE26",
"paint_bucket": "\uEE3F",
"yin_yang": "\uEEE9"
}
// -------------------------------------------

View file

@ -147,7 +147,7 @@ Popup {
}
NIconButton {
icon: "close"
icon: FontService.icons["close"]
onClicked: root.close()
}
}
@ -491,7 +491,7 @@ Popup {
NButton {
id: cancelButton
text: "Cancel"
icon: "close"
icon: FontService.icons["close"]
outlined: cancelButton.hovered ? false : true
customHeight: 36 * scaling
customWidth: 100 * scaling

View file

@ -172,7 +172,7 @@ Item {
// Close button (only if persistent or manual dismiss needed)
NIconButton {
icon: "close"
icon: FontService.icons["close"]
visible: root.persistent || root.duration === 0
colorBg: Color.mSurfaceVariant