5import QGroundControl.Controls
7//-------------------------------------------------------------------------
11 objectName: "toolbar_telemetryRSSIIndicator"
12 anchors.top: parent.top
13 anchors.bottom: parent.bottom
14 width: telemIcon.width * 1.1
16 property bool showIndicator: _hasTelemetry
18 property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle
19 property var _radioStatus: _activeVehicle.radioStatus
20 property bool _hasTelemetry: _radioStatus.lrssi.rawValue !== 0
24 anchors.top: parent.top
25 anchors.bottom: parent.bottom
27 sourceSize.height: height
28 source: "/qmlimages/TelemRSSI.svg"
29 fillMode: Image.PreserveAspectFit
30 color: qgcPal.buttonText
35 onClicked: mainWindow.showIndicatorDrawer(telemRSSIInfoPage, control)
44 contentComponent: SettingsGroupLayout {
45 heading: qsTr("Telemetry RSSI Status")
48 label: qsTr("Local RSSI:")
49 labelText: _radioStatus.lrssi.rawValue + " " + qsTr("dBm")
53 label: qsTr("Remote RSSI:")
54 labelText: _radioStatus.rrssi.rawValue + " " + qsTr("dBm")
58 label: qsTr("RX Errors:")
59 labelText: _radioStatus.rxErrors.rawValue
63 label: qsTr("Errors Fixed:")
64 labelText: _radioStatus.fixed.rawValue
68 label: qsTr("TX Buffer:")
69 labelText: _radioStatus.txBuffer.rawValue
73 label: qsTr("Local Noise:")
74 labelText: _radioStatus.lNoise.rawValue
78 label: qsTr("Remote Noise:")
79 labelText: _radioStatus.rNoise.rawValue