channel.h 428 B

12345678910111213141516171819202122232425262728
  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. void updateUi();
  20. };
  21. #endif // CHANNEL_H