Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
berryFileEditorInput.h
Go to the documentation of this file.
1
/*===================================================================
2
3
BlueBerry Platform
4
5
Copyright (c) German Cancer Research Center,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
18
#ifndef BERRYFILEEDITORINPUT_H_
19
#define BERRYFILEEDITORINPUT_H_
20
21
#include "
berryIPathEditorInput.h
"
22
23
#include <
org_blueberry_ui_qt_Export.h
>
24
25
#include <QFileInfo>
26
27
namespace
berry
{
28
29
class
BERRY_UI_QT
FileEditorInput
:
public
IPathEditorInput
30
{
31
32
public
:
33
34
berryObjectMacro
(
FileEditorInput
);
35
36
FileEditorInput
(
const
QString& path);
37
38
QString GetPath()
const override
;
39
40
bool
Exists()
const override
;
41
42
QString
GetName
()
const override
;
43
44
QString GetToolTipText()
const override
;
45
46
QIcon GetIcon()
const override
;
47
48
const
IPersistableElement
* GetPersistable()
const override
;
49
50
Object
* GetAdapter(
const
QString &adapterType)
const override
;
51
52
bool
operator==
(
const
Object
* o)
const override
;
53
54
private
:
55
56
QFileInfo m_Path;
57
};
58
59
}
60
61
#endif
/* BERRYFILEEDITORINPUT_H_ */
berry
Definition:
QmitkPropertyItemModel.h:27
berry::Object
Light weight base class for most BlueBerry classes.
Definition:
berryObject.h:78
berryIPathEditorInput.h
org_blueberry_ui_qt_Export.h
mitk::operator==
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
Definition:
mitkInteractionEvent.cpp:77
berryObjectMacro
#define berryObjectMacro(...)
Definition:
berryMacros.h:37
berry::IPersistableElement
Definition:
berryIPersistableElement.h:49
GetName
static std::string GetName(std::string fileName, std::string suffix)
Definition:
mitkCollectionReader.cpp:41
berry::FileEditorInput
Definition:
berryFileEditorInput.h:29
berry::IPathEditorInput
Definition:
berryIPathEditorInput.h:47
BERRY_UI_QT
#define BERRY_UI_QT
Definition:
org_blueberry_ui_qt_Export.h:23
git
MITK
Plugins
org.blueberry.ui.qt
src
berryFileEditorInput.h
Generated on Fri Feb 3 2017 20:51:44 for Medical Imaging Interaction Toolkit by
1.8.9.1