channel.h 434 B

1234567891011121314151617181920212223242526272829
  1. #ifndef CHANNEL_H
  2. #define CHANNEL_H
  3. #include <QWidget>
  4. #include "ui_channel.h"
  5. #include "settings.h"
  6. #include "qcustomplot.h"
  7. class Channel : public QWidget
  8. {
  9. Q_OBJECT
  10. private:
  11. int _channel;
  12. ChannelSettings& _channelSettings;
  13. QCustomPlot* _curvePlot;
  14. public:
  15. Channel(int channel, ChannelSettings& channelSettings, QWidget* parent = 0);
  16. ~Channel();
  17. private:
  18. Ui::channel ui;
  19. public:
  20. void update();
  21. };
  22. #endif // CHANNEL_H