QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMFlightModesComponent.h
Go to the documentation of this file.
1#pragma once
2
3#include "VehicleComponent.h"
4
6{
7 Q_OBJECT
8
9public:
10 APMFlightModesComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent = nullptr);
11
12 QStringList setupCompleteChangedTriggerList() const final { return QStringList(); }
13
14 QString name() const final { return _name; }
15 QString description() const final { return tr("Configure transmitter switch assignments and flight mode selection."); }
16 QString iconResource() const final { return QStringLiteral("/qmlimages/FlightModesComponentIcon.png"); }
17 bool requiresSetup() const final { return true; }
18 bool setupComplete() const final { return true; }
19 QUrl setupSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMFlightModesComponent.qml")); }
20 QUrl summaryQmlSource() const final { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/APM/APMFlightModesComponentSummary.qml")); }
21
22private:
23 const QString _name = tr("Flight Modes");
24};
QStringList setupCompleteChangedTriggerList() const final
QString iconResource() const final
QUrl summaryQmlSource() const final
QString description() const final
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
A vehicle component is an object which abstracts the physical portion of a vehicle into a set of conf...