Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
berryAbstractUICTKPlugin.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 BERRYABSTRACTUICTKPLUGIN_H_
14 #define BERRYABSTRACTUICTKPLUGIN_H_
15 
17 
18 #include <berryPlugin.h>
19 
20 namespace mitk
21 {
22  class IPreferencesService;
23  class IPreferences;
24 }
25 
26 namespace berry {
27 
28 template<class T> class SmartPointer;
29 
30 struct IWorkbench;
31 
73 {
74  Q_OBJECT
75 
76 private:
77 
82  static const QString FN_DIALOG_SETTINGS;
83 
84 public:
85 
94 
103  mitk::IPreferencesService* GetPreferencesService() const;
104 
105  mitk::IPreferences* GetPreferences() const;
106 
115  IWorkbench* GetWorkbench();
116 
117 public:
118 
126  void start(ctkPluginContext* context) override;
127 
136  void stop(ctkPluginContext* context) override;
137 
158  static QIcon ImageDescriptorFromPlugin(
159  const QString& pluginId, const QString& imageFilePath);
160 
161  static QIcon GetMissingIcon();
162 };
163 
164 } // namespace berry
165 
166 #endif /*BERRYABSTRACTUICTKPLUGIN_H_*/
org_blueberry_ui_qt_Export.h
berryPlugin.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
berry::Plugin
Definition: berryPlugin.h:24
BERRY_UI_QT
#define BERRY_UI_QT
Definition: org_blueberry_ui_qt_Export.h:26
berry::IWorkbench
Definition: berryIWorkbench.h:80
mitk::IPreferences
Interface to application preferences.
Definition: mitkIPreferences.h:50
mitk::IPreferencesService
A service for persistent application preferences.
Definition: mitkIPreferencesService.h:33
berry
Definition: QmitkPropertyItemModel.h:24
berry::AbstractUICTKPlugin
Definition: berryAbstractUICTKPlugin.h:72