#include <QmitkPythonVariableStackTableModel.h>
implements a table model to show the variables of the Python "__main__" dictionary furthermore implements dragging and dropping of datanodes (conversion from and to python)
Definition at line 27 of file QmitkPythonVariableStackTableModel.h.
◆ QmitkPythonVariableStackTableModel()
QmitkPythonVariableStackTableModel::QmitkPythonVariableStackTableModel |
( |
QObject * |
parent = nullptr | ) |
|
◆ ~QmitkPythonVariableStackTableModel()
QmitkPythonVariableStackTableModel::~QmitkPythonVariableStackTableModel |
( |
| ) |
|
|
override |
◆ columnCount()
int QmitkPythonVariableStackTableModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ CommandExecuted()
void QmitkPythonVariableStackTableModel::CommandExecuted |
( |
const std::string & |
pythonCommand | ) |
|
|
overridevirtual |
◆ data()
QVariant QmitkPythonVariableStackTableModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
override |
◆ dropMimeData()
bool QmitkPythonVariableStackTableModel::dropMimeData |
( |
const QMimeData * |
, |
|
|
Qt::DropAction |
, |
|
|
int |
, |
|
|
int |
, |
|
|
const QModelIndex & |
|
|
) |
| |
|
override |
◆ flags()
Qt::ItemFlags QmitkPythonVariableStackTableModel::flags |
( |
const QModelIndex & |
index | ) |
const |
|
override |
◆ GetVariableStack()
◆ headerData()
QVariant QmitkPythonVariableStackTableModel::headerData |
( |
int |
section, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ mimeTypes()
QStringList QmitkPythonVariableStackTableModel::mimeTypes |
( |
| ) |
const |
|
override |
◆ rowCount()
int QmitkPythonVariableStackTableModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ supportedDropActions()
Qt::DropActions QmitkPythonVariableStackTableModel::supportedDropActions |
( |
| ) |
const |
|
override |
◆ MITK_IMAGE_VAR_NAME
const QString QmitkPythonVariableStackTableModel::MITK_IMAGE_VAR_NAME |
|
static |
◆ MITK_SURFACE_VAR_NAME
const QString QmitkPythonVariableStackTableModel::MITK_SURFACE_VAR_NAME |
|
static |
The documentation for this class was generated from the following file: