Mentions légales du service

Skip to content
Snippets Groups Projects

add impedances checks

Merged CABEL Tristan requested to merge 254-impedance into qt6
All threads resolved!
11 files
+ 289
9
Compare changes
  • Side-by-side
  • Inline
Files
11
@@ -47,14 +47,10 @@ Control {
@@ -47,14 +47,10 @@ Control {
anchors.right: _control.right
anchors.right: _control.right
anchors.leftMargin: 16
anchors.leftMargin: 16
 
checked: _control.param ? _control.param.value : false
onToggled: {
onToggled: {
if (_control.param)
if (_control.param)
_control.param.value = _switch.checked ? 1 : 0
_control.param.value = _switch.checked ? 1 : 0
}
}
}
}
Component.onCompleted: {
if (_control.param)
_switch.checked = _control.param.value
}
}
}
Loading