You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
import QtQuick 2.2
|
|
|
|
import QtQuick.Controls 1.2
|
|
|
|
import QtQuick.Controls.Styles 1.2
|
|
|
|
|
|
|
|
import QGroundControl.FactSystem 1.0
|
|
|
|
import QGroundControl.Controls 1.0
|
|
|
|
|
|
|
|
Column {
|
|
|
|
anchors.fill: parent
|
|
|
|
anchors.margins: 8
|
|
|
|
|
|
|
|
Row {
|
|
|
|
width: parent.width
|
|
|
|
|
|
|
|
QGCLabel { id: systemId; text: "System ID:" }
|
|
|
|
QGCLabel {
|
|
|
|
horizontalAlignment: Text.AlignRight
|
|
|
|
width: parent.width - systemId.contentWidth
|
|
|
|
text: autopilot.parameters["MAV_SYS_ID"].value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
Row {
|
|
|
|
width: parent.width
|
|
|
|
|
|
|
|
QGCLabel { id: airframe; text: "Airframe:" }
|
|
|
|
QGCLabel {
|
|
|
|
horizontalAlignment: Text.AlignRight
|
|
|
|
width: parent.width - airframe.contentWidth
|
|
|
|
text: autopilot.parameters["SYS_AUTOSTART"].value == 0 ? "Setup required" : autopilot.parameters["SYS_AUTOSTART"].value
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|