File tree Expand file tree Collapse file tree 4 files changed +42
-13
lines changed
AutoPilotPlugins/Common/Images Expand file tree Collapse file tree 4 files changed +42
-13
lines changed Original file line number Diff line number Diff line change 130
130
<file alias="MAVLinkInspector.svg">src/AnalyzeView/MAVLinkInspector.svg</file>
131
131
<file alias="Megaphone.svg">src/UI/toolbar/Images/Megaphone.svg</file>
132
132
<file alias="MotorComponentIcon.svg">src/AutoPilotPlugins/Common/Images/MotorComponentIcon.svg</file>
133
+ <file alias="PropellerComponentIcon.svg">src/AutoPilotPlugins/Common/Images/PropellerComponentIcon.svg</file>
133
134
<file alias="no-logging-light.svg">src/AutoPilotPlugins/PX4/Images/no-logging-light.svg</file>
134
135
<file alias="no-logging.svg">src/AutoPilotPlugins/PX4/Images/no-logging.svg</file>
135
136
<file alias="ObjectAvoidance.svg">src/AutoPilotPlugins/PX4/Images/ObjectAvoidance.svg</file>
Original file line number Diff line number Diff line change @@ -106,11 +106,11 @@ Item {
106
106
width: height
107
107
anchors .top : parent .top
108
108
anchors .bottom : parent .bottom
109
- source: " /qmlimages/MotorComponentIcon .svg"
109
+ source: " /qmlimages/PropellerComponentIcon .svg"
110
110
fillMode: Image .PreserveAspectFit
111
111
sourceSize .height : height
112
112
opacity: (_activeVehicle && _escDataAvailable) ? 1 : 0.5
113
- color: getEscStatusColor ()
113
+ color: qgcPal . buttonText
114
114
}
115
115
116
116
Column {
@@ -127,7 +127,7 @@ Item {
127
127
}
128
128
129
129
QGCLabel {
130
- color: qgcPal . buttonText
130
+ color: getEscStatusColor ()
131
131
text: _escHealthy ? qsTr (" OK" ) : qsTr (" ERR" )
132
132
font .pointSize : ScreenTools .smallFontPointSize
133
133
}
Original file line number Diff line number Diff line change @@ -230,18 +230,25 @@ ToolIndicatorPage {
230
230
spacing: ScreenTools .defaultFontPixelHeight * 0.1
231
231
Layout .bottomMargin : index < Math .min (4 , _allMotors .length ) - 1 ? ScreenTools .defaultFontPixelHeight * 0.5 : 0
232
232
233
- QGCLabel {
234
- text: qsTr (" Motor %1" ).arg (_allMotors[index].id )
235
- color: qgcPal .text
236
- }
233
+ RowLayout {
237
234
238
- Rectangle {
239
- Layout .fillWidth : true
240
- height: ScreenTools .defaultFontPixelHeight * 0.15
241
- color: _allMotors[index].healthy ? qgcPal .colorGreen : qgcPal .colorRed
242
- radius: 2
235
+ QGCLabel {
236
+ text: qsTr (" Motor %1" ).arg (_allMotors[index].id )
237
+ color: qgcPal .text
238
+ }
239
+ QGCLabel {
240
+ text: _allMotors[index].healthy ? qsTr (" ONLINE" ) : qsTr (" OFFLINE" )
241
+ color: _allMotors[index].healthy ? qgcPal .colorGreen : qgcPal .colorRed
242
+ }
243
243
}
244
244
245
+ // Rectangle {
246
+ // Layout.fillWidth: true
247
+ // height: ScreenTools.defaultFontPixelHeight * 0.15
248
+ // color: _allMotors[index].healthy ? qgcPal.colorGreen : qgcPal.colorRed
249
+ // radius: 2
250
+ // }
251
+
245
252
GridLayout {
246
253
Layout .fillWidth : true
247
254
columns: 2
@@ -358,7 +365,7 @@ ToolIndicatorPage {
358
365
visible: ! _escDataAvailable
359
366
360
367
QGCLabel {
361
- text: qsTr (" No ESC data available. ESC status information will be displayed here when the vehicle sends ESC_INFO and ESC_STATUS MAVLink messages." )
368
+ text: qsTr (" No ESC data available. Requires ESC_INFO and ESC_STATUS MAVLink messages." )
362
369
wrapMode: Text .WordWrap
363
370
Layout .fillWidth : true
364
371
}
You can’t perform that action at this time.
0 commit comments