Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkViewNavigatorView.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 QmitkViewNavigatorView_h
14 #define QmitkViewNavigatorView_h
15 
16 #include <berryIPartListener.h>
17 #include <QmitkAbstractView.h>
18 
19 class QmitkViewModel;
21 
22 namespace berry
23 {
24  struct IPartService;
25  struct IWorkbenchPage;
26 }
27 
28 namespace Ui
29 {
31 }
32 
34 {
35  Q_OBJECT
36 
37 public:
39  ~QmitkViewNavigatorView() override;
40 
41 private:
42  void CreateQtPartControl(QWidget* parent) override;
43  void SetFocus() override;
44  mitk::IPreferences* GetPreferences() const override;
45  void OnPreferencesChanged(const mitk::IPreferences* prefs) override;
46 
47  Events::Types GetPartEventTypes() const override;
48  void PartOpened(const berry::IWorkbenchPartReference::Pointer& partRef) override;
49  void PartClosed(const berry::IWorkbenchPartReference::Pointer& partRef) override;
50 
51  berry::IWorkbenchPage* GetActivePage() const;
52  berry::IPartService* GetPartService() const;
53 
54  void OnFilterTextChanged(const QString& filter);
55  void OnItemDoubleClicked(const QModelIndex& index);
56 
57  Ui::QmitkViewNavigatorView* m_Ui;
58  QmitkViewModel* m_Model;
59  QmitkViewProxyModel* m_ProxyModel;
60 };
61 
62 #endif
berryIPartListener.h
QmitkAbstractView.h
berry::SmartPointer
Implements transparent reference counting.
Definition: berryICommandCategoryListener.h:21
QmitkViewNavigatorView
Definition: QmitkViewNavigatorView.h:33
QmitkAbstractView
A convenient base class for MITK related BlueBerry Views.
Definition: QmitkAbstractView.h:89
QmitkViewProxyModel
Definition: QmitkViewProxyModel.h:18
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
QmitkViewNavigatorView::~QmitkViewNavigatorView
~QmitkViewNavigatorView() override
berry::IPartListener
Definition: berryIPartListener.h:34
berry::IPartService
Definition: berryIPartService.h:35
QmitkViewModel
Definition: QmitkViewModel.h:21
QmitkViewNavigatorView::QmitkViewNavigatorView
QmitkViewNavigatorView()
mitk::IPreferences
Interface to application preferences.
Definition: mitkIPreferences.h:50
berry::IWorkbenchPage
Definition: berryIWorkbenchPage.h:65
berry
Definition: QmitkPropertyItemModel.h:24