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
5
#include "
FactPanelController.h
"
6
8
class
APMSubMotorComponentController
:
public
FactPanelController
9
{
10
Q_OBJECT
11
QML_ELEMENT
12
Q_PROPERTY(QString motorDetectionMessages READ motorDetectionMessages NOTIFY
motorDetectionMessagesChanged
)
13
14
public
:
15
explicit
APMSubMotorComponentController
(QObject *parent =
nullptr
);
16
17
QString motorDetectionMessages()
const
{
return
_motorDetectionMessages; };
18
19
signals:
20
void
motorDetectionMessagesChanged
();
21
22
private
slots:
23
void
_handleNewMessages(
int
sysid,
int
componentid,
int
severity,
const
QString &text,
const
QString &description);
24
25
private
:
26
QString _motorDetectionMessages;
27
};
FactPanelController.h
APMSubMotorComponentController
MVC Controller for APMSubMotorComponent.qml.
Definition
APMSubMotorComponentController.h:9
APMSubMotorComponentController::motorDetectionMessagesChanged
void motorDetectionMessagesChanged()
FactPanelController
Used for handling missing Facts from C++ code.
Definition
FactPanelController.h:16
src
AutoPilotPlugins
APM
APMSubMotorComponentController.h
Generated by
1.9.8