MNE-CPP  beta 1.0
Signals | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
MNEBrowseRawQt::AverageModel Class Reference

#include <averagemodel.h>

Inheritance diagram for MNEBrowseRawQt::AverageModel:

Signals

void fileLoaded (bool)
 

Public Member Functions

 AverageModel (QObject *parent=0)
 
 AverageModel (QFile &qFile, QObject *parent)
 
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 loadEvokedData (QFile &qFile)
 
bool saveEvokedData (QFile &qFile)
 

Public Attributes

bool m_bFileloaded
 

Protected Member Functions

void clearModel ()
 

Protected Attributes

FiffEvokedSet m_pEvokedDataSet
 
QSharedPointer< FiffIOm_pfiffIO
 

Detailed Description

DECLARE CLASS AverageModel

Definition at line 95 of file averagemodel.h.

Member Function Documentation

void AverageModel::clearModel ( )
protected

clearModel clears all model's members

Definition at line 366 of file averagemodel.cpp.

void MNEBrowseRawQt::AverageModel::fileLoaded ( bool  )
signal

fileLoaded is emitted whenever a file was (tried) to be loaded

bool AverageModel::loadEvokedData ( QFile &  qFile)

loadEvokedData loads the fiff evoked data file

Parameters
p_IODevicefiff data evoked file to read from

Definition at line 320 of file averagemodel.cpp.

int AverageModel::rowCount ( const QModelIndex &  parent = QModelIndex()) const
virtual

Reimplemented virtual functions

Definition at line 81 of file averagemodel.cpp.

bool AverageModel::saveEvokedData ( QFile &  qFile)

saveEvokedData saves the fiff evoked data file

Parameters
p_IODevicefiff data evoked file to save to

Definition at line 350 of file averagemodel.cpp.

Member Data Documentation

bool MNEBrowseRawQt::AverageModel::m_bFileloaded

true when a Fiff evoked file is loaded.

Definition at line 132 of file averagemodel.h.

FiffEvokedSet MNEBrowseRawQt::AverageModel::m_pEvokedDataSet
protected

QList<FiffEvoked> that holds the evoked data sets which are to be organised and handled by this model.

Definition at line 135 of file averagemodel.h.

QSharedPointer<FiffIO> MNEBrowseRawQt::AverageModel::m_pfiffIO
protected

FiffIO objects, which holds all the information of the fiff data (excluding the samples!).

Definition at line 136 of file averagemodel.h.


The documentation for this class was generated from the following files: