#ifndef MYCANVAS_H #define MYCANVAS_H #include #include #include #include #include #include #include #include "RadarExt.h" struct TColPoint { double x, y, amp; QColor col; }; class ToPaintState { public: ToPaintState() {} ToPaintState(int type) : type (type) {} int type = 0; }; class MyCanvas : public QChartView { Q_OBJECT public: explicit MyCanvas(QWidget *parent = nullptr); TRadar radar = TRadar(); QVector> FDNMass; void drawState(ToPaintState); private: ToPaintState state = ToPaintState(); }; #endif // MYCANVAS_H