Medical Imaging Interaction Toolkit
2023.04.00
Medical Imaging Interaction Toolkit
berryFileEditorInput.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
14
#ifndef BERRYFILEEDITORINPUT_H_
15
#define BERRYFILEEDITORINPUT_H_
16
17
#include "
berryIPathEditorInput.h
"
18
19
#include <
org_blueberry_ui_qt_Export.h
>
20
21
#include <QFileInfo>
22
23
namespace
berry
{
24
25
class
BERRY_UI_QT
FileEditorInput
:
public
IPathEditorInput
26
{
27
28
public
:
29
30
berryObjectMacro
(
FileEditorInput
);
31
32
FileEditorInput
(
const
QString& path);
33
34
QString GetPath()
const override
;
35
36
bool
Exists()
const override
;
37
38
QString GetName()
const override
;
39
40
QString GetToolTipText()
const override
;
41
42
QIcon GetIcon()
const override
;
43
44
const
IPersistableElement
* GetPersistable()
const override
;
45
46
Object
* GetAdapter(
const
QString &adapterType)
const override
;
47
48
bool
operator==
(
const
Object
* o)
const override
;
49
50
private
:
51
52
QFileInfo m_Path;
53
};
54
55
}
56
57
#endif
/* BERRYFILEEDITORINPUT_H_ */
berry::IPathEditorInput
Definition:
berryIPathEditorInput.h:43
org_blueberry_ui_qt_Export.h
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:72
berry::FileEditorInput
Definition:
berryFileEditorInput.h:25
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
berryIPathEditorInput.h
berry::IPersistableElement
Definition:
berryIPersistableElement.h:45
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:33
berry
Definition:
QmitkPropertyItemModel.h:24
src
MITK
Plugins
org.blueberry.ui.qt
src
berryFileEditorInput.h
Generated on Wed May 17 2023 16:26:01 for Medical Imaging Interaction Toolkit by
1.8.17