MNE-CPP 0.1.9
A Framework for Electrophysiology
Loading...
Searching...
No Matches
metatreeitem.h
Go to the documentation of this file.
1//=============================================================================================================
35#ifndef DISP3DLIB_METATREEITEM_H
36#define DISP3DLIB_METATREEITEM_H
37
38//=============================================================================================================
39// INCLUDES
40//=============================================================================================================
41
42#include "../../../../disp3D_global.h"
43#include "abstracttreeitem.h"
44
45//=============================================================================================================
46// QT INCLUDES
47//=============================================================================================================
48
49//=============================================================================================================
50// EIGEN INCLUDES
51//=============================================================================================================
52
53//=============================================================================================================
54// FORWARD DECLARATIONS
55//=============================================================================================================
56
57//=============================================================================================================
58// DEFINE NAMESPACE DISP3DLIB
59//=============================================================================================================
60
61namespace DISP3DLIB
62{
63
64//=============================================================================================================
65// DISP3DLIB FORWARD DECLARATIONS
66//=============================================================================================================
67
68//=============================================================================================================
75{
76 Q_OBJECT
77
78public:
79 typedef QSharedPointer<MetaTreeItem> SPtr;
80 typedef QSharedPointer<const MetaTreeItem> ConstSPtr;
82 //=========================================================================================================
89 explicit MetaTreeItem(int iType = MetaTreeItemTypes::UnknownItem, const QString& text = "");
90
91 //=========================================================================================================
95 void setData(const QVariant& value, int role = Qt::UserRole + 1);
96
97protected:
98 //=========================================================================================================
102 void initItem();
103
104signals:
105 //=========================================================================================================
109 void dataChanged(const QVariant& data);
110};
111} //NAMESPACE DISP3DLIB
112
113#endif // DISP3DLIB_METATREEITEM_H
#define DISP3DSHARED_EXPORT
AbstractTreeItem class declaration.
Provides the basic tree item.
Provides a generic brain tree item.
QSharedPointer< MetaTreeItem > SPtr
QSharedPointer< const MetaTreeItem > ConstSPtr
void dataChanged(const QVariant &data)