1 #ifndef REALTIMEBUTTERFLYPLOT_H
2 #define REALTIMEBUTTERFLYPLOT_H
9 #include "../xdisp_global.h"
22 #include <QSharedPointer>
44 void dataUpdate(
const QModelIndex& topLeft,
const QModelIndex& bottomRight,
const QVector<int>& roles = QVector<int>());
46 void setSettings(
const QList< Modality >& p_qListModalities);
48 void setSelectedChannels(
const QList<int> &selectedChannels);
58 virtual void paintEvent( QPaintEvent* event );
68 void createPlotPath(qint32 row, QPainterPath& path)
const;
84 qint32 m_iNumChannels;
88 QList<int> m_lSelectedChannels;
99 m_pRealTimeEvokedModel = model;
101 connect(m_pRealTimeEvokedModel, &RealTimeEvokedModel::dataChanged,
this, &RealTimeButterflyPlot::dataUpdate);
106 #endif // REALTIMEBUTTERFLYPLOT_H
#define XDISPSHARED_EXPORT
Declaration of the RealTimeEvokedModel Class.
The RealTimeEvokedModel class implements the data access model for a real-time multi sample array dat...