Medical Imaging Interaction Toolkit  2025.12.02
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 
104 
106 
116 
117 public:
118 
126  void start(ctkPluginContext* context) override;
127 
136  void stop(ctkPluginContext* context) override;
137 
159  const QString& pluginId, const QString& imageFilePath);
160 
161  static QIcon GetMissingIcon();
162 };
163 
164 } // namespace berry
165 
166 #endif /*BERRYABSTRACTUICTKPLUGIN_H_*/
void start(ctkPluginContext *context) override
IWorkbench * GetWorkbench()
static QIcon GetMissingIcon()
void stop(ctkPluginContext *context) override
mitk::IPreferences * GetPreferences() const
mitk::IPreferencesService * GetPreferencesService() const
static QIcon ImageDescriptorFromPlugin(const QString &pluginId, const QString &imageFilePath)
A service for persistent application preferences.
Interface to application preferences.
Find image slices visible on a given plane.
#define BERRY_UI_QT