25928 Commits

Author SHA1 Message Date
Martin Dobias
488e7f11a9 Fix Add part map tool for multi-point layers 2015-01-20 10:21:55 +07:00
Martin Dobias
208b5e3c6a Get rid of last snapToBackgroundLayers() calls 2015-01-20 10:21:55 +07:00
Martin Dobias
30684c7d57 Add support for match filtering, fix unit tests 2015-01-20 10:21:54 +07:00
Martin Dobias
24adc02728 Conversions from QgsMapCanvasSnapper to QgsSnappingUtils 2015-01-20 10:21:54 +07:00
Martin Dobias
f956464c7c Add snapping to current layer mode + make it default for new projects 2015-01-20 10:21:54 +07:00
Martin Dobias
cd7180ec67 Added convenience method snappingUtils() to QgsMapCanvas
Map tools can use canvas.snappingUtils().snapToMap(pt) to do the snapping.
2015-01-20 10:21:54 +07:00
Martin Dobias
cf22adc067 Fix issues with snapping and lat/lon coords 2015-01-20 10:18:40 +07:00
Martin Dobias
073d27a618 Fix snapping vertex marker when snapped to a segment 2015-01-20 10:18:40 +07:00
Martin Dobias
8db086cd2e Fix problems with edge snapping with duplicated vertices present 2015-01-20 10:18:40 +07:00
Martin Dobias
c812e42a29 Reintroduce support for intersection snapping 2015-01-20 10:18:40 +07:00
Martin Dobias
81bb124741 Added vertex/edge in tolerance queries 2015-01-20 10:18:39 +07:00
Martin Dobias
e05de3f9c6 Handle updates of the layer in the point locator
This currently just invalidates the whole trees. It would be more sophisticated to do just the updates
to the existing trees - but I run into various issues with the spatial index library when doing that.
So resorting to this for the moment.
2015-01-20 10:18:39 +07:00
Martin Dobias
83770dfd9e Hook snapping utils into QGIS interface
Now the new snapping engine is ues for add feature map tool
2015-01-20 10:18:39 +07:00
Martin Dobias
1dae560c02 Added initial tests for QgsPointLocator and QgsSnappingUtils 2015-01-20 10:18:39 +07:00
Martin Dobias
3a0dbf274f Initial import of new classes for more efficient snapping
QgsPointLocator: index vector layer geometries for fast lookups
QgsSnappingUtils: combine locators according to snapping configuration

Also adds fast point in polygon queries.
2015-01-20 10:18:39 +07:00
Nathan Woodrow
51bb80329c Ensure users python folder is on path
Fix import of expressions if we have to make the the python\expressions
folders
2015-01-20 09:55:00 +10:00
Martin Dobias
295f466d23 Layer properties dialogs: add style manager actions under Style button
This allows for more convenient configuration of layer styles and switching
between them compared to the context menu in the layer tree.

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 23:28:39 +07:00
Martin Dobias
368fe68f26 Make sure "keep layer styles" checkbox is enabled only when "keep layers" is checked 2015-01-19 22:29:01 +07:00
Martin Dobias
15068e55f1 Replace the row of style-related buttons by a button with context menu
This saves vertical space and will allow addition of more actions.

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 22:01:05 +07:00
Martin Dobias
7e3bef6c4c Make the style GUI utils more granular + move copy/paste to the top of menu
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 19:32:06 +07:00
Nyall Dawson
0cde4f103b Ensure that clear button is shown for QgsSpinBox/DoubleSpinBox
Previously the clear button might not show if the value of the
widget was set while its signals were blocked.
2015-01-19 23:23:59 +11:00
Nyall Dawson
1310b87081 Show recently used projections in QgsProjectionSelectionWidget 2015-01-19 22:57:46 +11:00
Nyall Dawson
953b39e6e5 Fix warning 2015-01-19 22:57:46 +11:00
Martin Dobias
375dc32045 Make sure to update visibility presets if any layer's style name changes
Also adds signals to the QgsMapLayerStyleManager so others can watch the changes

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 18:39:03 +07:00
Martin Dobias
5266fd97ee [FEATURE] Composer map - optionally store layer styles
There is a new check box that allows the user to tell whether a map should
keep the layer styles (it will store the state when the check box is checked).
The stored layer styles keep a snapshot of each layer's configuration
instead of just keeping name of the style.

