#ifndef TestWidgetPeaksPlots_H #define TestWidgetPeaksPlots_H #include #include #include #include #include #include #include #include #include #include #include "jkqtplotter/jkqtplotter.h" #include "jkqtplotter/jkqtpgraphspeakstream.h" #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: JKQtPlotter* plotPeaks; JKQTPPeakStreamGraph* graphPeakStream1; JKQTPPeakStreamGraph* graphPeakStream2; }; #endif // TestWidgetPeaksPlots_H