521 Commits

Author SHA1 Message Date
jef
ea9ae01959 improve vector file writers error reporting
git-svn-id: http://svn.osgeo.org/qgis/trunk@12890 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-06 19:27:36 +00:00
cfarmer
e363dbf501 Fix bug with outdated name of QgsRectangle class (QgsRect)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12887 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-05 15:23:34 +00:00
wonder
2034de2bc9 PyQGIS: few additions for more pythonic api
- QgsVectorLayer and QgsVectorDataProvider support iterating
- QgsFeature allows direct access to attributes (get/set/del)


git-svn-id: http://svn.osgeo.org/qgis/trunk@12878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-04 21:08:33 +00:00
wonder
5fcab9157a wrapped new method from r12869
git-svn-id: http://svn.osgeo.org/qgis/trunk@12873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-04 13:43:20 +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
704f2b8c31 PyQGIS: wrapped raster shaders (color ramp, freak out, pseudocolor)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12856 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-02-01 09:28:14 +00:00
wonder
34766114ea PyQGIS: make sure that python modules don't get out of sync: rebuild gui and analysis modules when core module is changed
git-svn-id: http://svn.osgeo.org/qgis/trunk@12854 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-31 16:38:06 +00:00
wonder
a70f812d1e QgsRendererV2 metadata: for renderer icon use QIcon instead of icon file name.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12852 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-29 20:19:37 +00:00
wonder
8f32f25a90 [FEATURE] Support for custom plugin layers. Applied patch from #2392 contributed by Mathias Walker. Thanks!
Some parts modified to make plugin layers easier to use and more robust.


