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
wonder
43183fa5c7
Fixed conversion to subclasses of QgsFeatureRendererV2
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12357 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 18:18:30 +00:00
wonder
4bb5cad2cc
Change in handling of missing layers within QgsProject. Instead of throwing an exception, now a custom handler is called
...
that might try to fix the missing layers. There's a default handler (QgsProjectBadLayerDefaultHandler) which simply ignores
all missing layers. Then there's a GUI handler (QgsProjectBadLayerGuiHandler) in GUI library which asks user about
the path for missing layers. QGIS application automatically installs the GUI handler on startup.
This should allow python plugins/applications to work with QgsProject without a fear of a segfault as there are no more
exceptions thrown during load/save of the project files.
Some further notes:
- removed QgsProjectBadLayerException class and (now empty) qgsexception.cpp file
- openFilesRememberingFilter() moved to QgisGui namespace (was duplicated: QgisApp vs QgsOpenVectorLayerDialog)
- removed deprecated buildVectorFilters_ methods
- added python bindings for new classes/methods
git-svn-id: http://svn.osgeo.org/qgis/trunk@12350 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 17:14:41 +00:00
wonder
90eac5ee05
Removed QgsIOException. From now if QgsProject's read() and write() functions return false, it's possible to find out the error message using error() function.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12349 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 14:22:37 +00:00
jef
40c10fa255
missed the python part
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12347 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-07 00:36:57 +00:00
mhugent
3e5d66d092
Fix for bug 2188. Provider has the possibility to announce that it handles geometry type handling not very strict, e.g. inserting multipolygon in polygon layers
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12340 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-06 10:46:28 +00:00
jef
b27b05b1ae
apply #1880
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12328 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-03 17:14:04 +00:00
mhugent
25264aa14e
Fix for merge of adjacent multipolygons, ticket #2188
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12327 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-03 16:26:57 +00:00
jef
0dee825fa2
include QgsGeometry::transform() in python bindings
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12322 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-12-03 13:45:46 +00:00
rduivenvoorde
fe606b7436
changes needed to have a more intuitive way of choosing between: exporting the current loaded project, or a project browsed to by the user. Because postgis layers need more info (primary keys) we ask the user to load a project which holds postgis layers. But warn him if he cancelled.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12292 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-29 21:44:21 +00:00
gsherman
0fc6e31a02
Added AGG output format to mapserver export
...
Please enter the commit message for your changes.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12286 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-29 15:09:47 +00:00
jef
b426569724
fix #2056
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12283 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-29 12:29:00 +00:00
mhugent
f81780d271
Apply patch #1716 (improvements to ZoomLast, ZoomNext tools) from Smizuno
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12279 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-28 21:20:16 +00:00
jef
0bdc395fc9
fix #2128
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12277 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-28 20:03:12 +00:00
jef
6411c7f437
remove unnecessary linkages
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12273 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-28 16:02:15 +00:00
mhugent
2d296505c6
Keep shape and composer picture size during rotation. Adapt the item size instead
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12262 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-26 13:56:08 +00:00
jef
865fce9cf3
add support for a python feature form initialization function
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12215 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-21 19:55:25 +00:00
mhugent
49197a37e8
Added possibility to set label font color
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12204 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-20 09:43:39 +00:00
mhugent
1955a5256a
sip does not like public keyword
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12184 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-19 09:22:07 +00:00