#include <channelinfomodel.h>
|
| | ChannelInfoModel (QSharedPointer< FIFFLIB::FiffInfo > &pFiffInfo, QObject *parent=0) |
| | ChannelInfoModel (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 | setFiffInfo (QSharedPointer< FIFFLIB::FiffInfo > &pFiffInfo) |
| void | assignedOperatorsChanged (const QMultiMap< int, QSharedPointer< MNEOperator > > &assignedOperators) |
| void | layoutChanged (const QMap< QString, QPointF > &layoutMap) |
| const QStringList & | getMappedChannelsList () |
| int | getIndexFromOrigChName (QString chName) |
| int | getIndexFromMappedChName (QString chName) |
| QStringList | getBadChannelList () |
| void | clearModel () |
DECLARE CLASS ChannelInfoModel
Definition at line 101 of file channelinfomodel.h.
◆ ConstSPtr
◆ SPtr
◆ ChannelInfoModel() [1/2]
| DISPLIB::ChannelInfoModel::ChannelInfoModel |
( |
QSharedPointer< FIFFLIB::FiffInfo > & | pFiffInfo, |
|
|
QObject * | parent = 0 ) |
◆ ChannelInfoModel() [2/2]
| ChannelInfoModel::ChannelInfoModel |
( |
QObject * | parent = 0 | ) |
|
◆ assignedOperatorsChanged()
| void ChannelInfoModel::assignedOperatorsChanged |
( |
const QMultiMap< int, QSharedPointer< MNEOperator > > & | assignedOperators | ) |
|
Updates the fiff info
- Parameters
-
| [in] | assignedOperators | the filter operators which are currently active. |
Definition at line 568 of file channelinfomodel.cpp.
◆ channelsMappedToLayout
| void DISPLIB::ChannelInfoModel::channelsMappedToLayout |
( |
const QStringList & | mappedLayoutChNames | ) |
|
|
signal |
Emit this signal whenever channels where mapped to a layout
◆ clearModel()
| void ChannelInfoModel::clearModel |
( |
| ) |
|
◆ columnCount()
| int ChannelInfoModel::columnCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
virtual |
◆ data()
| QVariant ChannelInfoModel::data |
( |
const QModelIndex & | index, |
|
|
int | role = Qt::DisplayRole ) const |
|
virtual |
◆ flags()
| Qt::ItemFlags ChannelInfoModel::flags |
( |
const QModelIndex & | index | ) |
const |
|
virtual |
◆ getBadChannelList()
| QStringList ChannelInfoModel::getBadChannelList |
( |
| ) |
|
◆ getIndexFromMappedChName()
| int ChannelInfoModel::getIndexFromMappedChName |
( |
QString | chName | ) |
|
Returns the model index for the given input channel fro mthe mapped channel list
- Parameters
-
| [in] | 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 613 of file channelinfomodel.cpp.
◆ getIndexFromOrigChName()
| int ChannelInfoModel::getIndexFromOrigChName |
( |
QString | chName | ) |
|
Returns the model index for the given input channel fro mthe original channel list
- Parameters
-
| [in] | 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 606 of file channelinfomodel.cpp.
◆ getMappedChannelsList()
| const QStringList & ChannelInfoModel::getMappedChannelsList |
( |
| ) |
|
Updates the layout map
- Returns
- the current mapped channel list.
Definition at line 598 of file channelinfomodel.cpp.
◆ headerData()
| QVariant ChannelInfoModel::headerData |
( |
int | section, |
|
|
Qt::Orientation | orientation, |
|
|
int | role = Qt::DisplayRole ) const |
|
virtual |
◆ insertRows()
| bool ChannelInfoModel::insertRows |
( |
int | position, |
|
|
int | span, |
|
|
const QModelIndex & | parent = QModelIndex() ) |
|
virtual |
◆ layoutChanged()
| void ChannelInfoModel::layoutChanged |
( |
const QMap< QString, QPointF > & | layoutMap | ) |
|
Updates the layout map
- Parameters
-
| [in] | layoutMap | the layout map with the 2D positions. |
Definition at line 581 of file channelinfomodel.cpp.
◆ mapLayoutToChannels()
| void ChannelInfoModel::mapLayoutToChannels |
( |
| ) |
|
|
protected |
◆ removeRows()
| bool ChannelInfoModel::removeRows |
( |
int | position, |
|
|
int | span, |
|
|
const QModelIndex & | parent = QModelIndex() ) |
|
virtual |
◆ rowCount()
| int ChannelInfoModel::rowCount |
( |
const QModelIndex & | parent = QModelIndex() | ) |
const |
|
virtual |
◆ setData()
| bool ChannelInfoModel::setData |
( |
const QModelIndex & | index, |
|
|
const QVariant & | value, |
|
|
int | role = Qt::EditRole ) |
|
virtual |
◆ setFiffInfo()
| void ChannelInfoModel::setFiffInfo |
( |
QSharedPointer< FIFFLIB::FiffInfo > & | pFiffInfo | ) |
|
Updates the fiff info
- Parameters
-
| [in] | fiffInfo | fiff info variabel. |
Definition at line 551 of file channelinfomodel.cpp.
◆ m_aliasNames
| QStringList DISPLIB::ChannelInfoModel::m_aliasNames |
|
protected |
◆ m_assignedOperators
| QMultiMap<int,QSharedPointer<MNEOperator> > DISPLIB::ChannelInfoModel::m_assignedOperators |
|
protected |
◆ m_layoutMap
| QMap<QString,QPointF> DISPLIB::ChannelInfoModel::m_layoutMap |
|
protected |
The current layout map with a position for all MEG and EEG channels.
Definition at line 200 of file channelinfomodel.h.
◆ m_mappedLayoutChNames
| QStringList DISPLIB::ChannelInfoModel::m_mappedLayoutChNames |
|
protected |
◆ m_pFiffInfo
The documentation for this class was generated from the following files: