Medical Imaging Interaction Toolkit  2024.06.99-692c34ce
Medical Imaging Interaction Toolkit
QmitkDataStorageHistoryModel.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 QmitkDataStorageHistoryModel_h
14 #define QmitkDataStorageHistoryModel_h
15 
16 #include <MitkQtWidgetsExports.h>
17 
19 
32 {
33  Q_OBJECT
34 
35 public:
36 
37  QmitkDataStorageHistoryModel(QObject *parent);
38 
41  static void AddNodeToHistory(mitk::DataNode* node);
42  static void ResetHistory();
43 
44 protected:
45  void UpdateModelData() override;
46 };
47 
48 #endif
MITKQTWIDGETS_EXPORT
#define MITKQTWIDGETS_EXPORT
Definition: MitkQtWidgetsExports.h:15
QmitkDataStorageDefaultListModel.h
QmitkDataStorageHistoryModel
Internal DataStorage model to represent the history of node selections.
Definition: QmitkDataStorageHistoryModel.h:31
MitkQtWidgetsExports.h
QmitkDataStorageDefaultListModel::UpdateModelData
virtual void UpdateModelData()
QmitkDataStorageDefaultListModel
The 'QmitkDataStorageDefaultListModel' is a basic list model, derived from the 'QmitkAbstractDataStor...
Definition: QmitkDataStorageDefaultListModel.h:27
mitk::DataNode
Class for nodes of the DataTree.
Definition: mitkDataNode.h:63