more icons
This commit is contained in:
parent
6169f88d90
commit
6f1b88e76d
14 changed files with 24 additions and 20 deletions
|
|
@ -55,7 +55,7 @@ NPanel {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "close"
|
||||
icon: FontService.icons["close"]
|
||||
tooltipText: "Close"
|
||||
sizeRatio: 0.8
|
||||
onClicked: root.close()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ NPanel {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "close"
|
||||
icon: FontService.icons["close"]
|
||||
tooltipText: "Close"
|
||||
sizeRatio: 0.8
|
||||
onClicked: {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ NPanel {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "close"
|
||||
icon: FontService.icons["close"]
|
||||
tooltipText: "Close"
|
||||
sizeRatio: 0.8
|
||||
onClicked: {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ Popup {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "close"
|
||||
icon: FontService.icons["close"]
|
||||
onClicked: settingsPopup.close()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -322,7 +322,7 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "close"
|
||||
icon: FontService.icons["close"]
|
||||
sizeRatio: 0.8
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.rightMargin: Style.marginXS * scaling
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 = ""
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
|
||||
// -------------------------------------------
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue