Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
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  virtual QmitkLevelWindowWidget* GetLevelWindowWidget() const override { return nullptr; }
37 
38  void OnLayoutSet(int row, int column) override;
40 
41 private:
45  void SetFocus() override;
49  void CreateQtPartControl(QWidget* parent) override;
53  void OnPreferencesChanged(const berry::IBerryPreferences* preferences) override;
54 
55  struct Impl;
56  std::unique_ptr<Impl> m_Impl;
57 
58 };
59 
60 #endif // QMITKMXNMULTIWIDGETEDITOR_H
virtual QmitkLevelWindowWidget * GetLevelWindowWidget() const override
virtual void OnInteractionSchemeChanged(mitk::InteractionSchemeSwitcher::InteractionScheme scheme)
void SetFocus() override=0
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 &#39;SetLa...
virtual void CreateQtPartControl(QWidget *parent)=0
The &#39;QmitkMxNMultiWidget&#39; is a &#39;QmitkAbstractMultiWidget&#39; that is used to display multiple render win...