added colorpicker

This commit is contained in:
2026-07-21 14:34:39 +03:00
parent 5392273794
commit 6644fd07c1
15 changed files with 257 additions and 62 deletions
+17
View File
@@ -6,6 +6,17 @@ import "../components"
Item {
id: page
function syncColors() {
labelPicker.hex = settingsContainer.labelColor
}
Component.onCompleted: syncColors()
Connections {
target: settingsContainer
function onChanged() { page.syncColors() }
}
Rectangle {
anchors.fill: parent
color: "#161628"
@@ -65,6 +76,12 @@ Item {
}
}
ColorPickerField {
id: labelPicker
label: "Цвет подписей:"
onColorChanged: btnController.setLayoutLabelColor(hex)
}
Item { Layout.fillHeight: true }
}
}