diff --git a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/centralwidget.o b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/centralwidget.o index ee3a808..d459c82 100644 Binary files a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/centralwidget.o and b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/centralwidget.o differ diff --git a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/main.o b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/main.o index f9bacb1..8dcba67 100644 Binary files a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/main.o and b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/main.o differ diff --git a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/mainwindow.o b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/mainwindow.o index 2181cc3..4dcb672 100644 Binary files a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/mainwindow.o and b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/mainwindow.o differ diff --git a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_centralwidget.o b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_centralwidget.o index 6c887bd..5134288 100644 Binary files a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_centralwidget.o and b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_centralwidget.o differ diff --git a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_mainwindow.o b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_mainwindow.o index 7d89354..77af4bb 100644 Binary files a/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_mainwindow.o and b/build-AnalysTool-Desktop_Qt_5_14_2_MinGW_64_bit-Debug/debug/moc_mainwindow.o differ diff --git a/src/AnalysTool.pro.user b/src/AnalysTool.pro.user index e15720b..d5905dc 100644 --- a/src/AnalysTool.pro.user +++ b/src/AnalysTool.pro.user @@ -1,6 +1,6 @@ - + EnvironmentId diff --git a/src/Debug/centralwidget.obj b/src/Debug/centralwidget.obj new file mode 100644 index 0000000..f0a8491 Binary files /dev/null and b/src/Debug/centralwidget.obj differ diff --git a/src/Debug/dataparser.obj b/src/Debug/dataparser.obj new file mode 100644 index 0000000..297d037 Binary files /dev/null and b/src/Debug/dataparser.obj differ diff --git a/src/Debug/main.obj b/src/Debug/main.obj new file mode 100644 index 0000000..85ccd9b Binary files /dev/null and b/src/Debug/main.obj differ diff --git a/src/Debug/mainwidget.obj b/src/Debug/mainwidget.obj new file mode 100644 index 0000000..5c9c932 Binary files /dev/null and b/src/Debug/mainwidget.obj differ diff --git a/src/Debug/mainwindow.obj b/src/Debug/mainwindow.obj new file mode 100644 index 0000000..f7ba5b3 Binary files /dev/null and b/src/Debug/mainwindow.obj differ diff --git a/src/Debug/moc_centralwidget.obj b/src/Debug/moc_centralwidget.obj new file mode 100644 index 0000000..644d8df Binary files /dev/null and b/src/Debug/moc_centralwidget.obj differ diff --git a/src/Debug/moc_mainwidget.obj b/src/Debug/moc_mainwidget.obj new file mode 100644 index 0000000..ee63eb1 Binary files /dev/null and b/src/Debug/moc_mainwidget.obj differ diff --git a/src/Debug/moc_mainwindow.obj b/src/Debug/moc_mainwindow.obj new file mode 100644 index 0000000..a53ec34 Binary files /dev/null and b/src/Debug/moc_mainwindow.obj differ diff --git a/src/Debug/moc_qcustomplot.obj b/src/Debug/moc_qcustomplot.obj new file mode 100644 index 0000000..c32ab07 Binary files /dev/null and b/src/Debug/moc_qcustomplot.obj differ diff --git a/src/Debug/moc_realtimedataform.obj b/src/Debug/moc_realtimedataform.obj new file mode 100644 index 0000000..0078182 Binary files /dev/null and b/src/Debug/moc_realtimedataform.obj differ diff --git a/src/Debug/moc_serialport.obj b/src/Debug/moc_serialport.obj new file mode 100644 index 0000000..283b428 Binary files /dev/null and b/src/Debug/moc_serialport.obj differ diff --git a/src/Debug/qcustomplot.obj b/src/Debug/qcustomplot.obj new file mode 100644 index 0000000..66b559f Binary files /dev/null and b/src/Debug/qcustomplot.obj differ diff --git a/src/Debug/realtimedataform.obj b/src/Debug/realtimedataform.obj new file mode 100644 index 0000000..5263ad9 Binary files /dev/null and b/src/Debug/realtimedataform.obj differ diff --git a/src/Debug/serialport.obj b/src/Debug/serialport.obj new file mode 100644 index 0000000..68a3787 Binary files /dev/null and b/src/Debug/serialport.obj differ diff --git a/src/ui/centralwidget.cpp b/src/ui/centralwidget.cpp index faff26d..2d0250a 100644 Binary files a/src/ui/centralwidget.cpp and b/src/ui/centralwidget.cpp differ diff --git a/src/ui/centralwidget.h b/src/ui/centralwidget.h index cc6efbd..0bd0faf 100644 --- a/src/ui/centralwidget.h +++ b/src/ui/centralwidget.h @@ -2,12 +2,17 @@ #define CENTRALWIDGET_H #include +#include "qcustomplot.h" class CentralWidget:public QWidget { Q_OBJECT public: CentralWidget(QWidget *parent = nullptr); +protected: + void timerEvent(QTimerEvent* event); +private: + QCustomPlot *_customPlot; }; #endif // CENTRALWIDGET_H diff --git a/src/ui/realtimedataform.cpp b/src/ui/realtimedataform.cpp index 2f69531..ce9e5da 100644 Binary files a/src/ui/realtimedataform.cpp and b/src/ui/realtimedataform.cpp differ