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
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
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
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
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
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
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
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
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
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
mhugent
b007b8833f
Add a new composer item to draw basic shapes (atm ellipse, rectangle, triangle), fix some composer related bugs and bring rotation to composer item level
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12183 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-19 09:04:33 +00:00
wonder
c1676d5137
Improved labeling engine interface, now connected with QgsMapRenderer instead of individual layers.
...
Also fixes #2108 .
git-svn-id: http://svn.osgeo.org/qgis/trunk@12174 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-18 18:46:12 +00:00
jef
76ac06e760
replace context help ids with classnames
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12169 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-18 08:51:17 +00:00
jef
a4758ff01f
add support for multiline edit widget
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12165 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-17 18:47:47 +00:00
wonder
adb8ab92fd
Save style file name inside the style.
...
Fixed saving of symbols added in symbol selector
git-svn-id: http://svn.osgeo.org/qgis/trunk@12161 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-17 11:23:36 +00:00
wonder
55c3c7bcc7
Updated version of QGIS when the new function were added to 1.4
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12140 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 11:53:50 +00:00
wonder
961742e243
Symbology-NG branch merged to trunk. This includes also work on labeling done during my GSoC'09.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12139 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-16 10:36:24 +00:00
jef
4e182fc45e
fix build errors on windows
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12124 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-15 17:13:20 +00:00
jef
03224425e5
[FEATHRE] attribute action improvements
...
- add python bindings for attribute actions
- support actions as context menu in feature form (ui)
- add action types:
* generic: commands that should work on all platforms
* windows, mac, unix: commands that should work and are only shown on one platform respectively
(eg. vim on unix, notepad on windows and textmate on Mac)
* python: python strings to be executed instead of a command
(eg. qgis.utils.plugins['apluginname'].amethod('[%someattribute%]'))
[BUGFIXES]
- ogr support for relative filenames fixed
- relative filename support also for feature form uis
git-svn-id: http://svn.osgeo.org/qgis/trunk@12113 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-15 00:15:55 +00:00
jef
6b7ad07597
[FEATURE] customizable attribute forms using Qt Designer dialog UIs
...
- add support for checkbox edit type and edit forms for vector layers
- selection of ui file in vector layer properties (general tab)
- the forms are opened when a feature is added or via identify.
The widgets on the ui have to be named like the attribute they are supposed
to edit or show. If the vector layer is not in editing mode, the widgets
will be disabled
git-svn-id: http://svn.osgeo.org/qgis/trunk@12077 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-10 18:30:57 +00:00
mhugent
6c3323739c
Committing Horsts OGR format patch from the QGIS hackfest in Vienna
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@12026 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-08 17:52:40 +00:00
ersts
9fb83ca1a8
-Added ability to load min max values for enhancement based on current portion of the raster being displayed.
...
-GUI update and string changes.
-Closes enhancement ticket 2024
-Accomplished by caching the last QgsRasterViewPort, I see this as a bit of a work around rather than a real solution. The issue at hand is that the render context can only be provided by the map canvas so neither the layer itself nor an layer properties dialog has access to the render context.
git-svn-id: http://svn.osgeo.org/qgis/trunk@12015 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-08 14:20:57 +00:00
cfarmer
b4a6b417db
Update QgsMapLayer to current naming convention for CRS; srs() function left for API compatability (note was added to warn of future changes in 2.0)
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11943 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-07 08:47:44 +00:00
mhugent
f4b1efd0a0
Python bindings update for composer map and picture
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11895 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-02 17:27:13 +00:00
jef
f9ffdc1c4c
fix SIP build error and a warning
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11878 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-11-01 16:32:39 +00:00
timlinux
5dca02a50e
Added deprecation note for QgsLabel::layerAttributes and suggest using QgsLabel::labelAttributes rather
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11873 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-31 22:03:48 +00:00
jef
f130f103c7
fix #2036
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11861 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-28 00:51:34 +00:00
jef
da8e3988f6
recurse svg directories
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11853 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-26 19:50:08 +00:00
mhugent
08cdd0b182
Remove inline functions in sip file
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11850 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-26 15:16:38 +00:00
mhugent
ee19d5f34e
Possibility to choose the precision of composer grid annotations
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11849 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-26 15:10:04 +00:00
mhugent
b19baed341
[FEATURE]: Possibility to rotate composer map
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11847 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-26 09:46:21 +00:00
jef
2872f0f057
fix sip error
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11834 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-24 20:34:18 +00:00
timlinux
763fbb2049
[FEATURE] Applied patch from #1974 to enable render caching capability in QGIS. This speeds up common operations such as layer re-ordering, changing symbology, WMS / WFS client, hiding / showing layers and opens the door for future enhancements such as threaded rendering and pre-compositing layer cache manipulation.
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11831 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-24 13:30:36 +00:00
timlinux
e99592f10b
Updated sip bindings to match changes in r11825
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11827 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-22 11:34:42 +00:00
timlinux
49b970adfd
[FEATURE] Added option to display position as Degrees,Minutes,Seconds in the status bar
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11825 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-21 14:59:44 +00:00
jef
94ab29b1cf
different fix for #1942
...
git-svn-id: http://svn.osgeo.org/qgis/trunk@11780 c8812cc2-4d05-0410-92ff-de0c093fc19c
2009-10-08 23:00:39 +00:00