4 #ifndef pqPythonManager_h 5 #define pqPythonManager_h 44 bool initializeInterpreter();
50 bool interpreterIsInitialized();
58 void addWidgetForRunMacros(QWidget* widget);
59 void addWidgetForEditMacros(QWidget* widget);
60 void addWidgetForDeleteMacros(QWidget* widget);
66 void addMacro(
const QString& fileName, vtkTypeUInt32
location = 0x10 );
72 void updateMacroList();
83 void executeCode(
const QByteArray& code,
const QVector<QByteArray>& pre_push = {},
84 const QVector<QByteArray>& post_push = {});
91 const QString& filename, vtkTypeUInt32
location = 0x10 );
98 void executeScriptAndRender(
99 const QString& filename, vtkTypeUInt32
location = 0x10 );
104 void editMacro(
const QString& fileName);
108 pqInternal* Internal;
pqPythonManager is a class to facilitate the use of a python interpreter by various paraview GUI comp...
pqServer (should be renamed to pqSession) is a pqServerManagerModelItem subclass that represents a vt...