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
QmitkTextOverlay.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,
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
#ifndef MITKTEXTOVERLAY_H_HEADER_INCLUDED_C10DC4EB
18
#define MITKTEXTOVERLAY_H_HEADER_INCLUDED_C10DC4EB
19
20
// MITK
21
#include "
QmitkOverlay.h
"
22
#include "
mitkCommon.h
"
23
#include "
mitkPropertyList.h
"
24
25
// Qt
26
#include <QLabel>
27
28
#include <
MitkQtOverlaysExports.h
>
29
59
class
MITKQTOVERLAYS_EXPORT
QmitkTextOverlay
:
public
QmitkOverlay
60
{
61
public
:
65
QmitkTextOverlay
(
const
char
*
id
);
66
70
virtual
~
QmitkTextOverlay
();
71
81
void
GenerateData
(
mitk::PropertyList::Pointer
)
override
;
82
83
QSize
GetNeededSize
()
override
;
84
85
protected
:
94
void
UpdateFontProperties(
mitk::PropertyList::Pointer
);
95
96
void
SetupCallback(
mitk::BaseProperty::Pointer
prop);
97
98
void
UpdateDisplayedTextFromProperties();
99
101
QLabel *
m_Label
;
102
103
mitk::PropertyList::Pointer
m_PropertyList
;
104
105
mitk::BaseProperty::Pointer
m_ObservedProperty
;
106
107
unsigned
long
m_ObserverTag
;
108
};
109
110
#endif
/* MITKTEXTOVERLAY_H_HEADER_INCLUDED_C10DC4EB */
MitkQtOverlaysExports.h
mitkCommon.h
QmitkOverlay
Abstract base class for all overlay-objects in MITK.
Definition:
QmitkOverlay.h:53
QmitkOverlay::GenerateData
virtual void GenerateData(mitk::PropertyList::Pointer)
abstract method to internally setup the overlay
Definition:
QmitkOverlay.h:96
QmitkTextOverlay::m_PropertyList
mitk::PropertyList::Pointer m_PropertyList
Definition:
QmitkTextOverlay.h:103
QmitkTextOverlay
object representing a text that is drawn as an overlay
Definition:
QmitkTextOverlay.h:59
QmitkOverlay::GetNeededSize
virtual QSize GetNeededSize()=0
QmitkTextOverlay::m_ObserverTag
unsigned long m_ObserverTag
Definition:
QmitkTextOverlay.h:107
QmitkTextOverlay::m_ObservedProperty
mitk::BaseProperty::Pointer m_ObservedProperty
Definition:
QmitkTextOverlay.h:105
MITKQTOVERLAYS_EXPORT
#define MITKQTOVERLAYS_EXPORT
Definition:
MitkQtOverlaysExports.h:15
QmitkTextOverlay::m_Label
QLabel * m_Label
QLabel internally representing the TextOverlay.
Definition:
QmitkTextOverlay.h:101
QmitkOverlay.h
itk::SmartPointer< Self >
mitkPropertyList.h
git
MITK
Modules
QtOverlays
QmitkTextOverlay.h
Generated on Fri Feb 3 2017 20:52:15 for Medical Imaging Interaction Toolkit by
1.8.9.1