Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPixelManipulationToolGUI.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 #ifndef QMITKPIXELMANIPULATIONTOOLGUI_H
17 #define QMITKPIXELMANIPULATIONTOOLGUI_H
18 
20 #include "QmitkToolGUI.h"
22 #include <QSlider>
23 #include <QSpinBox>
24 
26 {
27  Q_OBJECT
28 public:
30  itkFactorylessNewMacro(Self) itkCloneMacro(Self)
31 
32  protected slots :
33 
35  void OnSliderValueChanged(int);
36  void OnSpinBoxChanged();
37  void OnOkButtonClicked();
38  void SetFixedValueOn(bool);
39  void SetFixedValueOff(bool);
40 
41 protected:
44 
46  QSlider *m_Slider;
47  QSpinBox *m_Spinner;
48 
49 }; // class
50 #endif
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:92
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:36
mitk::PixelManipulationTool::Pointer m_PixelManipulationTool
mitkClassMacro(QmitkPixelManipulationToolGUI, QmitkToolGUI)