MNE-CPP  0.1.9
A Framework for Electrophysiology
Public Types | Public Member Functions | Protected Member Functions | List of all members
DISP3DLIB::SubjectTreeItem Class Reference

Provides a generic SubjectTreeItem. More...

#include <subjecttreeitem.h>

Public Types

typedef QSharedPointer< SubjectTreeItemSPtr
 
typedef QSharedPointer< const SubjectTreeItemConstSPtr
 

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)
 
AbstractTreeItemoperator<< (AbstractTreeItem *newItem)
 
AbstractTreeItemoperator<< (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
 

Detailed Description

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.

Inheritance diagram for DISP3DLIB::SubjectTreeItem:
Inheritance graph

Member Typedef Documentation

◆ ConstSPtr

Const shared pointer type for SubjectTreeItem class.

Definition at line 83 of file subjecttreeitem.h.

◆ SPtr

Shared pointer type for SubjectTreeItem class.

Definition at line 82 of file subjecttreeitem.h.

Constructor & Destructor Documentation

◆ SubjectTreeItem()

SubjectTreeItem::SubjectTreeItem ( int  iType = Data3DTreeModelItemTypes::SubjectItem,
const QString &  text = "Subject" 
)
explicit

Default constructor.

Parameters
[in]iTypeThe type of the item. See types.h for declaration and definition.
[in]textThe 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.

Member Function Documentation

◆ initItem()

void SubjectTreeItem::initItem ( )
protectedvirtual

AbstractTreeItem functions

Reimplemented from DISP3DLIB::AbstractTreeItem.

Definition at line 76 of file subjecttreeitem.cpp.


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