Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
QmitkLabelSelectionToolGUI.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 QmitkLabelSelectionToolGUI_h
14 #define QmitkLabelSelectionToolGUI_h
15 
16 #include "QmitkToolGUI.h"
18 
19 namespace mitk
20 {
21  class LabelSelectionTool;
22 }
23 
24 namespace Ui
25 {
26  class QmitkLabelSelectionToolGUIControls;
27 }
28 
30 
37 {
38  Q_OBJECT
39 
40 public:
42  itkFactorylessNewMacro(Self);
43  itkCloneMacro(Self);
44 
45 protected slots:
46 
48 
49  void OnCheckChanged(int checked);
50 
51 protected:
53 
56 
57  bool eventFilter(QObject* object, QEvent* event) override;
58 
59  Ui::QmitkLabelSelectionToolGUIControls* m_Controls;
61  std::unique_ptr<QmitkFloatingTextPopup> m_FloatingPopup;
62 
63  bool m_InternalEventCall = false;
64 };
65 
66 #endif
#define MITKSEGMENTATIONUI_EXPORT
GUI for mitk::LabelSelectionTool.
~QmitkLabelSelectionToolGUI() override
void OnNewToolAssociated(mitk::Tool *)
Ui::QmitkLabelSelectionToolGUIControls * m_Controls
mitkClassMacro(QmitkLabelSelectionToolGUI, QmitkToolGUI)
void OnCheckChanged(int checked)
std::unique_ptr< QmitkFloatingTextPopup > m_FloatingPopup
bool eventFilter(QObject *object, QEvent *event) override
itk::SmartPointer< mitk::LabelSelectionTool > m_LabelSelectionTool
Base class for GUIs belonging to mitk::Tool classes.
Definition: QmitkToolGUI.h:34
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:79
Find image slices visible on a given plane.