Medical Imaging Interaction Toolkit  2026.06.00
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 #include <memory>
21 
22 namespace Ui
23 {
25 }
26 
35 {
36  Q_OBJECT
37 
38 public:
44  QmitkNodeDetailsDialog(const QList<mitk::DataNode::ConstPointer>& nodes, QWidget* parent = nullptr, Qt::WindowFlags flags = {});
45 
51  QmitkNodeDetailsDialog(const QList<mitk::DataNode::Pointer>& nodes, QWidget* parent = nullptr, Qt::WindowFlags flags = {});
53 
56 
59 
63  void KeywordTextChanged(const QString& text);
64 
65 private:
66  bool eventFilter(QObject* obj, QEvent* event) override;
67  void InitWidgets(const QList<mitk::DataNode::ConstPointer>& nodes);
68 
69  std::unique_ptr<Ui::QmitkNodeDetailsDialog> m_Ui;
70 };
71 
72 #endif
#define MITKQTWIDGETS_EXPORT
Dialog that displays detailed property information for data nodes.
void KeywordTextChanged(const QString &text)
Filter displayed properties by keyword text.
void OnSearchButtonClicked()
Handle the search button click to filter properties.
QmitkNodeDetailsDialog(const QList< mitk::DataNode::Pointer > &nodes, QWidget *parent=nullptr, Qt::WindowFlags flags={})
Construct with a list of mutable data nodes.
void OnSelectionChanged(const mitk::DataNode *)
Update the displayed properties when the selected node changes.
~QmitkNodeDetailsDialog() override
QmitkNodeDetailsDialog(const QList< mitk::DataNode::ConstPointer > &nodes, QWidget *parent=nullptr, Qt::WindowFlags flags={})
Construct with a list of const data nodes.
Central node class of the MITK data tree, associating a data object with properties and mappers.
Definition: mitkDataNode.h:72