Medical Imaging Interaction Toolkit  2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
QmitkMultiLabelTreeView.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 QmitkMultiLabelTreeView_h
14 #define QmitkMultiLabelTreeView_h
15 
17 
18 #include <QTreeView>
19 
20 /*
21 * @brief This is an inspector that offers a simple list view on a data storage.
22 */
24 {
25  Q_OBJECT
26 
27 public:
28  QmitkMultiLabelTreeView(QWidget* parent = nullptr);
29 
30 Q_SIGNALS:
31  void MouseLeave() const;
32 
33 protected:
34  QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event = nullptr) const override;
35 
36  void leaveEvent(QEvent* event) override;
37  void mouseMoveEvent(QMouseEvent* event) override;
38 };
39 
40 #endif
MITKSEGMENTATIONUI_EXPORT
#define MITKSEGMENTATIONUI_EXPORT
Definition: MitkSegmentationUIExports.h:15
MitkSegmentationUIExports.h
QmitkMultiLabelTreeView
Definition: QmitkMultiLabelTreeView.h:23