diff --git a/HomePage.qml b/HomePage.qml index 76a05ae..487ac53 100644 --- a/HomePage.qml +++ b/HomePage.qml @@ -74,6 +74,14 @@ Item { DmxSlider { onValueChanged: window.masterWhite = value } + + Label { + text: qsTr("Alle Strobo:") + } + + DmxSlider { + onValueChanged: window.masterStrobo = value + } } Item { diff --git a/LightControlWindow.qml b/LightControlWindow.qml index cdc5442..e042171 100644 --- a/LightControlWindow.qml +++ b/LightControlWindow.qml @@ -20,6 +20,7 @@ ApplicationWindow { property int masterGreen property int masterBlue property int masterWhite + property int masterStrobo DeviceTypesModel { id: deviceTypesModel diff --git a/LightSliderPane.qml b/LightSliderPane.qml index b63e4f7..d0a4167 100644 --- a/LightSliderPane.qml +++ b/LightSliderPane.qml @@ -70,6 +70,10 @@ Pane { value: masterWhite when: model.registerType === DeviceTypeRegisterType.White } + Binding on value { + value: masterStrobo + when: model.registerType === DeviceTypeRegisterType.Strobo + } } Label {