MNE-CPP
0.1.9
A Framework for Electrophysiology
|
Provides a generic brain tree item. More...
#include <metatreeitem.h>
Public Types | |
typedef QSharedPointer< MetaTreeItem > | SPtr |
typedef QSharedPointer< const MetaTreeItem > | ConstSPtr |
Signals | |
void | dataChanged (const QVariant &data) |
Signals inherited from DISP3DLIB::AbstractTreeItem | |
void | checkStateChanged (const Qt::CheckState &checkState) |
Public Member Functions | |
MetaTreeItem (int iType=MetaTreeItemTypes::UnknownItem, const QString &text="") | |
void | setData (const QVariant &value, int role=Qt::UserRole+1) |
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 | |
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 brain tree item.
MetaTreeItem provides a generic brain tree item to hold meta information about other brain tree items.
Definition at line 74 of file metatreeitem.h.
typedef QSharedPointer<const MetaTreeItem> DISP3DLIB::MetaTreeItem::ConstSPtr |
Const shared pointer type for MetaTreeItem class.
Definition at line 80 of file metatreeitem.h.
typedef QSharedPointer<MetaTreeItem> DISP3DLIB::MetaTreeItem::SPtr |
Shared pointer type for MetaTreeItem class.
Definition at line 79 of file metatreeitem.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 63 of file metatreeitem.cpp.
|
signal |
Emit this signal whenever the data of this item changed.
|
protectedvirtual |
AbstractTreeItem functions
Reimplemented from DISP3DLIB::AbstractTreeItem.
Definition at line 71 of file metatreeitem.cpp.
void MetaTreeItem::setData | ( | const QVariant & | value, |
int | role = Qt::UserRole + 1 |
||
) |
AbstractTreeItem functions
Definition at line 163 of file metatreeitem.cpp.