New icons: more icons and cleanup
This commit is contained in:
parent
43eec0e387
commit
48f6c0705b
41 changed files with 6201 additions and 5018 deletions
|
|
@ -85,7 +85,7 @@ NBox {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "plus-lg"
|
||||
icon: "add"
|
||||
|
||||
colorBg: Color.mPrimary
|
||||
colorFg: Color.mOnPrimary
|
||||
|
|
@ -170,7 +170,7 @@ NBox {
|
|||
Loader {
|
||||
active: BarWidgetRegistry.widgetHasUserSettings(modelData.id)
|
||||
sourceComponent: NIconButton {
|
||||
icon: "gear"
|
||||
icon: "settings"
|
||||
sizeRatio: 0.6
|
||||
colorBorder: Qt.alpha(Color.mOutline, Style.opacityLight)
|
||||
colorBg: Color.mOnSurface
|
||||
|
|
@ -210,7 +210,7 @@ NBox {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "x-lg"
|
||||
icon: "close"
|
||||
sizeRatio: 0.6
|
||||
colorBorder: Qt.alpha(Color.mOutline, Style.opacityLight)
|
||||
colorBg: Color.mOnSurface
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ Popup {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "x-lg"
|
||||
icon: "close"
|
||||
onClicked: settingsPopup.close()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,8 +26,8 @@ ColumnLayout {
|
|||
id: iconInput
|
||||
Layout.fillWidth: true
|
||||
label: "Icon Name"
|
||||
description: "Pick from Bootstrap Icons or type a name."
|
||||
placeholderText: "Enter icon name (e.g., speedometer2, gear, house)"
|
||||
description: "Select an icon from the library."
|
||||
placeholderText: "Enter icon name (e.g., cat, gear, house, ...)"
|
||||
text: widgetData?.icon || widgetMetadata.icon
|
||||
}
|
||||
|
||||
|
|
@ -65,7 +65,7 @@ ColumnLayout {
|
|||
|
||||
property string query: ""
|
||||
property string selectedIcon: ""
|
||||
property var allIcons: Object.keys(Bootstrap.icons)
|
||||
property var allIcons: Object.keys(Icons.icons)
|
||||
property var filteredIcons: allIcons.filter(function (name) {
|
||||
return query === "" || name.toLowerCase().indexOf(query.toLowerCase()) !== -1
|
||||
})
|
||||
|
|
@ -96,7 +96,7 @@ ColumnLayout {
|
|||
Layout.fillWidth: true
|
||||
}
|
||||
NIconButton {
|
||||
icon: "x-lg"
|
||||
icon: "close"
|
||||
onClicked: iconPicker.close()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -123,52 +123,52 @@ NPanel {
|
|||
let newTabs = [{
|
||||
"id": SettingsPanel.Tab.General,
|
||||
"label": "General",
|
||||
"icon": "box",
|
||||
"icon": "settings-general",
|
||||
"source": generalTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Bar,
|
||||
"label": "Bar",
|
||||
"icon": "segmented-nav",
|
||||
"icon": "settings-bar",
|
||||
"source": barTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Launcher,
|
||||
"label": "Launcher",
|
||||
"icon": "rocket",
|
||||
"icon": "settings-launcher",
|
||||
"source": launcherTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Audio,
|
||||
"label": "Audio",
|
||||
"icon": "speaker",
|
||||
"icon": "settings-audio",
|
||||
"source": audioTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Display,
|
||||
"label": "Display",
|
||||
"icon": "display",
|
||||
"icon": "settings-display",
|
||||
"source": displayTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Network,
|
||||
"label": "Network",
|
||||
"icon": "ethernet",
|
||||
"icon": "settings-network",
|
||||
"source": networkTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Brightness,
|
||||
"label": "Brightness",
|
||||
"icon": "brightness-high",
|
||||
"icon": "settings-brightness",
|
||||
"source": brightnessTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Weather,
|
||||
"label": "Weather",
|
||||
"icon": "cloud-sun",
|
||||
"icon": "settings-weather",
|
||||
"source": weatherTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.ColorScheme,
|
||||
"label": "Color Scheme",
|
||||
"icon": "palette",
|
||||
"icon": "settings-color-scheme",
|
||||
"source": colorSchemeTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Wallpaper,
|
||||
"label": "Wallpaper",
|
||||
"icon": "easel",
|
||||
"icon": "settings-wallpaper",
|
||||
"source": wallpaperTab
|
||||
}]
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ NPanel {
|
|||
newTabs.push({
|
||||
"id": SettingsPanel.Tab.WallpaperSelector,
|
||||
"label": "Wallpaper Selector",
|
||||
"icon": "image",
|
||||
"icon": "settings-wallpaper-selector",
|
||||
"source": wallpaperSelectorTab
|
||||
})
|
||||
}
|
||||
|
|
@ -185,17 +185,17 @@ NPanel {
|
|||
newTabs.push({
|
||||
"id": SettingsPanel.Tab.ScreenRecorder,
|
||||
"label": "Screen Recorder",
|
||||
"icon": "camera-video",
|
||||
"icon": "settings-screen-recorder",
|
||||
"source": screenRecorderTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.Hooks,
|
||||
"label": "Hooks",
|
||||
"icon": "link-45deg",
|
||||
"icon": "settings-hooks",
|
||||
"source": hooksTab
|
||||
}, {
|
||||
"id": SettingsPanel.Tab.About,
|
||||
"label": "About",
|
||||
"icon": "info-circle",
|
||||
"icon": "settings-about",
|
||||
"source": aboutTab
|
||||
})
|
||||
|
||||
|
|
@ -403,9 +403,9 @@ NPanel {
|
|||
spacing: Style.marginM * scaling
|
||||
|
||||
NIcon {
|
||||
text: Bootstrap.icons[modelData.icon]
|
||||
icon: modelData.icon
|
||||
color: tabTextColor
|
||||
font.pointSize: Style.fontSizeL * scaling
|
||||
font.pointSize: Style.fontSizeXL * scaling
|
||||
}
|
||||
// Tab label
|
||||
NText {
|
||||
|
|
@ -472,7 +472,7 @@ NPanel {
|
|||
|
||||
// Close button
|
||||
NIconButton {
|
||||
icon: "x-lg"
|
||||
icon: "close"
|
||||
tooltipText: "Close"
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
onClicked: root.close()
|
||||
|
|
|
|||
|
|
@ -272,7 +272,7 @@ ColumnLayout {
|
|||
|
||||
// Button aligned to the center of the actual input field
|
||||
NIconButton {
|
||||
icon: "plus-lg"
|
||||
icon: "add"
|
||||
Layout.alignment: Qt.AlignBottom
|
||||
Layout.bottomMargin: blacklistInput.description ? Style.marginS * scaling : 0
|
||||
onClicked: {
|
||||
|
|
@ -322,7 +322,7 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "x-lg"
|
||||
icon: "close"
|
||||
sizeRatio: 0.8
|
||||
Layout.alignment: Qt.AlignVCenter
|
||||
Layout.rightMargin: Style.marginXS * scaling
|
||||
|
|
|
|||
|
|
@ -181,7 +181,7 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "arrow-repeat"
|
||||
icon: "refresh"
|
||||
tooltipText: "Reset scaling"
|
||||
onClicked: ScalingService.setScreenScale(modelData, 1.0)
|
||||
}
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ ColumnLayout {
|
|||
}
|
||||
|
||||
NIconButton {
|
||||
icon: "arrow-repeat"
|
||||
icon: "refresh"
|
||||
tooltipText: "Refresh wallpaper list"
|
||||
onClicked: {
|
||||
WallpaperService.refreshWallpapersList()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue