diff --git a/src/mainwindow.h b/src/mainwindow.h --- a/src/mainwindow.h +++ b/src/mainwindow.h @@ -32,7 +32,6 @@ #include #include #include -#include #include "portcontrol.h" #include "commandpanel.h" @@ -42,6 +41,7 @@ #include "framebuffer.h" #include "channelmanager.h" #include "snapshotmanager.h" +#include "plotmanager.h" namespace Ui { class MainWindow; @@ -70,19 +70,15 @@ private: unsigned int numOfSamples; QList curves; - // Note: FrameBuffer s are owned by their respective QwtPlotCurve s. - // QList channelBuffers; ChannelManager channelMan; + PlotManager* plotMan; + SnapshotManager snapshotMan; QLabel spsLabel; - CommandPanel commandPanel; DataFormatPanel dataFormatPanel; PlotControlPanel plotControlPanel; - SnapshotManager snapshotMan; - - QwtPlotTextLabel demoIndicator; bool isDemoRunning(); private slots: