目录
波形图表的绘制(必看)
#include "collectiondata.h"
#include <QThread>
#include <QTimer>
#include <math.h>
CollectionData::CollectionData(QObject *parent) : QObject(parent)
{
qRegisterMetaType<QVector<QPointF>>("QVector<QPointF>");
connect(this, &CollectionData::startInit, this, &CollectionData::slotStartInit);
QThread *thread = new QThread();
this->moveToThread(thread);
thread->start();
this->startI