QgsPythonDialog Class Reference

#include <qgspythondialog.h>

Collaboration diagram for QgsPythonDialog:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 27 of file qgspythondialog.h.

Public Slots

void on_edtCmdLine_returnPressed ()

Public Member Functions

 QgsPythonDialog (QgisInterface *pIface, QgsPythonUtils *pythonUtils, QWidget *parent=0)
 ~QgsPythonDialog ()
QString escapeHtml (QString text)

Protected Member Functions

void keyPressEvent (QKeyEvent *event)
void closeEvent (QCloseEvent *event)
void showEvent (QShowEvent *event)

Private Attributes

QgisInterfacemIface
QgsPythonUtilsmPythonUtils
QStringList history
int pos


Constructor & Destructor Documentation

QgsPythonDialog::QgsPythonDialog ( QgisInterface pIface,
QgsPythonUtils pythonUtils,
QWidget *  parent = 0 
)

Definition at line 23 of file qgspythondialog.cpp.

References mIface, mPythonUtils, and pos.

QgsPythonDialog::~QgsPythonDialog (  ) 

Definition at line 37 of file qgspythondialog.cpp.


Member Function Documentation

QString QgsPythonDialog::escapeHtml ( QString  text  ) 

Definition at line 41 of file qgspythondialog.cpp.

Referenced by on_edtCmdLine_returnPressed().

void QgsPythonDialog::on_edtCmdLine_returnPressed (  )  [slot]

Definition at line 79 of file qgspythondialog.cpp.

References escapeHtml(), QgsPythonUtils::evalString(), QgsPythonUtils::getError(), QgsPythonUtils::getResult(), history, mPythonUtils, pos, and QgsPythonUtils::runStringUnsafe().

void QgsPythonDialog::keyPressEvent ( QKeyEvent *  event  )  [protected]

Definition at line 46 of file qgspythondialog.cpp.

References history, and pos.

void QgsPythonDialog::closeEvent ( QCloseEvent *  event  )  [protected]

Definition at line 129 of file qgspythondialog.cpp.

References mPythonUtils, and QgsPythonUtils::uninstallConsoleHooks().

void QgsPythonDialog::showEvent ( QShowEvent *  event  )  [protected]

Definition at line 122 of file qgspythondialog.cpp.

References QgsPythonUtils::installConsoleHooks(), and mPythonUtils.


Member Data Documentation

QgisInterface* QgsPythonDialog::mIface [private]

Definition at line 50 of file qgspythondialog.h.

Referenced by QgsPythonDialog().

QgsPythonUtils* QgsPythonDialog::mPythonUtils [private]

Definition at line 51 of file qgspythondialog.h.

Referenced by closeEvent(), on_edtCmdLine_returnPressed(), QgsPythonDialog(), and showEvent().

QStringList QgsPythonDialog::history [private]

Definition at line 53 of file qgspythondialog.h.

Referenced by keyPressEvent(), and on_edtCmdLine_returnPressed().

int QgsPythonDialog::pos [private]

Definition at line 54 of file qgspythondialog.h.

Referenced by keyPressEvent(), on_edtCmdLine_returnPressed(), and QgsPythonDialog().


The documentation for this class was generated from the following files:
Generated on Tue Oct 28 16:52:03 2008 for Quantum GIS API Documentation by  doxygen 1.5.1