29 Commits

Author SHA1 Message Date
Salvatore Larosa
59ff69eae1 Added support to save history in python console
- 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
2012-09-25 16:23:24 +02:00
Salvatore Larosa
69d062410f Translation into Italian for the console toolbar 2012-09-24 09:05:49 +02:00
Alexander Bruy
799795a05a fix another signal-slot connection in new console 2012-09-14 10:50:40 +03:00
Salvatore Larosa
26a43408b4 fix path for icon 2012-09-14 09:01:40 +02:00
Salvatore Larosa
315e0c0043 added action to import sextante class 2012-09-13 23:38:47 +02:00
Salvatore Larosa
78a1f244c2 improved icons and clean code 2012-09-13 17:51:24 +02:00
Salvatore Larosa
c0c8f81efb added remember last used dir for open tool in python console 2012-09-13 09:54:45 +02:00
Alexander Bruy
73ca04ebf3 fix signals connection in console 2012-09-11 19:51:09 +03:00
Salvatore Larosa
1dc7ce997b check platform for font size 2012-09-11 12:43:54 +02:00
Larry Shaffer
9db9ef80c6 Add support for prepared API file
- Prepared API file supports Python 2.7, PyQGIS master, PyQt4.7.4, QScintilla2 2.4.5, osgeo 1.9.1
- Set point size larger (should be setting in app)
- Remove extra spacing between toolbar and console edit widget
- Remove space from Qt object name
- With many more API lines, autocompletion should start at least on second character, if not third
2012-09-10 20:06:06 -06:00
Salvatore Larosa
03877e5885 clean up to code and added api directory 2012-09-10 19:44:33 +02:00
Salvatore Larosa
cf272f8801 New Python Console 2012-09-10 19:16:37 +02:00
Nathan Woodrow
c63b14976a Reduce layout margins on legend, legend order, python console. Change legend order font size to 10 same as legend 2011-12-02 14:07:39 +10:00
Martin Dobias
2fcf608acb Python console: consider also Enter on keypad. Fixes #3855.
Contributed by Steven Mizuno
2011-07-05 10:32:38 +02:00
borysiasty
a8c2cfc2ef fix #3712
git-svn-id: http://svn.osgeo.org/qgis/trunk@15729 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-16 15:21:18 +00:00
wonder
45d5d87d46 python console: another fix for pasting
git-svn-id: http://svn.osgeo.org/qgis/trunk@15675 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-04-05 13:50:24 +00:00
wonder
91f7365911 Python console: do not run the last line of the pasted code.
git-svn-id: http://svn.osgeo.org/qgis/trunk@15585 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-03-23 20:29:32 +00:00
wonder
f373836922 Added clearConsole() to Python console. Contributed by Nathan Woodrow - thanks!
git-svn-id: http://svn.osgeo.org/qgis/trunk@14999 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-05 23:32:29 +00:00
wonder
1fa7abb75e Docking of Python console - contributed by Nathan Woodrow - with some improvements.
git-svn-id: http://svn.osgeo.org/qgis/trunk@14998 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-05 23:26:18 +00:00
gsherman
e8e8bd607a Revert "Adding docking support to python console"
This reverts commit f371465e122e525e3e3b10038090bb29be0d0ab7.

git-svn-id: http://svn.osgeo.org/qgis/trunk@14996 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-05 04:43:34 +00:00
gsherman
1859838e80 Adding docking support to python console
git-svn-id: http://svn.osgeo.org/qgis/trunk@14994 c8812cc2-4d05-0410-92ff-de0c093fc19c
2011-01-05 04:43:23 +00:00
borysiasty
8cec74192e fix #2874
git-svn-id: http://svn.osgeo.org/qgis/trunk@13986 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-07-30 13:24:13 +00:00
jef
1541ff5225 update permissions
git-svn-id: http://svn.osgeo.org/qgis/trunk@13463 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-10 18:52:30 +00:00
wonder
a25fc30e9a More portable selection of monospaced font
git-svn-id: http://svn.osgeo.org/qgis/trunk@13422 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-05-04 12:48:59 +00:00
wonder
22cabce51e Python console: basic syntax highlighting (prompt, errors)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12920 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-10 19:03:27 +00:00
wonder
16983a8531 Fixed few problems in console:
- pressing enter if the cursor was not at the end
- ctrl+shift to select words didn't work


git-svn-id: http://svn.osgeo.org/qgis/trunk@12858 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-01 19:10:15 +00:00
wonder
2d2ffdaeee use monospaced font in python console
git-svn-id: http://svn.osgeo.org/qgis/trunk@12731 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-11 00:13:57 +00:00
wonder
e4d0a3f552 [FEATURE] new python console implementation.
Simpler, easier and better :-)


git-svn-id: http://svn.osgeo.org/qgis/trunk@12727 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-10 11:14:46 +00:00
wonder
e4c860e22e Converted Python console from C++ to Python.
This cleans python support a bit and makes a starting point for further improvements of the console.

It's possible to run the console also outside QGIS:

import qgis.console
qgis.console.show_console()



git-svn-id: http://svn.osgeo.org/qgis/trunk@12725 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-10 00:10:23 +00:00