#include <qgspythondialog.h>
Collaboration diagram for QgsPythonDialog:

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 | |
| QgisInterface * | mIface |
| QgsPythonUtils * | mPythonUtils |
| QStringList | history |
| int | pos |
| QgsPythonDialog::QgsPythonDialog | ( | QgisInterface * | pIface, | |
| QgsPythonUtils * | pythonUtils, | |||
| QWidget * | parent = 0 | |||
| ) |
| QgsPythonDialog::~QgsPythonDialog | ( | ) |
Definition at line 37 of file qgspythondialog.cpp.
| QString QgsPythonDialog::escapeHtml | ( | QString | text | ) |
| 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] |
| 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.
QgisInterface* QgsPythonDialog::mIface [private] |
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().
1.5.1