Medical Imaging Interaction Toolkit  2026.06.00
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 #include <memory>
19 
20 namespace mitk
21 {
22  class LabelSelectionTool;
23 }
24 
25 namespace Ui
26 {
27  class QmitkLabelSelectionToolGUIControls;
28 }
29 
31 
37 {
38  Q_OBJECT
39 
40 public:
42  itkFactorylessNewMacro(Self);
43  itkCloneMacro(Self);
44 
45 protected slots:
46 
48 
49  void OnCheckChanged(Qt::CheckState checked);
50 
51 protected:
53 
56 
57  bool eventFilter(QObject* object, QEvent* event) override;
58 
59  std::unique_ptr<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 *)
mitkClassMacro(QmitkLabelSelectionToolGUI, QmitkToolGUI)
std::unique_ptr< QmitkFloatingTextPopup > m_FloatingPopup
void OnCheckChanged(Qt::CheckState checked)
std::unique_ptr< Ui::QmitkLabelSelectionToolGUIControls > m_Controls
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:32
Base class of all tools used by mitk::ToolManager.
Definition: mitkTool.h:80
Find image slices visible on a given plane.