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