Medical Imaging Interaction Toolkit  2018.4.99-389bf124
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 // QMITKDATASTORAGEHISTORYMODEL_H
Internal DataStorage model to represent the history of node selections.
The &#39;QmitkDataStorageDefaultListModel&#39; is a basic list model, derived from the &#39;QmitkAbstractDataStor...
#define MITKQTWIDGETS_EXPORT
Class for nodes of the DataTree.
Definition: mitkDataNode.h:57