This solves issues with styles and visibility presets in composer which were
not completely compatible.

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59)
and commissioned to Gis3W s.a.s.
2015-01-19 15:18:55 +07:00
Martin Dobias
2d663b5146 Waste less space with whitespace in project files 2015-01-19 15:18:55 +07:00
Nathan Woodrow
6166eccc84 Add spacing above function editor combo. API docs for QgsLayerDefinition 2015-01-19 16:42:30 +10:00
Nyall Dawson
cb409f7f6d Add overrides (part 3) 2015-01-19 16:14:37 +11:00
Nyall Dawson
62612bd81b Use QgsProjectionSelectionWidget for raster layer save as dialog 2015-01-19 16:11:47 +11:00
Nyall Dawson
f68b099bc1 Change projection selection widget to use a combo box
With options for layer CRS, project CRS and default CRS.
2015-01-19 16:11:39 +11:00
Nyall Dawson
36f363b9b8 Fix tab order not respected for unit selection widget 2015-01-19 16:11:27 +11:00
Nathan Woodrow
8944ff7a48 Add group support for QLR files
Add class for handling QLR files. Add sip bindings

Funded by Nicholas Duggan
2015-01-19 14:25:15 +10:00
Werner Macho
2011951d60 Fix some typos
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-01-18 20:47:22 +01:00
Nyall Dawson
bb7e53ca4d Fix font size not restoring when opening label property dialog
Also make font size of 0 correspond to a null value, ie the
label uses the default layer font size.
2015-01-18 20:16:59 +11:00
Juergen E. Fischer
6a65050faf translation string fixes 2015-01-18 00:48:08 +01:00
Juergen E. Fischer
063b70d492 improve i18n of topology checker plugin 2015-01-18 00:02:43 +01:00
Tim Sutton
3404d554ca Merge pull request #1837 from timlinux/master
Updated splash from Anita / Essen Hackfest 2014
2015-01-17 23:34:36 +02:00
Tim Sutton
8911d6b472 Updated splash from Anita / Essen Hackfest 2014 2015-01-17 21:55:22 +02:00
Juergen E. Fischer
c26cfe2f34 replace more override identifiers 2015-01-17 15:55:44 +01:00
Alexander Bruy
fdd17517fc [processing] enable algs that require 3rd party Python modules when
possible
2015-01-17 14:57:21 +02:00
Alexander Bruy
737c9cc1cd Merge branch 'processing-i18n' 2015-01-17 13:31:29 +02:00
Alexander Bruy
d8a224d896 fix typos 2015-01-17 12:17:15 +02:00
Juergen E. Fischer
e3e42f02a2 fix support for null values in categories (fixes #11786) 2015-01-17 10:25:10 +01:00
Alexander Bruy
07462f5476 [processing] i18n support for SAGA provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
e1d8710d8c [processing] i18n support for TauDEM provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
321ff1b1d5 [processing] i18n support in grass, R, OTB and example providers 2015-01-17 11:24:54 +02:00
Alexander Bruy
ad758aa8db [processing] i18n for qgis provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
c5cb2f802e [processing] i18n support for lastools provider 2015-01-17 11:24:54 +02:00
Alexander Bruy
f3f09fa500 [processing] i18n support in gdal provider 2015-01-17 11:24:54 +02:00
Juergen E. Fischer
ce95c59b26 style manager: avoid name duplication (fixes #11015) 2015-01-17 00:30:13 +01:00