#ifndef CENTRALWIDGET_H #define CENTRALWIDGET_H #include #include "qcustomplot.h" #include "protocol.h" #include "global.h" class CentralWidget:public QWidget { Q_OBJECT public: CentralWidget(QWidget *parent = nullptr); ~CentralWidget(); public slots: void slotModeModify(const Global::Mode); void slotRevCommonData(const CommonData&); protected: void timerEvent(QTimerEvent* event); private: private: QCustomPlot *_customPlot; }; #endif // CENTRALWIDGET_H