Decorator class for mitk::DataNode.
More...
#include <QmitkNodeDescriptor.h>
◆ QmitkNodeDescriptor() [1/2]
QmitkNodeDescriptor::QmitkNodeDescriptor |
( |
const QString & |
_ClassName, |
|
|
const QString & |
_PathToIcon, |
|
|
mitk::NodePredicateBase * |
_Predicate, |
|
|
QObject * |
parent |
|
) |
| |
◆ QmitkNodeDescriptor() [2/2]
QmitkNodeDescriptor::QmitkNodeDescriptor |
( |
const QString & |
_ClassName, |
|
|
const QIcon & |
_Icon, |
|
|
mitk::NodePredicateBase * |
_Predicate, |
|
|
QObject * |
parent |
|
) |
| |
◆ ~QmitkNodeDescriptor()
QmitkNodeDescriptor::~QmitkNodeDescriptor |
( |
| ) |
|
|
override |
◆ ActionDestroyed
void QmitkNodeDescriptor::ActionDestroyed |
( |
QObject * |
obj = nullptr | ) |
|
|
slot |
Called when an action was destroyed.
◆ AddAction()
virtual void QmitkNodeDescriptor::AddAction |
( |
QAction * |
action, |
|
|
bool |
isBatchAction = true |
|
) |
| |
|
virtual |
Create and return an action with this descriptor as owner
◆ CheckNode()
virtual bool QmitkNodeDescriptor::CheckNode |
( |
const mitk::DataNode * |
node | ) |
const |
|
virtual |
Check if this class describes the given node
◆ GetActions()
virtual QList<QAction *> QmitkNodeDescriptor::GetActions |
( |
| ) |
const |
|
virtual |
Get all actions associated with this class of nodes
◆ GetBatchActions()
virtual QList<QAction *> QmitkNodeDescriptor::GetBatchActions |
( |
| ) |
const |
|
virtual |
Get all actions for this descriptor class that can be executed on multiple nodes (no prior knowledge about the node is required)
◆ GetIcon()
virtual QIcon QmitkNodeDescriptor::GetIcon |
( |
const mitk::DataNode * |
node | ) |
const |
|
virtual |
◆ GetNameOfClass()
virtual QString QmitkNodeDescriptor::GetNameOfClass |
( |
| ) |
const |
|
virtual |
Returns a name for this class of DataNodes (e.g. "Image", "Image Mask", etc.)
◆ GetSeparator()
virtual QAction* QmitkNodeDescriptor::GetSeparator |
( |
| ) |
const |
|
virtual |
Returns an Icon for this class of DataNodes
◆ RemoveAction()
virtual void QmitkNodeDescriptor::RemoveAction |
( |
QAction * |
_Action | ) |
|
|
virtual |
Remove and delete (!) an action
◆ m_Actions
QList<QAction *> QmitkNodeDescriptor::m_Actions |
|
protected |
◆ m_BatchActions
QList<QAction *> QmitkNodeDescriptor::m_BatchActions |
|
protected |
◆ m_ClassName
QString QmitkNodeDescriptor::m_ClassName |
|
protected |
◆ m_Icon
QIcon QmitkNodeDescriptor::m_Icon |
|
protected |
◆ m_Predicate
◆ m_Separator
QAction* QmitkNodeDescriptor::m_Separator |
|
protected |
The documentation for this class was generated from the following file: