#ifndef TestWidgetGraphs_H #define TestWidgetGraphs_H #include #include #include #include #include #include #include #include #include #include #include "jkqtplotter/jkqtplotter.h" #include "jkqtplotter/graphs/jkqtpgeometric.h" #include "jkqtplotter/jkqtpbaseelements.h" #include "jkqtplotter/gui/jkqtpgraphsmodel.h" #include "jkqtplotter/jkqtptools.h" #define N1 200 #define N2 50 #define N3 8 class TestWidgetGraphs : public QWidget { Q_OBJECT public: explicit TestWidgetGraphs(QWidget *parent = nullptr); Q_SIGNALS: protected Q_SLOTS: void setErrorLineStyle(int index); void setESSymbol(int index); void setSortOrder2(int index); void setKeyLayout2(JKQTPKeyLayout layout); void setKeyPos2(JKQTPKeyPosition layout); protected: double x1[N1], x2[N2], x2r[N1]/*, x3[N3]*/; double y11[N1], y12[N1], y13[N1], y21[N1], y21r[N1], y21re[N1], y22[N1], y23[N1], y24[N1]; double xbox[N3], ymed[N3], ymean[N3], ymin[N3], ymax[N3], yp25[N3], yp75[N3]; double b1[N3], b2[N3], b3[N3]; JKQTPlotter* plot; JKQTPlotter* plotLOG; JKQTPlotter* plotBot; JKQTPlotter* plotBot2; JKQTPPlotElement* plteErrors; JKQTPPlotElement* plteSymbols; JKQTPXYLineErrorGraph* pltePlot2; }; #endif // TestWidgetGraphs_H