#ifndef UASRAWSTATUSVIEW_H #define UASRAWSTATUSVIEW_H #include <QWidget> #include "MAVLinkDecoder.h" #include "ui_UASRawStatusView.h" class UASRawStatusView : public QWidget { Q_OBJECT public: explicit UASRawStatusView(QWidget *parent = 0); ~UASRawStatusView(); void setDecoder(MAVLinkDecoder *decoder); private slots: void updateTableTimerTick(); void valueChanged(const int uasId, const QString& name, const QString& unit, const quint8 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const qint8 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const quint16 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const qint16 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const quint32 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const qint32 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const quint64 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const qint64 value, const quint64 msec); void valueChanged(const int uasId, const QString& name, const QString& unit, const double value, const quint64 msec); protected: void resizeEvent(QResizeEvent *event); private: QMap<QString,double> valueMap; QMap<QString,QTableWidgetItem*> nameToUpdateWidgetMap; Ui::UASRawStatusView ui; bool m_tableDirty; }; #endif // UASRAWSTATUSVIEW_H