anchors.left:parent.left
anchors.bottom:parent.bottom
anchors.margins:10
- // joyBackground: ""
+ joyBackground: ""
onYvChanged:{drone.vVelocity=-1*yv/200.0;}
onXvChanged:{drone.yaw=xv/200.0;}
onPressedChanged: { drone.ctrlActive=pressed;}
visible: !drone.confUseJoyStick
id:rj
- // joyBackground: ""
+ joyBackground: ""
anchors.right:parent.right
anchors.bottom:parent.bottom
width:200;height:200;
}
}
Button {
- x:400;y:100
- width:120
+ x:500
+ width:140
id:emergencyButton
- anchors.top:parent.top
+ anchors.bottom:parent.bottom
anchors.margins:15
text:"Energency";
Component.onCompleted: {
if (mainpageComponent.status != Component.Ready)
- // pageStack.push(mainpageComponent);
- // else
console.log("Error loading component:", mainpageComponent.errorString());
dialogComponent = Qt.createComponent("ConfigDialog.qml");