ParaView
Public Types | Public Slots | Signals | Public Member Functions | Protected Member Functions
pqPythonDialog Class Reference

#include <pqPythonDialog.h>

List of all members.

Public Types

typedef QDialog Superclass

Public Slots

void runString (const QString &script)
 Execute a commond in the python shell.
void initializeInterpretor ()
 Calling this slot will destroy the current python interpretor and start a new one without closing the dialog.
void print (const QString &msg)
 Simply prints some text onto the shell.
void runScript (const QStringList &)
 Treats each string in the given stringlist as a filename and tries to execute the file as a python script.
pqPythonShellshell ()
 Return a pointer to the pqPythonShell widget used by this dialog.

Signals

void interpreterInitialized ()

Public Member Functions

 pqPythonDialog (QWidget *Parent=0)
 ~pqPythonDialog ()

Protected Member Functions

void closeEvent (QCloseEvent *event)
 Overloaded to save window geometry on close events.

Detailed Description

Definition at line 49 of file pqPythonDialog.h.


Member Typedef Documentation

typedef QDialog pqPythonDialog::Superclass

Definition at line 54 of file pqPythonDialog.h.


Constructor & Destructor Documentation

pqPythonDialog::pqPythonDialog ( QWidget *  Parent = 0)
pqPythonDialog::~pqPythonDialog ( )

Member Function Documentation

void pqPythonDialog::runString ( const QString &  script) [slot]

Execute a commond in the python shell.

void pqPythonDialog::initializeInterpretor ( ) [slot]

Calling this slot will destroy the current python interpretor and start a new one without closing the dialog.

void pqPythonDialog::print ( const QString &  msg) [slot]

Simply prints some text onto the shell.

Note that this does not treat it as a python script and hence doesn't execute it.

void pqPythonDialog::runScript ( const QStringList &  ) [slot]

Treats each string in the given stringlist as a filename and tries to execute the file as a python script.

pqPythonShell* pqPythonDialog::shell ( ) [slot]

Return a pointer to the pqPythonShell widget used by this dialog.

void pqPythonDialog::interpreterInitialized ( ) [signal]
void pqPythonDialog::closeEvent ( QCloseEvent *  event) [protected]

Overloaded to save window geometry on close events.


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