Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkAbstractMultiWidgetEditor Class Referenceabstract

#include <QmitkAbstractMultiWidgetEditor.h>

Inheritance diagram for QmitkAbstractMultiWidgetEditor:
Collaboration diagram for QmitkAbstractMultiWidgetEditor:

Public Slots

virtual void OnLayoutSet (int row, int column)
 A slot that can be called if the layout has been changed. This function will call the function 'SetLayout' of the multi widget where custom behavior can be implemented. Finally 'FirePropertyChange' is called to inform the workbench about an input change. More...
 
virtual void OnSynchronize (bool synchronized)
 
virtual void OnInteractionSchemeChanged (mitk::InteractionSchemeSwitcher::InteractionScheme scheme)
 

Public Member Functions

 berryObjectMacro (QmitkAbstractMultiWidgetEditor, QmitkAbstractRenderEditor, IPartListener)
 
 QmitkAbstractMultiWidgetEditor ()
 
 ~QmitkAbstractMultiWidgetEditor () override
 
QmitkRenderWindowGetActiveQmitkRenderWindow () const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
QHash< QString, QmitkRenderWindow * > GetQmitkRenderWindows () const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
QmitkRenderWindowGetQmitkRenderWindow (const QString &id) const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
QmitkRenderWindowGetQmitkRenderWindow (const mitk::AnatomicalPlane &orientation) const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
void InitializeViews (const mitk::TimeGeometry *geometry, bool resetCamera) override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
void SetInteractionReferenceGeometry (const mitk::TimeGeometry *referenceGeometry) override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
bool HasCoupledRenderWindows () const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
mitk::Point3D GetSelectedPosition (const QString &id=QString()) const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
void SetSelectedPosition (const mitk::Point3D &pos, const QString &id=QString()) override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
void EnableDecorations (bool enable, const QStringList &decorations=QStringList()) override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
bool IsDecorationEnabled (const QString &decoration) const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
QStringList GetDecorations () const override
 Overridden from QmitkAbstractRenderEditor : IRenderWindowPart. More...
 
virtual QmitkRenderWindowGetQmitkRenderWindowByIndex (int index) const
 Retrieve a QmitkRenderWindow by its index. More...
 
virtual QmitkRenderWindowGetQmitkRenderWindowByIndex (int row, int column) const
 Retrieve a QmitkRenderWindow by the row and column position. More...
 
virtual void SetMultiWidget (QmitkAbstractMultiWidget *multiWidget)
 Set the current multi widget of this editor. More...
 
virtual QmitkAbstractMultiWidgetGetMultiWidget () const
 Return the current multi widget of this editor. More...
 
virtual int GetRowCount () const
 Return the number of rows of the underlying multi widget. More...
 
virtual int GetColumnCount () const
 Return the number of columns of the underlying multi widget. More...
 
virtual QmitkLevelWindowWidgetGetLevelWindowWidget () const =0
 
- Public Member Functions inherited from QmitkAbstractRenderEditor
 berryObjectMacro (QmitkAbstractRenderEditor, QtEditorPart, mitk::IRenderWindowPart)
 
mitk::TimePointType GetSelectedTimePoint (const QString &id=QString()) const override
 
 QmitkAbstractRenderEditor ()
 
 ~QmitkAbstractRenderEditor () override
 
- Public Member Functions inherited from berry::QtEditorPart
 berryObjectMacro (QtEditorPart, EditorPart)
 
void CreatePartControl (QWidget *parent) override
 
- Public Member Functions inherited from berry::EditorPart
 berryObjectMacro (EditorPart, WorkbenchPart, IEditorPart)
 
IEditorInput::Pointer GetEditorInput () const override
 
IEditorSite::Pointer GetEditorSite () const override
 
QString GetTitleToolTip () const override
 
bool IsSaveOnCloseNeeded () const override
 
- Public Member Functions inherited from berry::WorkbenchPart
 berryObjectMacro (WorkbenchPart, QObject, IWorkbenchPart, IExecutableExtension)
 
 ~WorkbenchPart () override
 
