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("Flight Modes Setup is used to configure the transmitter switches associated with Flight Modes.");
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}
QString name(void) 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)