ParaView
Public Types | Public Slots | Public Member Functions | Protected Member Functions | List of all members
pqPythonDialog Class Reference

#include <pqPythonDialog.h>

Inherits QDialog.

Public Types

typedef QDialog Superclass
 

Public Slots

void runString (const QString &script)
 Execute a commond in the python shell. More...
 
void print (const QString &msg)
 Simply prints some text onto the shell. More...
 
void runScript (const QStringList &)
 Treats each string in the given stringlist as a filename and tries to execute the file as a python script. More...
 
pqPythonShellshell ()
 Return a pointer to the pqPythonShell widget used by this dialog. More...
 

Public Member Functions

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

Protected Member Functions

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

Detailed Description

Definition at line 49 of file pqPythonDialog.h.

Member Typedef Documentation

§ Superclass

typedef QDialog pqPythonDialog::Superclass

Definition at line 54 of file pqPythonDialog.h.

Constructor & Destructor Documentation

§ pqPythonDialog()

pqPythonDialog::pqPythonDialog ( QWidget *  Parent = 0)

§ ~pqPythonDialog()

pqPythonDialog::~pqPythonDialog ( )

Member Function Documentation

§ runString

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

Execute a commond in the python shell.

§ print

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.

§ runScript

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.

§ shell

pqPythonShell* pqPythonDialog::shell ( )
slot

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

§ closeEvent()

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: