#include <Base/QTCore/qSlicerCorePythonManager.h>
|
QStringList | pythonPaths |
| List of directories containing Python modules.
|
|
|
ctkVTKPythonQtWrapperFactory * | Factory |
|
Definition at line 33 of file qSlicerCorePythonManager.h.
◆ Superclass
◆ pythonPaths
QStringList qSlicerCorePythonManager::pythonPaths |
|
read |
◆ qSlicerCorePythonManager()
qSlicerCorePythonManager::qSlicerCorePythonManager |
( |
QObject * | parent = nullptr | ) |
|
◆ ~qSlicerCorePythonManager()
qSlicerCorePythonManager::~qSlicerCorePythonManager |
( |
| ) |
|
|
override |
◆ 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()
void qSlicerCorePythonManager::preInitialization |
( |
| ) |
|
|
overrideprotected |
◆ pythonPaths()
QStringList qSlicerCorePythonManager::pythonPaths |
( |
| ) |
|
|
override |
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.
Deprecated. Use ctkAbstractPythonManager::toPythonStringLiteral() method instead.
◆ Factory
ctkVTKPythonQtWrapperFactory* qSlicerCorePythonManager::Factory |
|
protected |
The documentation for this class was generated from the following file: