Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
QmitkPythonVariableStackTableView.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,
6 Division of Medical and Biological Informatics.
7 All rights reserved.
8 
9 This software is distributed WITHOUT ANY WARRANTY; without
10 even the implied warranty of MERCHANTABILITY or FITNESS FOR
11 A PARTICULAR PURPOSE.
12 
13 See LICENSE.txt or http://www.mitk.org for details.
14 
15 ===================================================================*/
16 
17 #ifndef QmitkPythonVariableStackTableView_h
18 #define QmitkPythonVariableStackTableView_h
19 
20 #include <QTableView>
21 #include <mitkDataStorage.h>
23 #include <mitkIPythonService.h>
24 #include <MitkQtPythonExports.h>
25 
31 class MITKQTPYTHON_EXPORT QmitkPythonVariableStackTableView : public QTableView
32 {
33  Q_OBJECT
34 
35 public:
36  QmitkPythonVariableStackTableView(QWidget *parent = 0);
38 
39  void SetDataStorage(mitk::DataStorage* _DataStorage);
40 
41 protected slots:
42  void OnVariableStackDoubleClicked(const QModelIndex &index);
43 
44 private:
47  mitk::IPythonService* m_PythonService;
48 };
49 
50 #endif // QmitkPythonVariableStackTableView_h
Data management class that handles 'was created by' relations.
mitk::DataStorage::Pointer m_DataStorage