47 const QList<StatusText*>&
messages()
const {
return m_messages; }
56 void textMessageReceived(MAV_COMPONENT componentid, MAV_SEVERITY severity, QString text, QString description);
61 void _chunkedStatusTextTimeout();
65 void _chunkedStatusTextCompleted(MAV_COMPONENT compId);
67 QTimer *m_chunkedStatusTextTimer =
nullptr;
69 bool m_multiComp =
false;
70 MAV_COMPONENT m_activeComponent = MAV_COMPONENT::MAV_COMPONENT_ENUM_END;
71 uint32_t m_criticalMessageCount = 0;
73 QVector<StatusText*> m_messages;
75 typedef struct __ChunkedStatusTextInfo {
77 MAV_SEVERITY severity;
78 QStringList rgMessageChunks;
79 } ChunkedStatusTextInfo_t;
81 QMap<MAV_COMPONENT, ChunkedStatusTextInfo_t> m_chunkedStatusTextInfoMap;
void criticalMessageCountChanged()
void handleHTMLEscapedTextMessage(MAV_COMPONENT componentid, MAV_SEVERITY severity, const QString &text, const QString &description)
const QList< StatusText * > & messages() const
void newErrorMessage(QString message)
uint32_t criticalMessageCount() const
static QString getMessageText(const mavlink_message_t &message)
void mavlinkMessageReceived(const mavlink_message_t &message)
void textMessageReceived(MAV_COMPONENT componentid, MAV_SEVERITY severity, QString text, QString description)
void newFormattedMessage(QString message)
QString formattedMessages() const
MAV_COMPONENT getComponentID() const
bool severityIsError() const
void setFormatedText(const QString &formatedText)
QString getFormattedText() const
MAV_SEVERITY getSeverity() const