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.
33 lines
860 B
33 lines
860 B
11 years ago
|
import QtQuick 2.2
|
||
|
import QtQuick.Controls 1.2
|
||
|
import QtQuick.Controls.Styles 1.2
|
||
|
import QGroundControl.FactSystem 1.0
|
||
|
import QGroundControl.FactControls 1.0
|
||
|
|
||
|
Column {
|
||
|
anchors.fill: parent
|
||
|
anchors.margins: 8
|
||
|
|
||
|
Row {
|
||
|
width: parent.width
|
||
|
|
||
|
Text { id: systemId; text: "System ID:" }
|
||
|
Text {
|
||
|
horizontalAlignment: Text.AlignRight
|
||
|
width: parent.width - systemId.contentWidth
|
||
|
text: autopilot.parameters["MAV_SYS_ID"].value
|
||
|
}
|
||
|
}
|
||
|
|
||
|
Row {
|
||
|
width: parent.width
|
||
|
|
||
|
Text { id: airframe; text: "Airframe:" }
|
||
|
Text {
|
||
|
horizontalAlignment: Text.AlignRight
|
||
|
width: parent.width - airframe.contentWidth
|
||
|
text: autopilot.parameters["SYS_AUTOSTART"].value == 0 ? "Setup required" : autopilot.parameters["SYS_AUTOSTART"].value
|
||
|
}
|
||
|
}
|
||
|
}
|