Medical Imaging Interaction Toolkit  2021.10.99-1c4db16f
Medical Imaging Interaction Toolkit
berryIEditorInput.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 BERRYIEDITORINPUT_H_
14 #define BERRYIEDITORINPUT_H_
15 
16 #include <berryMacros.h>
17 #include <berryObject.h>
18 
19 #include <berryIAdaptable.h>
20 
22 
23 namespace berry
24 {
25 
26 struct IPersistableElement;
27 
66 struct BERRY_UI_QT IEditorInput : public virtual Object, public virtual IAdaptable
67 {
69 
70  ~IEditorInput() override;
71 
83  virtual bool Exists() const = 0;
84 
91  virtual QIcon GetIcon() const = 0;
92 
101  virtual QString GetName() const = 0;
102 
110  virtual const IPersistableElement* GetPersistable() const = 0;
111 
121  virtual QString GetToolTipText() const = 0;
122 
127  bool operator==(const Object* o) const override = 0;
128 };
129 
130 }
131 
132 #endif /*BERRYIEDITORINPUT_H_*/
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
Light weight base class for most BlueBerry classes.
Definition: berryObject.h:72
#define berryObjectMacro(...)
Definition: berryMacros.h:33
#define BERRY_UI_QT