Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
QmitkNodeDetailsDialog.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 QmitkNodeDetailsDialog_h
14 #define QmitkNodeDetailsDialog_h
15 
16 #include <mitkDataNode.h>
17 #include <MitkQtWidgetsExports.h>
18 
19 #include <QDialog>
20 
21 namespace Ui
22 {
24 }
25 
27 {
28  Q_OBJECT
29 
30 public:
31  QmitkNodeDetailsDialog(const QList<mitk::DataNode::ConstPointer>& nodes, QWidget* parent = nullptr, Qt::WindowFlags flags = {});
32  QmitkNodeDetailsDialog(const QList<mitk::DataNode::Pointer>& nodes, QWidget* parent = nullptr, Qt::WindowFlags flags = {});
33  ~QmitkNodeDetailsDialog() override;
34 
35  void OnSelectionChanged(const mitk::DataNode*);
36  void OnSearchButtonClicked();
37  void KeywordTextChanged(const QString& text);
38 
39 private:
40  bool eventFilter(QObject* obj, QEvent* event) override;
41  void InitWidgets(const QList<mitk::DataNode::ConstPointer>& nodes);
42 
43  Ui::QmitkNodeDetailsDialog* m_Ui;
44 };
45 
46 #endif
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
Ui
Definition: BlueBerryExampleLauncherDialog.h:21
MitkQtWidgetsExports.h
mitkDataNode.h
QmitkNodeDetailsDialog
Definition: QmitkNodeDetailsDialog.h:26
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63