|
|
|
@ -107,16 +107,16 @@ bool ArduSubFirmwarePlugin::supportsMotorInterference(void)
@@ -107,16 +107,16 @@ bool ArduSubFirmwarePlugin::supportsMotorInterference(void)
|
|
|
|
|
return false; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
QVariantList& ArduSubFirmwarePlugin::toolBarIndicators(const Vehicle* vehicle) |
|
|
|
|
const QVariantList& ArduSubFirmwarePlugin::toolBarIndicators(const Vehicle* vehicle) |
|
|
|
|
{ |
|
|
|
|
Q_UNUSED(vehicle); |
|
|
|
|
//-- Sub specific list of indicators (Enter your modified list here)
|
|
|
|
|
if(_toolBarIndicatorList.size() == 0) { |
|
|
|
|
_toolBarIndicatorList.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/MessageIndicator.qml"))); |
|
|
|
|
_toolBarIndicatorList.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/TelemetryRSSIIndicator.qml"))); |
|
|
|
|
_toolBarIndicatorList.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/RCRSSIIndicator.qml"))); |
|
|
|
|
_toolBarIndicatorList.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/BatteryIndicator.qml"))); |
|
|
|
|
_toolBarIndicatorList.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/ModeIndicator.qml"))); |
|
|
|
|
if(_toolBarIndicators.size() == 0) { |
|
|
|
|
_toolBarIndicators.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/MessageIndicator.qml"))); |
|
|
|
|
_toolBarIndicators.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/TelemetryRSSIIndicator.qml"))); |
|
|
|
|
_toolBarIndicators.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/RCRSSIIndicator.qml"))); |
|
|
|
|
_toolBarIndicators.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/BatteryIndicator.qml"))); |
|
|
|
|
_toolBarIndicators.append(QVariant::fromValue(QUrl::fromUserInput("qrc:/toolbar/ModeIndicator.qml"))); |
|
|
|
|
} |
|
|
|
|
return _toolBarIndicatorList; |
|
|
|
|
return _toolBarIndicators; |
|
|
|
|
} |
|
|
|
|