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

@ -55,7 +55,7 @@ NPanel {
}
NIconButton {
icon: FontService.icons["refresh"]
icon: Bootstrap.icons["arrow-repeat"]
tooltipText: "Refresh"
sizeRatio: 0.8
enabled: Settings.data.network.wifiEnabled && !NetworkService.scanning
@ -63,7 +63,7 @@ NPanel {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
tooltipText: "Close"
sizeRatio: 0.8
onClicked: root.close()
@ -105,7 +105,7 @@ NPanel {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
sizeRatio: 0.6
onClicked: NetworkService.lastError = ""
}
@ -377,7 +377,7 @@ NPanel {
&& NetworkService.connectingTo !== modelData.ssid
&& NetworkService.forgettingNetwork !== modelData.ssid
&& NetworkService.disconnectingFrom !== modelData.ssid
icon: FontService.icons["trash"]
icon: Bootstrap.icons["trash"]
tooltipText: "Forget network"
sizeRatio: 0.7
onClicked: expandedSsid = expandedSsid === modelData.ssid ? "" : modelData.ssid
@ -492,7 +492,7 @@ NPanel {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
sizeRatio: 0.8
onClicked: {
passwordSsid = ""
@ -547,7 +547,7 @@ NPanel {
}
NIconButton {
icon: FontService.icons["close"]
icon: Bootstrap.icons["close"]
sizeRatio: 0.8
onClicked: expandedSsid = ""
}
@ -586,7 +586,7 @@ NPanel {
NButton {
text: "Scan again"
icon: FontService.icons["refresh"]
icon: Bootstrap.icons["arrow-repeat"]
Layout.alignment: Qt.AlignHCenter
onClicked: NetworkService.scan()
}