QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
APMSubMotorComponentController.h
Go to the documentation of this file.
1#pragma once
2
3#include <QtQmlIntegration/QtQmlIntegration>
4
6
9{
10 Q_OBJECT
11 QML_ELEMENT
12 Q_PROPERTY(QString motorDetectionMessages READ motorDetectionMessages NOTIFY motorDetectionMessagesChanged)
13
14public:
15 explicit APMSubMotorComponentController(QObject *parent = nullptr);
16
17 QString motorDetectionMessages() const { return _motorDetectionMessages; };
18
19signals:
21
22private slots:
23 void _handleNewMessages(int sysid, int componentid, int severity, const QString &text, const QString &description);
24
25private:
26 QString _motorDetectionMessages;
27};
MVC Controller for APMSubMotorComponent.qml.
Used for handling missing Facts from C++ code.