9 Commits

Author SHA1 Message Date
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
jef
1416065936 fix python plugin detection
git-svn-id: http://svn.osgeo.org/qgis/trunk@12721 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-09 20:50:14 +00:00
wonder
bb5f4139ab Python support: use a wrapper for import statement that tracks modules of plugins.
This enables complete unload and reload of plugins:
- qgis.utils.unloadPlugin(name) - now removes also plugin's modules (files) from python
- qgis.utils.reloadPlugin(name) - unloads and starts the plugin again (using fresh source files)


git-svn-id: http://svn.osgeo.org/qgis/trunk@12690 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-07 14:59:27 +00:00
wonder
4f66673f92 Manage python plugins loaded state in python utils.py module.
This allows seamless loading/unloading of plugins by plugin installer.


git-svn-id: http://svn.osgeo.org/qgis/trunk@12552 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 22:12:16 +00:00
borysiasty
5e25228b68 Plugin installer update - rest of the r12476
git-svn-id: http://svn.osgeo.org/qgis/trunk@12487 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-16 00:37:01 +00:00
borysiasty
a13ce52617 Plugin installer update: one-step plugin install and uninstall in QGIS>=1.4
git-svn-id: http://svn.osgeo.org/qgis/trunk@12476 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-15 17:47:00 +00:00
wonder
5de2b259e2 Fixed console display hook (works only for single input)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12125 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-15 17:45:45 +00:00
cfarmer
e4f8eddc43 update to new python utils module to avoid console flush error
git-svn-id: http://svn.osgeo.org/qgis/trunk@11975 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-07 19:20:35 +00:00
wonder
b3c0989385 Moved most of the python support code to a new module qgis.utils
This will enable more flexibility in plugins handling
Hopefully it doesn't break anything :-)


git-svn-id: http://svn.osgeo.org/qgis/trunk@11950 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-07 12:04:42 +00:00