#include <chinfomodel.h>
|
| ChInfoModel (QObject *parent=0) |
|
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()) |
|
void | fiffInfoChanged (const FiffInfo &fiffInfo) |
|
void | layoutChanged (const QMap< QString, QPointF > &layoutMap) |
|
const QStringList & | getMappedChannelsList () |
|
int | getIndexFromOrigChName (QString chName) |
|
int | getIndexFromMappedChName (QString chName) |
|
DECLARE CLASS ChInfoModel
Definition at line 109 of file chinfomodel.h.
void XDISPLIB::ChInfoModel::channelsMappedToLayout |
( |
const QStringList & |
mappedLayoutChNames | ) |
|
|
signal |
Emit this signal whenever channels where mapped to a layout
void ChInfoModel::clearModel |
( |
| ) |
|
|
protected |
void ChInfoModel::fiffInfoChanged |
( |
const FiffInfo & |
fiffInfo | ) |
|
Updates the fiff info
- Parameters
-
fiffInfo | fiff info variabel. |
Definition at line 478 of file chinfomodel.cpp.
int ChInfoModel::getIndexFromMappedChName |
( |
QString |
chName | ) |
|
Returns the model index for the given input channel fro mthe mapped channel list
- Parameters
-
chName | the channel name for which the model index is needed. |
- Returns
- the index number. if channel was not found in the data this functions returns -1
Definition at line 545 of file chinfomodel.cpp.
int ChInfoModel::getIndexFromOrigChName |
( |
QString |
chName | ) |
|
Returns the model index for the given input channel fro mthe original channel list
- Parameters
-
chName | the channel name for which the model index is needed. |
- Returns
- the index number. if channel was not found in the data this functions returns -1
Definition at line 537 of file chinfomodel.cpp.
const QStringList & ChInfoModel::getMappedChannelsList |
( |
| ) |
|
Updates the layout map
- Returns
- the current mapped channel list
Definition at line 528 of file chinfomodel.cpp.
void ChInfoModel::layoutChanged |
( |
const QMap< QString, QPointF > & |
layoutMap | ) |
|
Updates the fiff info
- Parameters
-
assignedOperators | the filter operators which are currently active. Updates the layout map |
layoutMap | the layout map with the 2D positions. |
Definition at line 510 of file chinfomodel.cpp.
void ChInfoModel::mapLayoutToChannels |
( |
| ) |
|
|
protected |
Maps the currently loaded channels to the loaded layout file
Definition at line 553 of file chinfomodel.cpp.
int ChInfoModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
QStringList XDISPLIB::ChInfoModel::m_aliasNames |
|
protected |
FiffInfo XDISPLIB::ChInfoModel::m_fiffInfo |
|
protected |
The fiff info of the currently loaded fiff file.
Definition at line 202 of file chinfomodel.h.
QMap<QString,QPointF> XDISPLIB::ChInfoModel::m_layoutMap |
|
protected |
The current layout map with a position for all MEG and EEG channels.
Definition at line 203 of file chinfomodel.h.
QStringList XDISPLIB::ChInfoModel::m_mappedLayoutChNames |
|
protected |
list of the mapped layout channel names.
Definition at line 205 of file chinfomodel.h.
The documentation for this class was generated from the following files:
- D:/Users/Christoph/GitHub/mne-cpp/applications/mne_x_libs/xDisp/helpers/chinfomodel.h
- D:/Users/Christoph/GitHub/mne-cpp/applications/mne_x_libs/xDisp/helpers/chinfomodel.cpp