Medical Imaging Interaction Toolkit
2024.06.00
Medical Imaging Interaction Toolkit
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 (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
#ifndef QmitkPaintbrushToolGUI_h
14
#define QmitkPaintbrushToolGUI_h
15
16
#include "
QmitkToolGUI.h
"
17
#include "
mitkPaintbrushTool.h
"
18
#include <
MitkSegmentationUIExports.h
>
19
20
class
QSlider;
21
class
QLabel;
22
class
QFrame;
23
33
class
MITKSEGMENTATIONUI_EXPORT
QmitkPaintbrushToolGUI
:
public
QmitkToolGUI
34
{
35
Q_OBJECT
36
37
public
:
38
mitkClassMacro
(
QmitkPaintbrushToolGUI
,
QmitkToolGUI
);
39
40
void
OnSizeChanged(
int
current);
41
42
signals:
43
44
public
slots:
45
46
protected
slots:
47
48
void
OnNewToolAssociated(
mitk::Tool
*);
49
50
void
OnSliderValueChanged(
int
value);
51
52
void
VisualizePaintbrushSize(
int
size);
53
54
protected
:
55
QmitkPaintbrushToolGUI
();
56
~
QmitkPaintbrushToolGUI
()
override
;
57
58
QSlider *
m_Slider
;
59
QLabel *
m_SizeLabel
;
60
QFrame *
m_Frame
;
61
62
mitk::PaintbrushTool::Pointer
m_PaintbrushTool
;
63
};
64
65
#endif
QmitkPaintbrushToolGUI::m_Frame
QFrame * m_Frame
Definition:
QmitkPaintbrushToolGUI.h:60
QmitkToolGUI.h
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition:
MitkSegmentationUIExports.h:15
QmitkToolGUI
Base class for GUIs belonging to mitk::Tool classes.
Definition:
QmitkToolGUI.h:32
mitkPaintbrushTool.h
mitk::Tool
Base class of all tools used by mitk::ToolManager.
Definition:
mitkTool.h:83
QmitkPaintbrushToolGUI
GUI for mitk::PaintbrushTool.
Definition:
QmitkPaintbrushToolGUI.h:33
mitk::EventStateMachine::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkEventStateMachine.h:114
QmitkPaintbrushToolGUI::m_Slider
QSlider * m_Slider
Definition:
QmitkPaintbrushToolGUI.h:58
QmitkPaintbrushToolGUI::m_SizeLabel
QLabel * m_SizeLabel
Definition:
QmitkPaintbrushToolGUI.h:59
MitkSegmentationUIExports.h
mitkClassMacro
#define mitkClassMacro(className, SuperClassName)
Definition:
mitkCommon.h:36
QmitkPaintbrushToolGUI::m_PaintbrushTool
mitk::PaintbrushTool::Pointer m_PaintbrushTool
Definition:
QmitkPaintbrushToolGUI.h:62
src
MITK
Modules
SegmentationUI
Qmitk
QmitkPaintbrushToolGUI.h
Generated on Mon Jun 17 2024 12:43:31 for Medical Imaging Interaction Toolkit by
1.8.17