#include <Base/QTCore/qSlicerCorePythonManager.h>
|
ctkVTKPythonQtWrapperFactory * | Factory |
|
Definition at line 33 of file qSlicerCorePythonManager.h.
◆ Superclass
◆ pythonPaths
QStringList qSlicerCorePythonManager::pythonPaths |
|
read |
◆ qSlicerCorePythonManager()
qSlicerCorePythonManager::qSlicerCorePythonManager |
( |
QObject * |
parent = 0 | ) |
|
◆ ~qSlicerCorePythonManager()
qSlicerCorePythonManager::~qSlicerCorePythonManager |
( |
| ) |
|
◆ addVTKObjectToPythonMain()
Q_INVOKABLE void qSlicerCorePythonManager::addVTKObjectToPythonMain |
( |
const QString & |
name, |
|
|
vtkObject * |
object |
|
) |
| |
Convenient function allowing to add a VTK object to the interpreter main module.
◆ appendPythonPath()
Q_INVOKABLE void qSlicerCorePythonManager::appendPythonPath |
( |
const QString & |
path | ) |
|
◆ appendPythonPaths()
Q_INVOKABLE void qSlicerCorePythonManager::appendPythonPaths |
( |
const QStringList & |
paths | ) |
|
Append paths to sys.path.
◆ preInitialization()
virtual void qSlicerCorePythonManager::preInitialization |
( |
| ) |
|
|
protectedvirtual |
◆ pythonPaths()
virtual QStringList qSlicerCorePythonManager::pythonPaths |
( |
| ) |
|
|
virtual |
List of directories containing Python modules.
◆ toPythonStringLiteral()
static Q_INVOKABLE QString qSlicerCorePythonManager::toPythonStringLiteral |
( |
QString |
path | ) |
|
|
static |
Convert a string to a safe python string literal. Backslash, single-quote characters are escaped and the string is enclosed between single quotes.
Examples: some simple string => 'some simple string' some " string => 'some " string' some other ' string => 'some other \' string' some backslash \ str => 'some backslash \ str'
◆ Factory
ctkVTKPythonQtWrapperFactory* qSlicerCorePythonManager::Factory |
|
protected |
The documentation for this class was generated from the following file: