Synchronizes the magic color #00ff00 of the given SVG icon to the mitk::DataNode color.
More...
#include <QmitkColoredNodeDescriptor.h>
|
| QmitkColoredNodeDescriptor (const QString &className, const QString &pathToIcon, mitk::NodePredicateBase *predicate, QObject *parent=nullptr) |
|
| ~QmitkColoredNodeDescriptor () override |
|
QIcon | GetIcon (const mitk::DataNode *node) const override |
|
| QmitkNodeDescriptor (const QString &_ClassName, const QString &_PathToIcon, mitk::NodePredicateBase *_Predicate, QObject *parent) |
|
| QmitkNodeDescriptor (const QString &_ClassName, const QIcon &_Icon, mitk::NodePredicateBase *_Predicate, QObject *parent) |
|
| ~QmitkNodeDescriptor () override |
|
virtual QString | GetNameOfClass () const |
|
virtual QAction * | GetSeparator () const |
|
virtual bool | CheckNode (const mitk::DataNode *node) const |
|
virtual void | AddAction (QAction *action, bool isBatchAction=true) |
|
virtual void | RemoveAction (QAction *_Action) |
|
virtual QList< QAction * > | GetActions () const |
|
virtual QList< QAction * > | GetBatchActions () const |
|
Synchronizes the magic color #00ff00 of the given SVG icon to the mitk::DataNode color.
- See also
- QmitkNodeDescriptorManager
Definition at line 25 of file QmitkColoredNodeDescriptor.h.
◆ QmitkColoredNodeDescriptor()
QmitkColoredNodeDescriptor::QmitkColoredNodeDescriptor |
( |
const QString & |
className, |
|
|
const QString & |
pathToIcon, |
|
|
mitk::NodePredicateBase * |
predicate, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ ~QmitkColoredNodeDescriptor()
QmitkColoredNodeDescriptor::~QmitkColoredNodeDescriptor |
( |
| ) |
|
|
override |
◆ GetIcon()
QIcon QmitkColoredNodeDescriptor::GetIcon |
( |
const mitk::DataNode * |
node | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following file: