messagePanelText=vehicleComponent.prerequisiteSetup+" setup must be completed prior to "+vehicleComponent.name+" setup."
panelLoader.sourceComponent=messagePanelComponent
}else{
panelLoader.source=vehicleComponent.setupSource
}
}
}
Connections{
target:controller
onAutopilotChanged:{
summaryButton.checked=true
showSummaryPanel()
}
}
Component.onCompleted:showSummaryPanel()
Component{
id:disconnectedVehicleSummaryComponent
Rectangle{
color:palette.windowShade
QGCLabel{
anchors.margins:defaultTextWidth*2
anchors.fill:parent
verticalAlignment:Text.AlignVCenter
horizontalAlignment:Text.AlignHCenter
wrapMode:Text.WordWrap
font.pointSize:ScreenTools.mediumFontPointSize
text:"Welcome to QGroundControl. "+
"QGroundControl supports any <font color=\"orange\"><a href=\"http://www.qgroundcontrol.org/mavlink/start\">mavlink</a></font> enabled vehicle. "+
"If you are using the <font color=\"orange\"><a href=\"https://pixhawk.org/choice\">PX4 Flight Stack</a></font>, you also get full support for setting up and calibrating your vehicle. "+
"Otherwise you will only get support for flying a vehicle which has been setup and calibrated using other means. "+
"Use the Connect button above to connect to your vehicle."