Python Console based on PyQScintilla2.

To access Quantum GIS environment from this console use qgis.utils.iface object (instance of QgisInterface class). To import the class QgisInterface can also use the dedicated button on the toolbar on the left.

The console is splitted in two main panes, output and input areas. Both are resizable by using the horizontal splitter. Output area pane is a widget read-only which shows the commands output. You can drag and drop or copy text into input area (no matter if selected text contains >>> or ...). Use 'Share on codepad' from contextual menu for sharing snippets code. The context menu looks like the image below.


Input area pane is the interactive python shell for input commands.

The following is a description of the tools in the toolbar:

Tool to clear python console
Tool to import QgisInterface class
Tool to import Sextante class
Tool to import PyQt4.QtCore class
Tool to import PyQt4.QtGui class
Tool to open a python script and load in console
Tool to save a python script
Settings
Help
Run command (like Enter key pressed)