void AddPropertyListener (IPropertyChangeListener *l) override
 
void RemovePropertyListener (IPropertyChangeListener *l) override
 
void SetPartProperty (const QString &key, const QString &value) override
 
QString GetPartProperty (const QString &key) const override
 
const QHash< QString, QString > & GetPartProperties () const override
 
void SetInitializationData (const IConfigurationElement::Pointer &cfig, const QString &propertyName, const Object::Pointer &data) override
 
void SetFocus () override=0
 
IWorkbenchPartSite::Pointer GetSite () const override
 
QString GetPartName () const override
 
QString GetContentDescription () const override
 
QIcon GetTitleImage () const override
 
QString GetTitleToolTip () const override
 
- Public Member Functions inherited from berry::IWorkbenchPart
 berryObjectMacro (berry::IWorkbenchPart, Object)
 
 ~IWorkbenchPart () override
 
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
 
virtual Reflection::TypeInfo GetTypeInfo () const
 
virtual QList< Reflection::TypeInfoGetSuperclasses () const
 
virtual void Delete ()
 
QDebug Print (QDebug os, Indent Indent=0) const
 
virtual QString ToString () const
 
virtual uint HashCode () const
 
virtual bool operator< (const Object *) const
 
void Register () const
 
void UnRegister (bool del=true) const
 
int GetReferenceCount () const
 
void SetReferenceCount (int)
 
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const
 
virtual bool operator== (const Object *) const
 
- Public Member Functions inherited from berry::IExecutableExtension
virtual ~IExecutableExtension ()
 
virtual void SetInitializationData (const SmartPointer< IConfigurationElement > &config, const QString &propertyName, const Object::Pointer &data)=0
 
- Public Member Functions inherited from berry::IEditorPart
 berryObjectMacro (berry::IEditorPart, IWorkbenchPart, ISaveablePart)
 
 ~IEditorPart () override
 
virtual void Init (SmartPointer< IEditorSite > site, SmartPointer< IEditorInput > input)=0
 
- Public Member Functions inherited from berry::ISaveablePart
 berryObjectMacro (berry::ISaveablePart)
 
- Public Member Functions inherited from mitk::IRenderWindowPart
virtual ~IRenderWindowPart ()
 
- Public Member Functions inherited from berry::IPartListener
virtual ~IPartListener ()
 
virtual Events::Types GetPartEventTypes () const =0
 
virtual void PartActivated (const IWorkbenchPartReference::Pointer &)
 
virtual void PartBroughtToTop (const IWorkbenchPartReference::Pointer &)
 
virtual void PartClosed (const IWorkbenchPartReference::Pointer &)
 
virtual void PartDeactivated (const IWorkbenchPartReference::Pointer &)
 
virtual void PartOpened (const IWorkbenchPartReference::Pointer &)
 
virtual void PartHidden (const IWorkbenchPartReference::Pointer &)
 
virtual void PartVisible (const IWorkbenchPartReference::Pointer &)
 
virtual void PartInputChanged (const IWorkbenchPartReference::Pointer &)
 

Static Public Attributes

static const QString EDITOR_ID
 
- Static Public Attributes inherited from berry::ISaveablePart
static const int PROP_DIRTY
 
- Static Public Attributes inherited from mitk::IRenderWindowPart
static const QString DECORATION_BORDER
 
static const QString DECORATION_LOGO
 
static const QString DECORATION_MENU
 
static const QString DECORATION_BACKGROUND
 
static const QString DECORATION_CORNER_ANNOTATION
 

Protected Member Functions

QmitkMultiWidgetDecorationManagerGetDecorationManager () const
 
- Protected Member Functions inherited from QmitkAbstractRenderEditor
void Init (berry::IEditorSite::Pointer site, berry::IEditorInput::Pointer input) override
 
virtual mitk::IDataStorageReference::Pointer GetDataStorageReference () const
 
virtual mitk::DataStorage::Pointer GetDataStorage () const
 
virtual mitk::IPreferencesGetPreferences () const
 
mitk::IRenderingManagerGetRenderingManager () const override
 
void RequestUpdate (mitk::RenderingManager::RequestType requestType=mitk::RenderingManager::REQUEST_UPDATE_ALL) override
 
void ForceImmediateUpdate (mitk::RenderingManager::RequestType requestType=mitk::RenderingManager::REQUEST_UPDATE_ALL) override
 
mitk::TimeNavigationControllerGetTimeNavigationController () const override
 
void DoSave () override
 
void DoSaveAs () override
 
bool IsDirty () const override
 
bool IsSaveAsAllowed () const override
 
- Protected Member Functions inherited from berry::QtEditorPart
virtual void CreateQtPartControl (QWidget *parent)=0
 
- Protected Member Functions inherited from berry::EditorPart
 EditorPart ()
 
virtual void SetInput (IEditorInput::Pointer input)
 
virtual void SetInputWithNotify (IEditorInput::Pointer input)
 
void SetContentDescription (const QString &description) override
 
void SetPartName (const QString &partName) override
 
void CheckSite (IWorkbenchPartSite::Pointer site) override
 
- Protected Member Functions inherited from berry::WorkbenchPart
 WorkbenchPart ()
 
IConfigurationElement::Pointer GetConfigurationElement () const
 
void SetSite (IWorkbenchPartSite::Pointer site)
 
virtual void SetTitleImage (const QIcon &titleImage)
 
virtual void SetTitleToolTip (const QString &toolTip)
 
void FirePropertyChanged (const QString &key, const QString &oldValue, const QString &newValue)
 
void FirePropertyChange (int propertyId)
 
- Protected Member Functions inherited from berry::Object
 Object ()
 
virtual ~Object ()
 
virtual QDebug PrintSelf (QDebug os, Indent indent) const
 
virtual QDebug PrintHeader (QDebug os, Indent indent) const
 
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
 

Additional Inherited Members

- Public Types inherited from berry::Object
typedef Object Self
 
typedef berry::SmartPointer< SelfPointer
 
typedef berry::SmartPointer< const SelfConstPointer
 
typedef berry::WeakPointer< SelfWeakPtr
 
typedef berry::WeakPointer< const SelfConstWeakPtr
 
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
 
static Reflection::TypeInfo GetStaticTypeInfo ()
 
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
 
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
 
QMutex m_ReferenceCountLock
 

Detailed Description

Definition at line 34 of file QmitkAbstractMultiWidgetEditor.h.

Constructor & Destructor Documentation

◆ QmitkAbstractMultiWidgetEditor()

QmitkAbstractMultiWidgetEditor::QmitkAbstractMultiWidgetEditor ( )

◆ ~QmitkAbstractMultiWidgetEditor()

QmitkAbstractMultiWidgetEditor::~QmitkAbstractMultiWidgetEditor ( )
override

Member Function Documentation

◆ berryObjectMacro()

QmitkAbstractMultiWidgetEditor::berryObjectMacro ( QmitkAbstractMultiWidgetEditor  ,
QmitkAbstractRenderEditor  ,
IPartListener   
)

◆ EnableDecorations()

void QmitkAbstractMultiWidgetEditor::EnableDecorations ( bool  enable,
const QStringList &  decorations = QStringList() 
)
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ GetActiveQmitkRenderWindow()

QmitkRenderWindow* QmitkAbstractMultiWidgetEditor::GetActiveQmitkRenderWindow ( ) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ GetColumnCount()

virtual int QmitkAbstractMultiWidgetEditor::GetColumnCount ( ) const
virtual

Return the number of columns of the underlying multi widget.

◆ GetDecorationManager()

QmitkMultiWidgetDecorationManager* QmitkAbstractMultiWidgetEditor::GetDecorationManager ( ) const
protected

◆ GetDecorations()

QStringList QmitkAbstractMultiWidgetEditor::GetDecorations ( ) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ GetLevelWindowWidget()

