QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
FlightModesComponent.cc
Go to the documentation of this file.
2#include "ParameterManager.h"
3#include "Vehicle.h"
4
6 const char* param;
7 const char* name;
8};
9
11 : VehicleComponent(vehicle, autopilot, AutoPilotPlugin::KnownFlightModesVehicleComponent, parent)
12 , _name(tr("Flight Modes"))
13{
14}
15
16QString FlightModesComponent::name(void) const
17{
18 return _name;
19}
20
22{
23 return tr("Configure transmitter switch assignments and flight mode selection.");
24}
25
27{
28 return "/qmlimages/FlightModesComponentIcon.png";
29}
30
32{
33 return QUrl::fromUserInput("qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/PX4FlightModes.qml");
34}
35
37{
38 return QUrl::fromUserInput("qrc:/qml/QGroundControl/AutoPilotPlugins/PX4/FlightModesComponentSummary.qml");
39}
40
42{
43 return { tr("Flight Modes"), tr("Switch Settings") };
44}
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
QString name(void) const final
QStringList sections() const final
QString description(void) const final
QString iconResource(void) const final
QUrl summaryQmlSource(void) const final
QUrl setupSource(void) const final
FlightModesComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent=nullptr)
A vehicle component is an object which abstracts the physical portion of a vehicle into a set of conf...