ParaView
Public Slots | Signals | Public Member Functions
pqPythonShell Class Reference

#include <pqPythonShell.h>

List of all members.

Public Slots

void clear ()
void executeScript (const QString &)

Signals

void executing (bool)
void getInputLine (QString &input)

Public Member Functions

 pqPythonShell (QWidget *Parent)
 ~pqPythonShell ()
void initializeInterpretor (int argc, char *argv[])
 Initializes the interpretor.
void initializeInterpretor ()
void printMessage (const QString &)
 Prints some text on the shell.
void makeCurrent ()
 Calls MakeCurrent in the internal vtkPVPythonInteractiveInterpretor instance.
void releaseControl ()
 Calls ReleaseControl in the internal vtkPVPythonInteractiveInterpretor instance.
QStringList getPythonAttributes (const QString &name)
 Given a python variable name, lookup its attributes and return them in a string list.
void executeInitFromGUI ()
 Call this method to initialize the interpretor for ParaView GUI applications.
void promptForInput ()

Detailed Description

Definition at line 47 of file pqPythonShell.h.


Constructor & Destructor Documentation

pqPythonShell::pqPythonShell ( QWidget *  Parent)
pqPythonShell::~pqPythonShell ( )

Member Function Documentation

void pqPythonShell::initializeInterpretor ( int  argc,
char *  argv[] 
)

Initializes the interpretor.

If an interpretor is already setup (by an earlier call to this method), it will be destroyed.

void pqPythonShell::initializeInterpretor ( )
void pqPythonShell::printMessage ( const QString &  )

Prints some text on the shell.

void pqPythonShell::makeCurrent ( )

Calls MakeCurrent in the internal vtkPVPythonInteractiveInterpretor instance.

void pqPythonShell::releaseControl ( )

Calls ReleaseControl in the internal vtkPVPythonInteractiveInterpretor instance.

QStringList pqPythonShell::getPythonAttributes ( const QString &  name)

Given a python variable name, lookup its attributes and return them in a string list.

void pqPythonShell::executeInitFromGUI ( )

Call this method to initialize the interpretor for ParaView GUI applications.

This is typically called right after InitializeSubInterpretor().

void pqPythonShell::promptForInput ( )
void pqPythonShell::executing ( bool  ) [signal]
void pqPythonShell::getInputLine ( QString &  input) [signal]
void pqPythonShell::clear ( ) [slot]
void pqPythonShell::executeScript ( const QString &  ) [slot]

The documentation for this class was generated from the following file: