QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ScriptingComponent.h
Go to the documentation of this file.
1#pragma once
2
3#include "VehicleComponent.h"
4
6{
7 Q_OBJECT
8
9public:
10 explicit ScriptingComponent(Vehicle *vehicle, AutoPilotPlugin *autopilot, QObject *parent = nullptr);
11
12 QStringList setupCompleteChangedTriggerList() const override { return QStringList(); }
13 QString name() const override { return _name; }
14 QString description() const override { return tr("Provides access to onboard script management."); }
15 QString iconResource() const override { return QStringLiteral("/InstrumentValueIcons/folder-outline.svg"); }
16 bool requiresSetup() const override { return false; }
17 bool setupComplete() const override { return true; }
18 QUrl setupSource() const override { return QUrl::fromUserInput(QStringLiteral("qrc:/qml/QGroundControl/AutoPilotPlugins/Common/ScriptingComponent.qml")); }
19 QUrl summaryQmlSource() const override { return QUrl(); }
20
21private:
22 const QString _name;
23};
The AutoPilotPlugin class is an abstract base class which represents the methods and objects which ar...
QUrl summaryQmlSource() const override
QString description() const override
QStringList setupCompleteChangedTriggerList() const override
bool requiresSetup() const override
QUrl setupSource() const override
QString iconResource() const override
bool setupComplete() const override
QString name() const override
A vehicle component is an object which abstracts the physical portion of a vehicle into a set of conf...