diff --git a/plot.h b/plot.h --- a/plot.h +++ b/plot.h @@ -21,6 +21,8 @@ #define PLOT_H #include +#include +#include #include #include #include @@ -35,6 +37,8 @@ public: Plot(QWidget* parent = 0); void setAxis(bool autoScaled, double yMin = 0, double yMax = 1); + QList menuActions(); + static QColor makeColor(unsigned int channelIndex); private: @@ -45,6 +49,11 @@ private: QwtPlotGrid grid; QwtPlotShapeItem rectItem; + QAction _showGridAction; + QAction _showMinorGridAction; + QAction _unzoomAction; + QAction _darkBackgroundAction; + void resetAxes(); public slots: