Medical Imaging Interaction Toolkit
2025.12.02
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_ */
berryIPathEditorInput.h
berry::FileEditorInput
Definition:
berryFileEditorInput.h:26
berry::FileEditorInput::Exists
bool Exists() const override
berry::FileEditorInput::GetPath
QString GetPath() const override
berry::FileEditorInput::GetToolTipText
QString GetToolTipText() const override
berry::FileEditorInput::GetIcon
QIcon GetIcon() const override
berry::FileEditorInput::berryObjectMacro
berryObjectMacro(FileEditorInput)
berry::FileEditorInput::GetPersistable
const IPersistableElement * GetPersistable() const override
berry::FileEditorInput::GetAdapter
Object * GetAdapter(const QString &adapterType) const override
berry::FileEditorInput::GetName
QString GetName() const override
berry::FileEditorInput::FileEditorInput
FileEditorInput(const QString &path)
berry::FileEditorInput::operator==
bool operator==(const Object *o) const override
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:73
berry
Definition:
QmitkPropertyItemModel.h:25
org_blueberry_ui_qt_Export.h
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:26
berry::IPathEditorInput
Definition:
berryIPathEditorInput.h:43
berry::IPersistableElement
Definition:
berryIPersistableElement.h:46
src
MITK
Plugins
org.blueberry.ui.qt
src
berryFileEditorInput.h
Generated on Mon Feb 23 2026 23:28:07 for Medical Imaging Interaction Toolkit by
1.9.1