cut  1.2.1-pre1
Enumerations | Functions
PythonUtils Namespace Reference

Enumerations

enum  AppLibTypes { MainWindowType = 0, StringType }
 
enum  State { PythonUninitialized, PythonInitialized, AppModuleLoaded }
 

Functions

State init ()
 
bool bindAppObject (const QString &moduleName, const QString &name, int index, QObject *o)
 
int executePythonMethod ()
 
void * toPyString (const QString &moduleName, const QString &name, const char *o)
 
const char * fromPyString (const char *module, const char *var)
 
bool runScript (const QStringList &script)
 

Enumeration Type Documentation

◆ AppLibTypes

Enumerator
MainWindowType 
StringType 

◆ State

Enumerator
PythonUninitialized 
PythonInitialized 
AppModuleLoaded 

Function Documentation

◆ bindAppObject()

bool PythonUtils::bindAppObject ( const QString &  moduleName,
const QString &  name,
int  index,
QObject *  o 
)

◆ executePythonMethod()

int PythonUtils::executePythonMethod ( )

◆ fromPyString()

const char * PythonUtils::fromPyString ( const char *  module,
const char *  var 
)

◆ init()

State PythonUtils::init ( )

◆ runScript()

bool PythonUtils::runScript ( const QStringList &  script)

◆ toPyString()

void * PythonUtils::toPyString ( const QString &  moduleName,
const QString &  name,
const char *  o 
)