16675 Commits

Author SHA1 Message Date
vmora
5369ce0498 fix type and helpstring of line offset 2015-01-22 15:38:49 +01:00
Tim Sutton
8d98c7997f Dont dump projects to console when reading them 2015-01-22 09:41:02 +02:00
Martin Dobias
ee0e90a44b Report correct count of inserted nodes when adding legend nodes 2015-01-22 13:42:31 +07:00
Martin Dobias
aacb1bdf3e Save and restore expanded state of legend nodes in tree hierarchy 2015-01-22 13:42:31 +07:00
Martin Dobias
3d539c8cd3 [FEATURE] Show rule-based renderer's legend in a tree hierarchy
The functionality can be used in other renderers too, the only requirement
is that legend nodes need to specify their parent rule key via data().

Note that ayer tree model must have ShowLegendAsTree flag enabled, otherwise
the model will keep showing lists instead of trees.
2015-01-22 13:42:31 +07:00
Martin Dobias
012c3478f3 Restructure the code in QgsLayerTreeModel to group legend-related code 2015-01-22 13:42:31 +07:00
Nathan Woodrow
56069c9c21 Move template text to qgis.user.expressions 2015-01-22 16:12:01 +10:00
Nyall Dawson
df939c3fa8 Data defined all the things!
Add a bunch of missing data defined options for symbology.
Also fix dialog sizing issues.
2015-01-22 16:04:47 +11:00
Nyall Dawson
8216f7dfc9 Actually hook up missing datadefined outline style for ellipse marker 2015-01-22 16:04:35 +11:00
Nyall Dawson
45ee1ad3fd Add overrides pt 6 2015-01-22 09:37:36 +11:00
vmora
6fb347d23f improve GUI consistency & UX for data-defined style
data defined buttons added to the gui
fixes #9881
2015-01-22 06:56:34 +11:00
Radim Blazek
43213a37ec apply browser filter to the whole tree 2015-01-21 19:32:53 +01:00
Matthias Kuhn
f155041289 Merge pull request #1846 from naihil/master
Call QgsMapTool::deactivate() to uncheck assigned action/button
2015-01-21 18:08:00 +01:00
Matthias Kuhn
e49adad1de Use cached feature for context menu feature action on attribute dialog
Dirty hack to
 * fix #11744
 * fix #11546
2015-01-21 17:56:19 +01:00
Matthias Kuhn
dbfe899194 Merge pull request #1847 from m-kuhn/oq
Make QwtPolar optional
2015-01-21 17:35:56 +01:00
Matthias Kuhn
ea54b3c661 Only show actions menu on attribute dialog when necessary
Fix #12013
2015-01-21 17:13:09 +01:00
Radim Blazek
f0a7a1c78d use QgsBrowserTreeView in qbrowser 2015-01-21 16:38:48 +01:00
Matthias Kuhn
3752be6678 Make QwtPolar optional 2015-01-21 15:56:07 +01:00
Matthias Kuhn
f5b10ba15f Merge pull request #1752 from mhugo/fix_11948
Test for write access mode for editing capabilities
2015-01-21 15:30:46 +01:00
Radim Blazek
0cdfcd1315 fixed ziplayertest, b843f8189 follow up 2015-01-21 13:00:22 +01:00
Matthias Kuhn
7796b157f1 Merge pull request #1839 from rduivenvoorde/identify_color_11996
fix for #11996, use user colors for rubberband instead of fixed red when...
2015-01-21 12:31:30 +01:00
Matthias Kuhn
723f7be9b4 Remove duplicated code and add some documentation 2015-01-21 12:20:16 +01:00
Anatoliy Golubev
6a66d3156d Call QgsMapTool::deactivate() to uncheck assigned action/button 2015-01-21 13:11:43 +03:00
Radim Blazek
b843f81895 fixed browser single layer zip files path, fixes hopefully #11871 2015-01-21 10:46:37 +01:00
Nyall Dawson
670ad7b809 Add gaussian blur image operation 2015-01-21 20:02:42 +11:00
Nyall Dawson
be2d6d1a70 New QgsImageOperation class for operations that modify QImages
Contains framework for multithreaded operations on QImages, and
numerous operations such as grayscale, hue/saturation, brightness/
contrast modification, flip, blur, distance transform, alpha
modification and color overlays.
2015-01-21 18:58:10 +11:00
Martin Dobias
3f88ee5213 Do not show 'remove current style' action when it can't be used 2015-01-21 14:28:12 +07:00
Martin Dobias
c391abd752 Fix todo in QgsMapMouseEvent 2015-01-21 12:06:43 +07:00
Larry Shaffer
c6a77f6201 Fix #6922, rearrange proxy form to clearly show when system's is used 2015-01-20 17:01:49 -07:00
Nyall Dawson
f0447db733 Add overrides pt 5 2015-01-21 09:52:22 +11:00
Juergen E. Fischer
cfb4b3350a fix warning 2015-01-20 23:20:21 +01:00
Juergen E. Fischer
106358c46c fix windows build 2015-01-20 22:43:30 +01:00
rldhont
df79c2a979 [BUGFIX][QgsGmlSchema] Decode element name
Good practice for the element name is to exclude accents but when GML is
 automatically generated attribut element name can have accent.

It's some time the case with GetFeatureInfo.
2015-01-20 22:20:12 +01:00
Juergen E. Fischer
4786bd15cd osgeo4w: also use Visual C++ 2010 for 32bit 2015-01-20 21:45:52 +01:00
Radim Blazek
752f530951 fixed browser add favourite path 2015-01-20 20:26:21 +01:00
Radim Blazek
74e2abd38c reverted partially ba4948e44 (#11871 - browser crash with zipped file) 2015-01-20 19:52:58 +01:00
Radim Blazek
bf22ff5064 browser save/restore state moved to new class QgsBrowserTreeView 2015-01-20 18:46:12 +01:00
mhugent
a2a82d2fe5 Merge pull request #1830 from manisandro/transaction
[FEATURE] Transactional editing for postgres layers
2015-01-20 17:22:55 +01:00
Martin Dobias
8177bbef1a Snapping utils optimization
Avoid snapping to edges if vertex has already been found.
Also increase the maximum feature count to 1M before doing non-indexed queries
2015-01-20 21:18:06 +07:00
Martin Dobias
5361a6914e Decrease the debugging noise 2015-01-20 21:17:32 +07:00
Martin Dobias
006edcb7da Node tool: Declutter a bit the mouse press event logic 2015-01-20 21:12:54 +07:00
Martin Dobias
dbe830b0bb Point locator: Use just one R-tree for indexing instead of three R-trees
The maintenance of three R-trees was too complicated, using a lot of memory
and the performance benefit was questionable :)
The approach with just one R-tree leads to much simpler code

Removed k-NN queries in the process - they were not used in QGIS code. They can be
reintroduced later, but there is not much use for them right now...
2015-01-20 18:54:07 +07:00
Martin Dobias
0ea6a3d15f Support different indexing strategies in QgsSnappingUtils
Huge layers will not use all the memory - at the expense of slow queries
2015-01-20 10:21:55 +07:00
Martin Dobias
54e8493bc7 QgsPointLocator: make it possible to index just a part of layer 2015-01-20 10:21:55 +07:00
Martin Dobias
28cbf575f6 Remove QgsMapToolVertexEdit class - not needed anymore 2015-01-20 10:21:55 +07:00
Martin Dobias
f8fc8a0a31 Final removals of QgsMapCanvasSnapper 2015-01-20 10:21:55 +07:00
Martin Dobias
1174361cd4 Convert more code from QgsMapCanvasSnapper to QgsSnappingUtils 2015-01-20 10:21:55 +07:00
Martin Dobias
4b8ea28262 Add QgsSnappingUtils::snapToCurrentLayer() + utility methods in QgsTolerance
Also added missing SIP wrappers for new classes QgsPointLocator and QgsSnappingUtils
2015-01-20 10:21:55 +07:00
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