Medical Imaging Interaction Toolkit  2016.11.0
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,
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"
23 
24 class QSlider;
25 class QLabel;
26 class QFrame;
27 
38 {
39  Q_OBJECT
40 
41 public:
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:
60  virtual ~QmitkPaintbrushToolGUI();
61 
62  QSlider *m_Slider;
63  QLabel *m_SizeLabel;
64  QFrame *m_Frame;
65 
67 };
68 
69 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:92
mitk::PaintbrushTool::Pointer m_PaintbrushTool
GUI for mitk::PaintbrushTool.
#define mitkClassMacro(className, SuperClassName)
Definition: mitkCommon.h:44
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:36
#define MITKSEGMENTATIONUI_EXPORT