#include <abstracttreeitem.h>
Public Types | |
| enum | ItemRole { TypeRole = Qt::UserRole + 100 , VisibleRole , TransformRole , ColorRole , AlphaRole } |
| enum | ItemType { AbstractItem = 0 , SurfaceItem , BemItem , SensorItem , DipoleItem , SourceSpaceItem , DigitizerItem , NetworkItem } |
Public Member Functions | |
| AbstractTreeItem (const QString &text="", int type=AbstractItem) | |
| virtual | ~AbstractTreeItem ()=default |
| int | type () const override |
| void | setVisible (bool visible) |
| bool | isVisible () const |
| void | setTransform (const QMatrix4x4 &transform) |
| QMatrix4x4 | transform () const |
| void | setColor (const QColor &color) |
| QColor | color () const |
| void | setAlpha (float alpha) |
| float | alpha () const |
Protected Attributes | |
| int | m_type |
Definition at line 50 of file abstracttreeitem.h.

| Enumerator | |
|---|---|
| TypeRole | |
| VisibleRole | |
| TransformRole | |
| ColorRole | |
| AlphaRole | |
Definition at line 53 of file abstracttreeitem.h.
| Enumerator | |
|---|---|
| AbstractItem | |
| SurfaceItem | |
| BemItem | |
| SensorItem | |
| DipoleItem | |
| SourceSpaceItem | |
| DigitizerItem | |
| NetworkItem | |
Definition at line 61 of file abstracttreeitem.h.
|
explicit |
Definition at line 42 of file abstracttreeitem.cpp.
|
virtualdefault |
| float AbstractTreeItem::alpha | ( | ) | const |
Definition at line 93 of file abstracttreeitem.cpp.
| QColor AbstractTreeItem::color | ( | ) | const |
Definition at line 83 of file abstracttreeitem.cpp.
| bool AbstractTreeItem::isVisible | ( | ) | const |
Definition at line 63 of file abstracttreeitem.cpp.
| void AbstractTreeItem::setAlpha | ( | float | alpha | ) |
Definition at line 88 of file abstracttreeitem.cpp.
| void AbstractTreeItem::setColor | ( | const QColor & | color | ) |
Definition at line 78 of file abstracttreeitem.cpp.
| void AbstractTreeItem::setTransform | ( | const QMatrix4x4 & | transform | ) |
Definition at line 68 of file abstracttreeitem.cpp.
| void AbstractTreeItem::setVisible | ( | bool | visible | ) |
Definition at line 58 of file abstracttreeitem.cpp.
| QMatrix4x4 AbstractTreeItem::transform | ( | ) | const |
Definition at line 73 of file abstracttreeitem.cpp.
|
override |
Definition at line 53 of file abstracttreeitem.cpp.
|
protected |
Definition at line 91 of file abstracttreeitem.h.