Medical Imaging Interaction Toolkit  2018.4.99-b5518f0d
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 __I_DATA_STORAGE_INSPECTOR_PROVIDER_H
14 #define __I_DATA_STORAGE_INSPECTOR_PROVIDER_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 /* __I_DATA_STORAGE_INSPECTOR_PROVIDER_H */
#define MITK_DECLARE_SERVICE_INTERFACE(IFace, IId)
DataCollection - Class to facilitate loading/accessing structured data.
#define MITKQTWIDGETS_EXPORT
The common interface for all DataStorage inspector providers.
This abstract class is a convenient base class for easy implementation of widgets that offer a specif...