Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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_Included
14 #define QmitkPaintbrushToolGUI_h_Included
15 
16 #include "QmitkToolGUI.h"
17 #include "mitkPaintbrushTool.h"
19 
20 class QSlider;
21 class QLabel;
22 class QFrame;
23 
34 {
35  Q_OBJECT
36 
37 public:
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:
56  ~QmitkPaintbrushToolGUI() override;
57 
58  QSlider *m_Slider;
59  QLabel *m_SizeLabel;
60  QFrame *m_Frame;
61 
63 };
64 
65 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:86
mitk::PaintbrushTool::Pointer m_PaintbrushTool
GUI for mitk::PaintbrushTool.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:40
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:32
#define MITKSEGMENTATIONUI_EXPORT