2018-12-29 00:46:47 +08:00
|
|
|
#ifndef TestWidgetPeaksPlots_H
|
|
|
|
#define TestWidgetPeaksPlots_H
|
|
|
|
#include <QElapsedTimer>
|
|
|
|
#include <QCheckBox>
|
|
|
|
#include <QLineEdit>
|
|
|
|
#include <QTimer>
|
|
|
|
#include <QImage>
|
|
|
|
#include <QVBoxLayout>
|
|
|
|
#include <QWidget>
|
|
|
|
#include <QTabWidget>
|
|
|
|
#include <QFormLayout>
|
|
|
|
#include <QCheckBox>
|
|
|
|
#include "jkqtplotter/jkqtplotter.h"
|
2019-06-20 22:06:31 +08:00
|
|
|
#include "jkqtplotter/graphs/jkqtppeakstream.h"
|
2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
#define N1 200
|
|
|
|
#define N2 50
|
|
|
|
#define N3 8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class TestWidgetPeaksPlots : public QWidget
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
|
|
explicit TestWidgetPeaksPlots(QWidget *parent = nullptr);
|
|
|
|
|
|
|
|
signals:
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
void setDrawBaseline(bool checked);
|
|
|
|
void setYPeaks(bool checked);
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
2019-01-20 23:15:10 +08:00
|
|
|
JKQTPlotter* plotPeaks;
|
2018-12-29 00:46:47 +08:00
|
|
|
JKQTPPeakStreamGraph* graphPeakStream1;
|
|
|
|
JKQTPPeakStreamGraph* graphPeakStream2;
|
|
|
|
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif // TestWidgetPeaksPlots_H
|