Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
mitkIDataStorageInspectorProvider.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 mitkIDataStorageInspectorProvider_h
14 #define mitkIDataStorageInspectorProvider_h
15 
16 #include <mitkServiceInterface.h>
17 
18 #include <MitkQtWidgetsExports.h>
19 
20 #include <QIcon>
21 
23 
24 namespace mitk
25 {
40  {
42 
46  virtual QmitkAbstractDataStorageInspector* CreateInspector() const = 0;
47 
48  using InspectorIDType = std::string;
50  virtual InspectorIDType GetInspectorID() const = 0;
52  virtual std::string GetInspectorDisplayName() const = 0;
54  virtual std::string GetInspectorDescription() const = 0;
57  virtual QIcon GetInspectorIcon() const = 0;
58 
66  static std::string PROP_INSPECTOR_ID();
67  };
68 
69 } // namespace mitk
70 
71 MITK_DECLARE_SERVICE_INTERFACE(mitk::IDataStorageInspectorProvider, "org.mitk.IDataStorageInspectorProvider")
72 
73 #endif
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
mitkServiceInterface.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
MitkQtWidgetsExports.h
QmitkAbstractDataStorageInspector
This abstract class is a convenient base class for easy implementation of widgets that offer a specif...
Definition: QmitkAbstractDataStorageInspector.h:32
mitk::IDataStorageInspectorProvider::InspectorIDType
std::string InspectorIDType
Definition: mitkIDataStorageInspectorProvider.h:48
mitk::IDataStorageInspectorProvider
The common interface for all DataStorage inspector providers.
Definition: mitkIDataStorageInspectorProvider.h:39
MITK_DECLARE_SERVICE_INTERFACE
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
Definition: mitkServiceInterface.h:26