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
QmitkPaintbrushToolGUI.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 QmitkPaintbrushToolGUI_h_Included
18
#define QmitkPaintbrushToolGUI_h_Included
19
20
#include "
QmitkToolGUI.h
"
21
#include "
mitkPaintbrushTool.h
"
22
#include <
MitkSegmentationUIExports.h
>
23
24
class
QSlider;
25
class
QLabel;
26
class
QFrame;
27
37
class
MITKSEGMENTATIONUI_EXPORT
QmitkPaintbrushToolGUI
:
public
QmitkToolGUI
38
{
39
Q_OBJECT
40
41
public
:
42
mitkClassMacro
(
QmitkPaintbrushToolGUI
,
QmitkToolGUI
);
43
44
void
OnSizeChanged(
int
current);
45
46
signals:
47
48
public
slots:
49
50
protected
slots:
51
52
void
OnNewToolAssociated(
mitk::Tool
*);
53
54
void
OnSliderValueChanged(
int
value);
55
56
void
VisualizePaintbrushSize(
int
size);
57
58
protected
:
59
QmitkPaintbrushToolGUI
();
60
virtual
~
QmitkPaintbrushToolGUI
();
61
62
QSlider *
m_Slider
;
63
QLabel *
m_SizeLabel
;
64
QFrame *
m_Frame
;
65
66
mitk::PaintbrushTool::Pointer
m_PaintbrushTool
;
67
};
68
69
#endif
mitkPaintbrushTool.h
mitk::Tool
Base class of all tools used by mitk::ToolManager.
Definition:
mitkTool.h:92
QmitkPaintbrushToolGUI::m_PaintbrushTool
mitk::PaintbrushTool::Pointer m_PaintbrushTool
Definition:
QmitkPaintbrushToolGUI.h:66
MitkSegmentationUIExports.h
QmitkPaintbrushToolGUI::m_Slider
QSlider * m_Slider
Definition:
QmitkPaintbrushToolGUI.h:62
QmitkPaintbrushToolGUI::m_SizeLabel
QLabel * m_SizeLabel
Definition:
QmitkPaintbrushToolGUI.h:63
QmitkPaintbrushToolGUI::m_Frame
QFrame * m_Frame
Definition:
QmitkPaintbrushToolGUI.h:64
QmitkPaintbrushToolGUI
GUI for mitk::PaintbrushTool.
Definition:
QmitkPaintbrushToolGUI.h:37
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:44
QmitkToolGUI
Base class for GUIs belonging to mitk::Tool classes.
Definition:
QmitkToolGUI.h:36
QmitkToolGUI.h
itk::SmartPointer< Self >
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition:
MitkSegmentationUIExports.h:15
git
MITK
Modules
SegmentationUI
Qmitk
QmitkPaintbrushToolGUI.h
Generated on Fri Feb 3 2017 20:52:14 for Medical Imaging Interaction Toolkit by
1.8.9.1