Medical Imaging Interaction Toolkit  2024.06.00
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 (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 QmitkPythonVariableStackTableView_h
14 #define QmitkPythonVariableStackTableView_h
15 
16 #include <QTableView>
17 #include <mitkDataStorage.h>
19 #include <mitkIPythonService.h>
20 #include <MitkQtPythonExports.h>
21 
27 class MITKQTPYTHON_EXPORT QmitkPythonVariableStackTableView : public QTableView
28 {
29  Q_OBJECT
30 
31 public:
32  QmitkPythonVariableStackTableView(QWidget *parent = nullptr);
34 
35  void SetDataStorage(mitk::DataStorage* _DataStorage);
36 
37 protected slots:
38  void OnVariableStackDoubleClicked(const QModelIndex &index);
39 
40 private:
42  mitk::DataStorage::Pointer m_DataStorage;
43  mitk::IPythonService* m_PythonService;
44 };
45 
46 #endif
mitk::IPythonService
Definition: mitkIPythonService.h:56
mitkDataStorage.h
itk::SmartPointer< Self >
QmitkPythonVariableStackTableModel.h
QmitkPythonVariableStackTableModel
Definition: QmitkPythonVariableStackTableModel.h:27
QmitkPythonVariableStackTableView
Definition: QmitkPythonVariableStackTableView.h:27
mitk::DataStorage
Data management class that handles 'was created by' relations.
Definition: mitkDataStorage.h:43
mitkIPythonService.h