MNE-CPP
beta 1.0
|
#include <projectionmodel.h>
Signals | |
void | fileLoaded (bool) |
Public Member Functions | |
ProjectionModel (QObject *parent=0) | |
ProjectionModel (QObject *parent, QFile &qFile) | |
ProjectionModel (QObject *parent, QList< FiffProj > &dataProjs) | |
virtual int | rowCount (const QModelIndex &parent=QModelIndex()) const |
virtual int | columnCount (const QModelIndex &parent=QModelIndex()) const |
virtual QVariant | headerData (int section, Qt::Orientation orientation, int role=Qt::DisplayRole) const |
virtual QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
virtual bool | setData (const QModelIndex &index, const QVariant &value, int role=Qt::EditRole) |
virtual Qt::ItemFlags | flags (const QModelIndex &index) const |
virtual bool | insertRows (int position, int span, const QModelIndex &parent=QModelIndex()) |
virtual bool | removeRows (int position, int span, const QModelIndex &parent=QModelIndex()) |
bool | loadProjections (QFile &qFile) |
bool | saveProjections (QFile &qFile) |
void | addProjections (const QList< FiffProj > &dataProjs) |
void | addProjections (const FiffInfo &fiffInfo) |
void | clearModel () |
Public Attributes | |
bool | m_bFileloaded |
Protected Attributes | |
QList< FiffProj > | m_dataProjs |
DECLARE CLASS ProjectionModel
Definition at line 94 of file projectionmodel.h.
void ProjectionModel::addProjections | ( | const QList< FiffProj > & | dataProjs | ) |
addProjections adds projections to the data
dataProjs | fiff list with already loaded projectors. |
Definition at line 346 of file projectionmodel.cpp.
void ProjectionModel::addProjections | ( | const FiffInfo & | fiffInfo | ) |
addProjections adds projections to the data
fiffInfo | fiff info with already loaded projectors. |
Definition at line 357 of file projectionmodel.cpp.
void ProjectionModel::clearModel | ( | ) |
clearModel clears all model's members
Definition at line 368 of file projectionmodel.cpp.
|
signal |
fileLoaded is emitted whenever a file was (tried) to be loaded
bool ProjectionModel::loadProjections | ( | QFile & | qFile | ) |
loadProjections loads projections from a fif file
qFile | fiff data file containing the projections |
Definition at line 286 of file projectionmodel.cpp.
|
virtual |
Reimplemented virtual functions
Definition at line 89 of file projectionmodel.cpp.
bool ProjectionModel::saveProjections | ( | QFile & | qFile | ) |
saveProjections saves projections to a fif file
qFile | fiff data file containing the projections |
Definition at line 330 of file projectionmodel.cpp.
bool MNEBrowseRawQt::ProjectionModel::m_bFileloaded |
true when a Fiff evoked file is loaded.
Definition at line 147 of file projectionmodel.h.
|
protected |
current projector data.
Definition at line 156 of file projectionmodel.h.