Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkMxNMultiWidgetEditor.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef QmitkMxNMultiWidgetEditor_h
14 #define QmitkMxNMultiWidgetEditor_h
15 
17 
19 
20 // c++
21 #include <memory>
22 
24 
26 {
27  Q_OBJECT
28 
29 public:
30 
31  static const QString EDITOR_ID;
32 
34  ~QmitkMxNMultiWidgetEditor() override;
35 
36  QmitkLevelWindowWidget* GetLevelWindowWidget() const override { return nullptr; }
37 
41  berry::IPartListener::Events::Types GetPartEventTypes() const override;
45  void PartClosed(const berry::IWorkbenchPartReference::Pointer& partRef) override;
49  void PartOpened(const berry::IWorkbenchPartReference::Pointer& partRef) override;
53  void PartHidden(const berry::IWorkbenchPartReference::Pointer& partRef) override;
57  void PartVisible(const berry::IWorkbenchPartReference::Pointer& partRef) override;
58 
59  void OnLayoutSet(int row, int column) override;
61 
62 private Q_SLOTS:
63 
64  void OnLayoutChanged();
65 
66 private:
70  void SetFocus() override;
74  void CreateQtPartControl(QWidget* parent) override;
78  void OnPreferencesChanged(const mitk::IPreferences* preferences) override;
79 
80  struct Impl;
81  std::unique_ptr<Impl> m_Impl;
82 
83 };
84 
85 #endif
QmitkLevelWindowWidget
Definition: QmitkLevelWindowWidget.h:28
mitk::InteractionSchemeSwitcher::InteractionScheme
InteractionScheme
Definition: mitkInteractionSchemeSwitcher.h:114
berry::IPartListener::PartHidden
virtual void PartHidden(const IWorkbenchPartReference::Pointer &)
Definition: berryIPartListener.h:127
MXNMULTIWIDGETEDITOR_EXPORT
#define MXNMULTIWIDGETEDITOR_EXPORT
Definition: org_mitk_gui_qt_mxnmultiwidgeteditor_Export.h:26
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
QmitkMxNMultiWidgetEditor
Definition: QmitkMxNMultiWidgetEditor.h:25
QmitkAbstractMultiWidgetEditor::OnInteractionSchemeChanged
virtual void OnInteractionSchemeChanged(mitk::InteractionSchemeSwitcher::InteractionScheme scheme)
berry::IPartListener::PartOpened
virtual void PartOpened(const IWorkbenchPartReference::Pointer &)
Definition: berryIPartListener.h:122
berry::IPartListener::PartVisible
virtual void PartVisible(const IWorkbenchPartReference::Pointer &)
Definition: berryIPartListener.h:132
berry::QtEditorPart::CreateQtPartControl
virtual void CreateQtPartControl(QWidget *parent)=0
berry::IPartListener::PartClosed
virtual void PartClosed(const IWorkbenchPartReference::Pointer &)
Definition: berryIPartListener.h:105
QmitkMxNMultiWidget
The 'QmitkMxNMultiWidget' is a 'QmitkAbstractMultiWidget' that is used to display multiple render win...
Definition: QmitkMxNMultiWidget.h:33
berry::IPartListener::GetPartEventTypes
virtual Events::Types GetPartEventTypes() const =0
QmitkAbstractMultiWidgetEditor.h
QmitkMxNMultiWidgetEditor::GetLevelWindowWidget
QmitkLevelWindowWidget * GetLevelWindowWidget() const override
Definition: QmitkMxNMultiWidgetEditor.h:36
mitk::IPreferences
Interface to application preferences.
Definition: mitkIPreferences.h:50
QmitkMxNMultiWidgetEditor::EDITOR_ID
static const QString EDITOR_ID
Definition: QmitkMxNMultiWidgetEditor.h:31
berry::WorkbenchPart::SetFocus
void SetFocus() override=0
QmitkAbstractMultiWidgetEditor::OnLayoutSet
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 'SetLa...
QmitkAbstractMultiWidgetEditor
Definition: QmitkAbstractMultiWidgetEditor.h:34
org_mitk_gui_qt_mxnmultiwidgeteditor_Export.h