This commit is contained in:
2026-03-25 18:19:37 +01:00
parent 24a14b41d7
commit 3114ecb690
30 changed files with 1787 additions and 12 deletions
+14 -1
View File
@@ -14,7 +14,20 @@ Item {
required property Item content
implicitHeight: clayout.contentHeight + Appearance.padding.smaller * 2
signal settingSelected(string category, string section, string settingName)
// Function to select category by key
function selectCategory(categoryKey: string) {
for (let i = 0; i < listModel.count; i++) {
if (listModel.get(i).key === categoryKey) {
clayout.currentIndex = i;
root.content.currentCategory = categoryKey;
return;
}
}
}
implicitHeight: searchBar.implicitHeight + Appearance.spacing.smaller + clayout.contentHeight + Appearance.padding.smaller * 2
implicitWidth: clayout.contentWidth + Appearance.padding.smaller * 2
ListModel {