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

@ -256,8 +256,16 @@ ColumnLayout {
id: audioVisualizerCombo
label: "Visualization Type"
description: "Choose a visualization type for media playback"
optionsKeys: ["none", "linear"]
optionsLabels: ["None", "Linear"]
model: ListModel {
ListElement {
key: "none"
name: "None"
}
ListElement {
key: "linear"
name: "Linear"
}
}
currentKey: Settings.data.audio.visualizerType
onSelected: function (key) {
Settings.data.audio.visualizerType = key