MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Provides a generic SubjectTreeItem. More...
#include <subjecttreeitem.h>
Public Types | |
typedef QSharedPointer< SubjectTreeItem > | SPtr |
typedef QSharedPointer< const SubjectTreeItem > | ConstSPtr |
Public Member Functions | |
SubjectTreeItem (int iType=Data3DTreeModelItemTypes::SubjectItem, const QString &text="Subject") | |
Public Member Functions inherited from DISP3DLIB::AbstractTreeItem | |
AbstractTreeItem (int iType=Data3DTreeModelItemTypes::UnknownItem, const QString &text="") | |
void | setData (const QVariant &value, int role=Qt::UserRole+1) |
int | type () const |
QList< QStandardItem * > | findChildren (int type) |
QList< QStandardItem * > | findChildren (const QString &text) |
AbstractTreeItem & | operator<< (AbstractTreeItem *newItem) |
AbstractTreeItem & | operator<< (AbstractTreeItem &newItem) |
Protected Member Functions | |
void | initItem () |
Protected Member Functions inherited from DISP3DLIB::AbstractTreeItem | |
virtual void | onCheckStateChanged (const Qt::CheckState &checkState) |
Additional Inherited Members | |
Signals inherited from DISP3DLIB::AbstractTreeItem | |
void | checkStateChanged (const Qt::CheckState &checkState) |
Static Public Member Functions inherited from DISP3DLIB::AbstractTreeItem | |
static void | addItemWithDescription (QStandardItem *pItemParent, QStandardItem *pItemAdd) |
Protected Attributes inherited from DISP3DLIB::AbstractTreeItem | |
int | m_iType |
Qt::CheckState | m_checkStateOld |
Provides a generic SubjectTreeItem.
SubjectTreeItem provides a generic tree item to hold subject data (brain surface, annotation, BEM) from different sources (FreeSurfer, etc.).
Definition at line 77 of file subjecttreeitem.h.
typedef QSharedPointer<const SubjectTreeItem> DISP3DLIB::SubjectTreeItem::ConstSPtr |
Const shared pointer type for SubjectTreeItem class.
Definition at line 83 of file subjecttreeitem.h.
typedef QSharedPointer<SubjectTreeItem> DISP3DLIB::SubjectTreeItem::SPtr |
Shared pointer type for SubjectTreeItem class.
Definition at line 82 of file subjecttreeitem.h.
|
explicit |
Default constructor.
[in] | iType | The type of the item. See types.h for declaration and definition. |
[in] | text | The text of this item. This is also by default the displayed name of the item in a view. |
Definition at line 68 of file subjecttreeitem.cpp.
|
protectedvirtual |
AbstractTreeItem functions
Reimplemented from DISP3DLIB::AbstractTreeItem.
Definition at line 76 of file subjecttreeitem.cpp.