Medical Imaging Interaction Toolkit
2018.4.99-389bf124
Medical Imaging Interaction Toolkit
|
#include <QmitkDataNodeContextMenu.h>
Public Slots | |
void | OnContextMenuRequested (const QPoint &pos) |
void | OnExtensionPointActionTriggered (QAction *action) |
Public Member Functions | |
QmitkDataNodeContextMenu (berry::IWorkbenchPartSite::Pointer workbenchPartSite, QWidget *parent=nullptr) | |
~QmitkDataNodeContextMenu () override | |
void | SetDataStorage (mitk::DataStorage *dataStorage) |
void | SetBaseRenderer (mitk::BaseRenderer *baseRenderer) |
void | SetSurfaceDecimation (bool surfaceDecimation) |
void | SetSelectedNodes (const QList< mitk::DataNode::Pointer > &selectedNodes) |
Definition at line 45 of file QmitkDataNodeContextMenu.h.
QmitkDataNodeContextMenu::QmitkDataNodeContextMenu | ( | berry::IWorkbenchPartSite::Pointer | workbenchPartSite, |
QWidget * | parent = nullptr |
||
) |
Definition at line 28 of file QmitkDataNodeContextMenu.cpp.
|
override |
Definition at line 38 of file QmitkDataNodeContextMenu.cpp.
|
slot |
Definition at line 254 of file QmitkDataNodeContextMenu.cpp.
References berry::WeakPointer< TObjectType >::Expired(), berry::WeakPointer< TObjectType >::Lock(), and QmitkAbstractDataNodeAction::SetSelectedNodes().
|
slot |
Definition at line 288 of file QmitkDataNodeContextMenu.cpp.
References QmitkNodeDescriptor::AddAction(), mitk::WeakPointer< T >::IsExpired(), mitk::WeakPointer< T >::Lock(), MITK_WARN, and mitk::IContextMenuAction::SetDataStorage().
Referenced by SetSelectedNodes().
void QmitkDataNodeContextMenu::SetBaseRenderer | ( | mitk::BaseRenderer * | baseRenderer | ) |
Definition at line 57 of file QmitkDataNodeContextMenu.cpp.
References QmitkAbstractDataNodeAction::SetBaseRenderer().
void QmitkDataNodeContextMenu::SetDataStorage | ( | mitk::DataStorage * | dataStorage | ) |
Definition at line 44 of file QmitkDataNodeContextMenu.cpp.
References QmitkAbstractDataNodeAction::SetDataStorage().
Referenced by QmitkDataManagerView::CreateQtPartControl().
void QmitkDataNodeContextMenu::SetSelectedNodes | ( | const QList< mitk::DataNode::Pointer > & | selectedNodes | ) |
Definition at line 75 of file QmitkDataNodeContextMenu.cpp.
References QmitkNodeDescriptor::AddAction(), QmitkNodeDescriptorManager::GetDescriptor(), berry::Platform::GetExtensionRegistry(), QmitkNodeDescriptorManager::GetInstance(), berry::AbstractUICTKPlugin::ImageDescriptorFromPlugin(), berry::WeakPointer< TObjectType >::Lock(), MITK_WARN, and OnExtensionPointActionTriggered().
Referenced by QmitkDataManagerView::NodeSelectionChanged().
void QmitkDataNodeContextMenu::SetSurfaceDecimation | ( | bool | surfaceDecimation | ) |
Definition at line 70 of file QmitkDataNodeContextMenu.cpp.
Referenced by QmitkDataManagerView::CreateQtPartControl(), and QmitkDataManagerView::OnPreferencesChanged().