Go to the documentation of this file.
51 #ifndef PYTHONUTILS_HPP
52 #define PYTHONUTILS_HPP
54 #include <QtCore/QStringList>
76 int index, QObject *o);
80 const char*
fromPyString(
const char* module,
const char* var);
83 bool runScript(
const QStringList &script);
87 #endif // PYTHONUTILS_HPP
State
Definition: pythonutils.hpp:67
@ AppModuleLoaded
Definition: pythonutils.hpp:70
void * toPyString(const QString &moduleName, const QString &name, const char *o)
Definition: pythonutils.cpp:169
bool runScript(const QStringList &script)
Definition: pythonutils.cpp:216
AppLibTypes
Definition: pythonutils.hpp:61
const char * fromPyString(const char *module, const char *var)
Definition: pythonutils.cpp:201
@ StringType
Definition: pythonutils.hpp:63
@ MainWindowType
Definition: pythonutils.hpp:62
name
Definition: setup.py:32
Definition: pythonutils.hpp:58
bool bindAppObject(const QString &moduleName, const QString &name, int index, QObject *o)
@ PythonUninitialized
Definition: pythonutils.hpp:68
@ PythonInitialized
Definition: pythonutils.hpp:69
State init()
Definition: pythonutils.cpp:98
int executePythonMethod()
Definition: pythonutils.cpp:120