Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
QmitkDataStorageFavoriteNodesInspector.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 QmitkDataStorageFavoriteNodesInspector_h
14 #define QmitkDataStorageFavoriteNodesInspector_h
15 
16 #include <MitkQtWidgetsExports.h>
17 
19 
22 
27 {
28  Q_OBJECT
29 
30 public:
31 
32  QmitkDataStorageFavoriteNodesInspector(QWidget* parent = nullptr);
33 
42  void SetNodePredicate(const mitk::NodePredicateBase* nodePredicate) override;
43 
44  constexpr static const char* INSPECTOR_ID()
45  {
46  return "org.mitk.QmitkDataStorageFavoriteNodesInspector";
47  };
48 
49 protected Q_SLOTS:
50 
52 
53 private:
54 
55  mitk::NodePredicateProperty::Pointer m_FavoriteNodeSelectionPredicate;
56 };
57 
58 #endif
#define MITKQTWIDGETS_EXPORT
Inspector that offers a simple list view on favorite nodes of a data storage.
QmitkDataStorageFavoriteNodesInspector(QWidget *parent=nullptr)
void SetNodePredicate(const mitk::NodePredicateBase *nodePredicate) override
Overrides the corresponding function of QmitkAbstractDataStorageInspector: The custom favorite nodes ...
Inspector that offers a simple list view on a data storage.
Abstract base class for predicates used to filter DataNode objects in DataStorage queries.