- Mixer {
- id: mixer
- Component.onCompleted: {
- root.volumeSlider = Qt.createComponent("VolumeSlider.qml");
- if (root.VolumeSlider.status !== Component.Ready) {
- console.log("Failed to load the VolumeSlider.qml component: " + root.volumeSlider.errorString());
- }
- mixer.open(bindingAddress);
- }
- onRolesChanged: {
- // Remove existing sliders
- for(var i = sliders.children.length; i > 0 ; --i) {
- console.log("destroying: " + i);
- sliders.children[i-1].destroy();
- }