Program Listing for File DdsDataSource.hpp

Return to documentation for file (sinspekto/DdsDataSource.hpp)

#pragma once

#include <QObject>
#include <QAbstractSeries>

QT_CHARTS_USE_NAMESPACE

class DdsDataSource : public QObject
{
  Q_OBJECT
public:
  explicit DdsDataSource(QObject *parent = nullptr);

public slots:
  void generateData(int type, int rowCount, int colCount);
  void update(QAbstractSeries *series);

private:
  QList<QVector<QPointF> > m_data;
  int m_index;


};