git-svn-id: http://svn.osgeo.org/qgis/trunk@12834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-26 15:43:54 +00:00
jef
553e4d233d [FEATURE] add validation to capture tool
git-svn-id: http://svn.osgeo.org/qgis/trunk@12830 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-24 16:07:55 +00:00
jef
5608ccc1f2 allow opening properties dialog for layer from plugins (better version of r12814)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12828 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-23 21:50:09 +00:00
mhugent
b1a5fd6575 sync sip file for symbolv2rendercontext
git-svn-id: http://svn.osgeo.org/qgis/trunk@12820 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-22 20:02:56 +00:00
jef
882e7e8873 [FEATURE] allow opening layer properties from plugins
git-svn-id: http://svn.osgeo.org/qgis/trunk@12814 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-21 20:17:29 +00:00
wonder
87c5348818 Native and faster compilation of python bindings (#2370)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12774 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-16 11:04:41 +00:00
wonder
eefb4baa81 PyQGIS: added QgsColorButton and QgsColorButtonV2
git-svn-id: http://svn.osgeo.org/qgis/trunk@12771 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-15 23:55:23 +00:00
wonder
76d6b47a8b symbology-ng: updates to symbol layer registry and renderer registry so that they can be used from python.
Added wrappers for these two registries and their metadata classes.


git-svn-id: http://svn.osgeo.org/qgis/trunk@12769 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-15 17:54:18 +00:00
wonder
a48f4bda77 QgsSymbolV2RenderContext:
- use reference to QgsRenderContext instead of pointer
- added utility functions for simpler syntax when converting values to output units


git-svn-id: http://svn.osgeo.org/qgis/trunk@12756 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-14 17:50:44 +00:00
mhugent
e9d4829b50 [FEATURE]: choice between mm and map units for new symbology. Scaling to use new symbology in print composer as well
git-svn-id: http://svn.osgeo.org/qgis/trunk@12755 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-14 16:18:13 +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
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
jef
c0da2c6e8f move QgsMapToolFeature::avoidIntersections to QgsGeometry
git-svn-id: http://svn.osgeo.org/qgis/trunk@12700 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-07 20:30:25 +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
a9ae72243e PyQGIS: added missing conversion to QgsRenderer subclasses, added few missing methods
git-svn-id: http://svn.osgeo.org/qgis/trunk@12672 c8812cc2-4d05-0410-92ff-de0c093fc19c
2010-01-05 14:09:31 +00:00
jef
90fe58308b ftools i18n update
git-svn-id: http://svn.osgeo.org/qgis/trunk@12655 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-31 09:57:28 +00:00
jef
7003ed00c4 apply #2199
git-svn-id: http://svn.osgeo.org/qgis/trunk@12642 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-28 21:37:07 +00:00
wonder
8241b607f6 Fix #2324.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12627 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-27 19:27:34 +00:00
borysiasty
4099c4aa8a plugin installer update - fix #2247
git-svn-id: http://svn.osgeo.org/qgis/trunk@12621 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-26 23:37:48 +00:00
jef
e5cf709dd3 another round of typo fixes (and use color instead of colour - like Qt; no string updates)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12600 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 16:14:24 +00:00
wonder
bacd4feceb Use fixed 2px pen width for rubber bands and vertex markers. (The previous default 10px was just too much)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12598 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 15:54:57 +00:00
wonder
7d175fb97b Leave only one setGeometry method to avoid ambiguous behaviour, added missing /Transfer/ annotation.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12597 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 15:36:11 +00:00
wonder
5d700f8c4c moved suggested osm tag keys and values to another file
git-svn-id: http://svn.osgeo.org/qgis/trunk@12590 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-23 11:34:07 +00:00
wonder
3a7851c8a1 Added python bindings for search strings
git-svn-id: http://svn.osgeo.org/qgis/trunk@12579 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-22 14:52:54 +00:00
wonder
293d18532a Preserve as many settings as possible when converting between new and old symbology.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12563 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-21 15:13:01 +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
wonder
a81156fa78 Fix new labeling to work with render caching.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12540 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 16:35:45 +00:00
wonder
b3f2966396 Show editing vertex markers with symbology-ng. Fixes #2171.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12537 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 15:39:05 +00:00
jef
cbf1a50bd6 fix common typos
git-svn-id: http://svn.osgeo.org/qgis/trunk@12528 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-20 12:29:07 +00:00
wonder
a8f7e81795 OSM: Upload only tag which are not marked as deleted. Fixes #2054.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12519 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-19 16:12:55 +00:00
wonder
8aa554d01e OSM: small usability improvements in download dialog
git-svn-id: http://svn.osgeo.org/qgis/trunk@12517 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-19 14:31:23 +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
jef
47d6b52ded activate help for attribute table, mapserver export and evis
git-svn-id: http://svn.osgeo.org/qgis/trunk@12457 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-14 21:50:16 +00:00
wonder
04d4cf5508 PyQGIS: Fixed slightly embarrassing conversion to subclasses in symbology-ng
git-svn-id: http://svn.osgeo.org/qgis/trunk@12435 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-13 14:28:22 +00:00
jef
48d5954f54 speed up geometry validation in fTools (self-intersection detection; fixes #2262)
git-svn-id: http://svn.osgeo.org/qgis/trunk@12408 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-11 15:46:21 +00:00
wonder
4a47cd6125 Update bindings with changes in r12405
git-svn-id: http://svn.osgeo.org/qgis/trunk@12407 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-11 15:44:48 +00:00
mhugent
bcb221102a Notify plugins if a composer has been added or removed
git-svn-id: http://svn.osgeo.org/qgis/trunk@12372 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-08 10:35:07 +00:00
wonder
94317ce545 [FEATURE] Applied patch from Andres Manz from #2185
Adds QgsLegendInterface class to GUI library to allow users to do some operations with groups.


git-svn-id: http://svn.osgeo.org/qgis/trunk@12359 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 21:03:45 +00:00
jef
35e9935e8e [FEATURE] add QgisInterface::setActiveLayer()
also fixes #2167


git-svn-id: http://svn.osgeo.org/qgis/trunk@12358 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 18:59:25 +00:00