mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
- edited console.py to save history on closeEvent - edited console_sci.py to add read, clear and write history methods - edited help file - update to Italian translate file
72 lines
2.0 KiB
HTML
72 lines
2.0 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|
<head>
|
|
<title>Help Python Console</title>
|
|
<style>
|
|
body{
|
|
font-family: verdana,arial,helvetica,sans-serif;
|
|
/*font-family:Verdana,Geneva,sans-serif;*/
|
|
font-size : 12px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<table>
|
|
<tr>
|
|
<td>
|
|
<img src="../iconConsole/imgHelpDialog.png" />
|
|
</td>
|
|
<td>
|
|
<h2>Python Console for QGIS</h2>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
<p align="justify">
|
|
Now you can use auto-completion and highlighting for syntax in console!!!
|
|
<br>
|
|
(Thanks to Larry Shaffer who provided the API files)
|
|
<br><br>
|
|
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.
|
|
<br><br>
|
|
To save history commands type '<b>_save</b>' in console or close this widget.
|
|
<br><br>
|
|
To clear history commands type '<b>_clear</b>' in console.
|
|
<br><br>
|
|
The following is a description of the tools in the toolbar:
|
|
</p>
|
|
<table width="100%" bordercolor="#000" border="1">
|
|
<tr>
|
|
<td><img src="../iconConsole/iconClearConsole.png" /></td>
|
|
<td>Tool to clear python console</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../iconConsole/iconTempConsole.png" /></td>
|
|
<td>Tool to import iface class</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../iconConsole/iconSextanteConsole.png" /></td>
|
|
<td>Tool to import Sextante class</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../iconConsole/iconOpenConsole.png" /></td>
|
|
<td>Tool to open a python script and load in console</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../iconConsole/iconSaveConsole.png" /></td>
|
|
<td>Tool to save a python script</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../iconConsole/iconHelpConsole.png" /></td>
|
|
<td>This! ;-)</td>
|
|
</tr>
|
|
<tr>
|
|
<td><img src="../iconConsole/iconRunConsole.png" /></td>
|
|
<td>Run command (like Enter key pressed)</td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|