NComBox: refactored to follow the QML way, should help with bindings.

This commit is contained in:
quadbyte 2025-08-15 08:19:18 -04:00
parent a1cd673fb5
commit 3f3a13d254
8 changed files with 267 additions and 65 deletions

View file

@ -9,7 +9,7 @@ Singleton {
id: root
Component.onCompleted: {
console.log("[ColorSchemes] Service initialized")
console.log("[ColorSchemes] Service started")
loadColorSchemes()
}

View file

@ -70,7 +70,6 @@ Singleton {
property bool showActiveWindowIcon: false
property bool showSystemInfo: false
property bool showMedia: false
// New: optional taskbar visibility in bar
property bool showTaskbar: false
property list<string> monitors: []
}
@ -107,7 +106,6 @@ Singleton {
property string quality: "very_high"
property string colorRange: "limited"
property bool showCursor: true
// New: optional audio source selection (default: system output)
property string audioSource: "default_output"
}

View file

@ -9,7 +9,7 @@ Singleton {
id: root
Component.onCompleted: {
console.log("[Wallpapers] Service initialized")
console.log("[Wallpapers] Service started")
loadWallpapers()
// Wallpaper is set when the settings are loaded.
@ -23,7 +23,7 @@ Singleton {
// SWWW
property string transitionType: Settings.data.wallpaper.swww.transitionType
property var randomChoices: ["simple", "fade", "left", "right", "top", "bottom", "wipe", "wave", "grow", "center", "any", "outer"]
function loadWallpapers() {
console.log("[Wallpapers] Load Wallpapers")
scanning = true