virtual QmitkLevelWindowWidget* QmitkAbstractMultiWidgetEditor::GetLevelWindowWidget ( ) const
pure virtual

◆ GetMultiWidget()

virtual QmitkAbstractMultiWidget* QmitkAbstractMultiWidgetEditor::GetMultiWidget ( ) const
virtual

Return the current multi widget of this editor.

◆ GetQmitkRenderWindow() [1/2]

QmitkRenderWindow* QmitkAbstractMultiWidgetEditor::GetQmitkRenderWindow ( const mitk::AnatomicalPlane orientation) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ GetQmitkRenderWindow() [2/2]

QmitkRenderWindow* QmitkAbstractMultiWidgetEditor::GetQmitkRenderWindow ( const QString &  id) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ GetQmitkRenderWindowByIndex() [1/2]

virtual QmitkRenderWindow* QmitkAbstractMultiWidgetEditor::GetQmitkRenderWindowByIndex ( int  index) const
virtual

Retrieve a QmitkRenderWindow by its index.

◆ GetQmitkRenderWindowByIndex() [2/2]

virtual QmitkRenderWindow* QmitkAbstractMultiWidgetEditor::GetQmitkRenderWindowByIndex ( int  row,
int  column 
) const
virtual

Retrieve a QmitkRenderWindow by the row and column position.

◆ GetQmitkRenderWindows()

QHash<QString, QmitkRenderWindow*> QmitkAbstractMultiWidgetEditor::GetQmitkRenderWindows ( ) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ GetRowCount()

virtual int QmitkAbstractMultiWidgetEditor::GetRowCount ( ) const
virtual

Return the number of rows of the underlying multi widget.

◆ GetSelectedPosition()

mitk::Point3D QmitkAbstractMultiWidgetEditor::GetSelectedPosition ( const QString &  id = QString()) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ HasCoupledRenderWindows()

bool QmitkAbstractMultiWidgetEditor::HasCoupledRenderWindows ( ) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ InitializeViews()

void QmitkAbstractMultiWidgetEditor::InitializeViews ( const mitk::TimeGeometry geometry,
bool  resetCamera 
)
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ IsDecorationEnabled()

bool QmitkAbstractMultiWidgetEditor::IsDecorationEnabled ( const QString &  decoration) const
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ OnInteractionSchemeChanged

virtual void QmitkAbstractMultiWidgetEditor::OnInteractionSchemeChanged ( mitk::InteractionSchemeSwitcher::InteractionScheme  scheme)
virtualslot

◆ OnLayoutSet

virtual void QmitkAbstractMultiWidgetEditor::OnLayoutSet ( int  row,
int  column 
)
virtualslot

A slot that can be called if the layout has been changed. This function will call the function 'SetLayout' of the multi widget where custom behavior can be implemented. Finally 'FirePropertyChange' is called to inform the workbench about an input change.

Reimplemented in QmitkMxNMultiWidgetEditor.

◆ OnSynchronize

virtual void QmitkAbstractMultiWidgetEditor::OnSynchronize ( bool  synchronized)
virtualslot

◆ SetInteractionReferenceGeometry()

void QmitkAbstractMultiWidgetEditor::SetInteractionReferenceGeometry ( const mitk::TimeGeometry referenceGeometry)
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

◆ SetMultiWidget()

virtual void QmitkAbstractMultiWidgetEditor::SetMultiWidget ( QmitkAbstractMultiWidget multiWidget)
virtual

Set the current multi widget of this editor.

◆ SetSelectedPosition()

void QmitkAbstractMultiWidgetEditor::SetSelectedPosition ( const mitk::Point3D pos,
const QString &  id = QString() 
)
overridevirtual

Overridden from QmitkAbstractRenderEditor : IRenderWindowPart.

Implements mitk::IRenderWindowPart.

Member Data Documentation

◆ EDITOR_ID

const QString QmitkAbstractMultiWidgetEditor::EDITOR_ID
static

Definition at line 42 of file QmitkAbstractMultiWidgetEditor.h.


The documentation for this class was generated from the following file: