QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PX4EscComponent.h
Go to the documentation of this file.
1#pragma once
2
3#include "VehicleComponent.h"
4
6{
7 Q_OBJECT
8
9public:
10 PX4EscComponent(Vehicle* vehicle, AutoPilotPlugin* autopilot, QObject* parent = nullptr);
11
12 // Virtuals from VehicleComponent
13 QStringList setupCompleteChangedTriggerList() const final { return QStringList(); }
14
15 QString name() const final { return _name; }
16
17 QString description() const final;
18 QString iconResource() const final;
19 QStringList searchKeywords() const final;
20
21 bool requiresSetup() const final { return false; }
22
23 bool setupComplete() const final { return true; }
24
25 QUrl setupSource() const final;
26
27 QUrl summaryQmlSource() const final { return QUrl(); }
28
29 QList<VehicleSummaryItem> summaryItems() const final;
30 QStringList summaryChangedTriggerList() const final;
31
32 bool allowSetupWhileArmed() const final { return true; }
33
34private:
35 const QString _name;
36};
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
PX4EscComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
QList< VehicleSummaryItem > summaryItems() const final
Values for this component's card on the Summary page. A component with none falls back to summaryQmlS...
bool allowSetupWhileArmed() const final
QString iconResource() const final
QUrl summaryQmlSource() const final
QString name() const final
QUrl setupSource() const final
QStringList summaryChangedTriggerList() const final
Parameters whose change emits summaryItemsChanged, besides those that change setupComplete.
QStringList searchKeywords() const final
Translated search terms for the whole component, for pages without vehicleConfigJson() sections.
QStringList setupCompleteChangedTriggerList() const final
bool setupComplete() const final
bool requiresSetup() const final
QString description() const final
VehicleComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, AutoPilotPlugin::KnownVehicleComponent KnownVehicleComponent, QObject *parent=nullptr)