More icons fixes
This commit is contained in:
parent
d089966249
commit
1f9247c429
7 changed files with 16 additions and 20 deletions
|
|
@ -15,15 +15,17 @@ Singleton {
|
||||||
"refresh": "refresh",
|
"refresh": "refresh",
|
||||||
"add": "plus",
|
"add": "plus",
|
||||||
"trash": "trash-filled",
|
"trash": "trash-filled",
|
||||||
|
"menu": "menu-2",
|
||||||
"toast-notice": "circle-check",
|
"toast-notice": "circle-check",
|
||||||
"toast-warning": "exclamation-circle",
|
"toast-warning": "exclamation-circle",
|
||||||
|
"question-mark": "question-mark",
|
||||||
|
"search": "search",
|
||||||
"warning": "exclamation-circle",
|
"warning": "exclamation-circle",
|
||||||
"stop": "player-stop-filled",
|
"stop": "player-stop-filled",
|
||||||
"media-pause": "player-pause",
|
"media-pause": "player-pause",
|
||||||
"media-play": "player-play",
|
"media-play": "player-play",
|
||||||
"media-prev": "player-track-prev",
|
"media-prev": "player-track-prev",
|
||||||
"media-next": "player-track-next",
|
"media-next": "player-track-next",
|
||||||
|
|
||||||
"cpu-usage": "brand-speedtest",
|
"cpu-usage": "brand-speedtest",
|
||||||
"cpu-temperature": "flame",
|
"cpu-temperature": "flame",
|
||||||
"memory": "cpu",
|
"memory": "cpu",
|
||||||
|
|
@ -35,19 +37,11 @@ Singleton {
|
||||||
"storage": "device-floppy",
|
"storage": "device-floppy",
|
||||||
"ethernet": "plug-connected",
|
"ethernet": "plug-connected",
|
||||||
"keyboard": "keyboard",
|
"keyboard": "keyboard",
|
||||||
|
|
||||||
"shutdown": "power",
|
"shutdown": "power",
|
||||||
"lock": "lock",
|
"lock": "lock",
|
||||||
"logout": "logout",
|
"logout": "logout",
|
||||||
"reboot": "refresh",
|
"reboot": "refresh",
|
||||||
"suspend": "player-pause-filled",
|
"suspend": "player-pause-filled",
|
||||||
|
|
||||||
|
|
||||||
"wifi-0": "wifi-0",
|
|
||||||
"wifi-1": "wifi-1",
|
|
||||||
"wifi-2": "wifi-2",
|
|
||||||
"wifi-off": "wifi-off",
|
|
||||||
"wifi": "wifi",
|
|
||||||
"nightlight-on": "moon-filled",
|
"nightlight-on": "moon-filled",
|
||||||
"nightlight-off": "moon-off",
|
"nightlight-off": "moon-off",
|
||||||
"bell": "bell-filled",
|
"bell": "bell-filled",
|
||||||
|
|
@ -70,6 +64,11 @@ Singleton {
|
||||||
"battery-2": "battery-2",
|
"battery-2": "battery-2",
|
||||||
"battery-1": "battery-1",
|
"battery-1": "battery-1",
|
||||||
"battery": "battery",
|
"battery": "battery",
|
||||||
|
"wifi-0": "wifi-0",
|
||||||
|
"wifi-1": "wifi-1",
|
||||||
|
"wifi-2": "wifi-2",
|
||||||
|
"wifi-off": "wifi-off",
|
||||||
|
"wifi": "wifi",
|
||||||
"microphone": "microphone",
|
"microphone": "microphone",
|
||||||
"microphone-mute": "microphone-off",
|
"microphone-mute": "microphone-off",
|
||||||
"volume-mute": "volume-off",
|
"volume-mute": "volume-off",
|
||||||
|
|
@ -99,7 +98,6 @@ Singleton {
|
||||||
"settings-screen-recorder": "video",
|
"settings-screen-recorder": "video",
|
||||||
"settings-hooks": "link",
|
"settings-hooks": "link",
|
||||||
"settings-about": "info-square-rounded",
|
"settings-about": "info-square-rounded",
|
||||||
|
|
||||||
"bluetooth": "bluetooth",
|
"bluetooth": "bluetooth",
|
||||||
"bt-device-generic": "bluetooth",
|
"bt-device-generic": "bluetooth",
|
||||||
"bt-device-headphones": "headphones-filled",
|
"bt-device-headphones": "headphones-filled",
|
||||||
|
|
@ -108,7 +106,7 @@ Singleton {
|
||||||
"bt-device-phone": "device-mobile-filled",
|
"bt-device-phone": "device-mobile-filled",
|
||||||
"bt-device-watch": "device-watch",
|
"bt-device-watch": "device-watch",
|
||||||
"bt-device-speaker": "device-speaker",
|
"bt-device-speaker": "device-speaker",
|
||||||
"bt-device-tv": "device-tv",
|
"bt-device-tv": "device-tv"
|
||||||
}
|
}
|
||||||
|
|
||||||
readonly property var icons: {
|
readonly property var icons: {
|
||||||
|
|
|
||||||
|
|
@ -176,7 +176,7 @@ PopupWindow {
|
||||||
}
|
}
|
||||||
|
|
||||||
NIcon {
|
NIcon {
|
||||||
text: modelData?.hasChildren ? "menu" : ""
|
icon: modelData?.hasChildren ? "menu" : ""
|
||||||
font.pointSize: Style.fontSizeS * scaling
|
font.pointSize: Style.fontSizeS * scaling
|
||||||
verticalAlignment: Text.AlignVCenter
|
verticalAlignment: Text.AlignVCenter
|
||||||
visible: modelData?.hasChildren ?? false
|
visible: modelData?.hasChildren ?? false
|
||||||
|
|
|
||||||
|
|
@ -146,7 +146,7 @@ NPanel {
|
||||||
spacing: Style.marginXS * scaling
|
spacing: Style.marginXS * scaling
|
||||||
|
|
||||||
NIcon {
|
NIcon {
|
||||||
text: "sync"
|
icon: "refresh"
|
||||||
font.pointSize: Style.fontSizeXXL * 1.5 * scaling
|
font.pointSize: Style.fontSizeXXL * 1.5 * scaling
|
||||||
color: Color.mPrimary
|
color: Color.mPrimary
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -256,11 +256,10 @@ Variants {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Fall back if no icon
|
// Fall back if no icon
|
||||||
NText {
|
NIcon {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
visible: !appIcon.visible
|
visible: !appIcon.visible
|
||||||
text: "question_mark"
|
icon: "question-mark"
|
||||||
font.family: "Material Symbols Rounded"
|
|
||||||
font.pointSize: iconSize * 0.7
|
font.pointSize: iconSize * 0.7
|
||||||
color: appButton.isActive ? Color.mPrimary : Color.mOnSurfaceVariant
|
color: appButton.isActive ? Color.mPrimary : Color.mOnSurfaceVariant
|
||||||
scale: appButton.hovered ? 1.15 : 1.0
|
scale: appButton.hovered ? 1.15 : 1.0
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ NBox {
|
||||||
indicator: NIcon {
|
indicator: NIcon {
|
||||||
x: playerSelector.width - width
|
x: playerSelector.width - width
|
||||||
y: playerSelector.topPadding + (playerSelector.availableHeight - height) / 2
|
y: playerSelector.topPadding + (playerSelector.availableHeight - height) / 2
|
||||||
text: "arrow_drop_down"
|
icon: "chevron-down"
|
||||||
font.pointSize: Style.fontSizeXXL * scaling
|
font.pointSize: Style.fontSizeXXL * scaling
|
||||||
color: Color.mOnSurface
|
color: Color.mOnSurface
|
||||||
horizontalAlignment: Text.AlignRight
|
horizontalAlignment: Text.AlignRight
|
||||||
|
|
|
||||||
|
|
@ -521,7 +521,7 @@ NPanel {
|
||||||
|
|
||||||
RowLayout {
|
RowLayout {
|
||||||
NIcon {
|
NIcon {
|
||||||
text: "delete_outline"
|
icon: "trash"
|
||||||
font.pointSize: Style.fontSizeL * scaling
|
font.pointSize: Style.fontSizeL * scaling
|
||||||
color: Color.mError
|
color: Color.mError
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -257,7 +257,7 @@ Singleton {
|
||||||
Process {
|
Process {
|
||||||
id: wifiStateEnableProcess
|
id: wifiStateEnableProcess
|
||||||
running: false
|
running: false
|
||||||
command: ["nmcli", "radio", "wifi", Settings.data.network.wifiEnabled ? "on" : "off"]
|
command: ["nmcli", "radio", "wifi", Settings.data.network.wifiEnabled ? "on" : "off"]
|
||||||
|
|
||||||
stdout: StdioCollector {
|
stdout: StdioCollector {
|
||||||
onStreamFinished: {
|
onStreamFinished: {
|
||||||
|
|
@ -276,7 +276,6 @@ Singleton {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// Helper process to get existing profiles
|
// Helper process to get existing profiles
|
||||||
Process {
|
Process {
|
||||||
id: profileCheckProcess
|
id: profileCheckProcess
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue