Add master strobo slider

This commit is contained in:
2023-02-18 22:54:54 +01:00
parent d5f54e2bdc
commit aa48ad74c8
3 changed files with 13 additions and 0 deletions

View File

@ -74,6 +74,14 @@ Item {
DmxSlider {
onValueChanged: window.masterWhite = value
}
Label {
text: qsTr("Alle Strobo:")
}
DmxSlider {
onValueChanged: window.masterStrobo = value
}
}
Item {

View File

@ -20,6 +20,7 @@ ApplicationWindow {
property int masterGreen
property int masterBlue
property int masterWhite
property int masterStrobo
DeviceTypesModel {
id: deviceTypesModel

View File

@ -70,6 +70,10 @@ Pane {
value: masterWhite
when: model.registerType === DeviceTypeRegisterType.White
}
Binding on value {
value: masterStrobo
when: model.registerType === DeviceTypeRegisterType.Strobo
}
}
Label {