38 #ifndef PROJECTIONMODEL_H
39 #define PROJECTIONMODEL_H
46 #include "../Utils/types.h"
54 #include <QAbstractTableModel>
78 using namespace Eigen;
106 virtual int rowCount(
const QModelIndex & parent = QModelIndex())
const;
107 virtual int columnCount(
const QModelIndex &parent = QModelIndex())
const;
108 virtual QVariant headerData(
int section, Qt::Orientation orientation,
int role = Qt::DisplayRole)
const;
109 virtual QVariant data(
const QModelIndex & index,
int role = Qt::DisplayRole)
const;
110 virtual bool setData(
const QModelIndex & index,
const QVariant & value,
int role = Qt::EditRole);
111 virtual Qt::ItemFlags flags(
const QModelIndex & index)
const;
112 virtual bool insertRows(
int position,
int span,
const QModelIndex & parent = QModelIndex());
113 virtual bool removeRows(
int position,
int span,
const QModelIndex & parent = QModelIndex());
121 bool loadProjections(QFile& qFile);
129 bool saveProjections(QFile& qFile);
137 void addProjections(
const QList<FiffProj>& dataProjs);
145 void addProjections(
const FiffInfo &fiffInfo);
163 void fileLoaded(
bool);
170 #endif // PROJECTIONMODEL_H
FIFF measurement file information.
QList< FiffProj > m_dataProjs
FIFF class declaration, which provides static wrapper functions to stay consistent with mne matlab to...