27 #ifndef SYSTEMHEALTHGADGETWIDGET_H_
28 #define SYSTEMHEALTHGADGETWIDGET_H_
33 #include <QGraphicsView>
34 #include <QtSvg/QSvgRenderer>
35 #include <QtSvg/QGraphicsSvgItem>
36 #include <QMouseEvent>
58 void updateAlarms(
UAVObject *systemAlarm);
59 void onAutopilotConnect();
60 void onAutopilotDisconnect();
63 QSvgRenderer *m_renderer;
64 QGraphicsSvgItem *background;
65 QGraphicsSvgItem *foreground;
66 QGraphicsSvgItem *nolink;
71 void showAlarmDescriptionForItemId(
const QString itemId,
const QPoint &location);
72 void showAllAlarmDescriptions(
const QPoint &location);
73 QString getAlarmDescriptionFileName(
const QString itemId);
void paintEvent(QPaintEvent *event)
void resizeEvent(QResizeEvent *event)
void setSystemFile(QString dfn)
~SystemHealthGadgetWidget()
SystemHealthGadgetWidget(QWidget *parent=nullptr)
void setIndicator(QString indicator)
void mousePressEvent(QMouseEvent *event)