5import QGroundControl.Controls
7//-------------------------------------------------------------------------
11 width: rssiRow.width * 1.1
12 anchors.top: parent.top
13 anchors.bottom: parent.bottom
15 property bool showIndicator: _activeVehicle.supports.radio && _rcRSSIAvailable
17 property var _activeVehicle: QGroundControl.multiVehicleManager.activeVehicle
18 property bool _rcRSSIAvailable: _activeVehicle.rcRSSI > 0 && _activeVehicle.rcRSSI <= 100
26 contentComponent: SettingsGroupLayout {
27 heading: qsTr("RC RSSI Status")
31 labelText: _activeVehicle.rcRSSI + "%"
39 anchors.top: parent.top
40 anchors.bottom: parent.bottom
41 spacing: ScreenTools.defaultFontPixelWidth
45 anchors.top: parent.top
46 anchors.bottom: parent.bottom
47 sourceSize.height: height
48 source: "/qmlimages/RC.svg"
49 fillMode: Image.PreserveAspectFit
50 opacity: _rcRSSIAvailable ? 1 : 0.5
51 color: qgcPal.buttonText
55 anchors.verticalCenter: parent.verticalCenter
56 size: parent.height * 0.5
57 percent: _rcRSSIAvailable ? _activeVehicle.rcRSSI : 0
63 onClicked: mainWindow.showIndicatorDrawer(rcRSSIInfoPage, control)