Nyall Dawson
8564c453ec
Add methods to get default patch shapes to QgsLegendPatchShape
2020-04-11 05:25:22 +10:00
Nyall Dawson
fd95215355
Allow for null QgsLegendPatchShapes
2020-04-11 05:25:22 +10:00
Nyall Dawson
1b5f4dd771
New class QgsLegendPatchShape
...
Represents a patch shape for use in map legends.
2020-04-11 05:25:22 +10:00
Nyall Dawson
bd86addae6
Even less hardcoded type handling
2020-04-11 05:24:54 +10:00
Nyall Dawson
a08af65b42
More boring duplicate code cleanup
2020-04-11 05:24:54 +10:00
Nyall Dawson
0e8be09fd0
Remove a bunch of duplicate code and simplify interface for QgsStyle/QgsStyleModel
2020-04-11 05:24:54 +10:00
Alexander Bruy
6c2937fd86
[processing] set correct filter for v.in.lidar ( fix #35700 )
2020-04-11 05:22:09 +10:00
Alessandro Pasotti
55f89b475c
Merge pull request #35695 from roya0045/master
...
[MXE] Free space before zip
2020-04-10 13:58:16 +02:00
Mathieu Pellerin
c0a29051b4
[FEATURE][digitizing] Add avoid intersection/overlap mode
...
This commit adds a new avoid intersection mode setting when
digitizing new features. The three available modes are:
- allow intersections/overlaps
- avoid intersections/overlaps on active layer
- avoid intersectonss/overlaps on layers list
The third mode is what QGIS has had for a while, except
its UI/UX is a bit messy. The layers list is setup by
the user via the advanced snapping configuration widgets,
but isn't connected at all with whether snapping is
enabled / disabled.
This new approach makes it explicit to user whether
newly-added features might be clipped or not, and
if so by which layer(s).
Finally, the new 'avoid intersections/overlaps on
active layer' is likely a far more useful behavior
than having a list of layers (for e.g., you might
be digitizing on a layer that can't have overlap
with itself but is fine to overlap with another
layer, the latter also in need of avoid overlap
_with itself_).
2020-04-10 13:42:07 +07:00
Alex
7d4086267a
Free space before zip
2020-04-09 17:11:11 -04:00
Nyall Dawson
3ad17e526b
Enable per-pixel horizontal scrolling on attribute table
...
Instead of the previous per-cell scrolling mode, which is very
frustrating to work with when you have wide columns (e.g. columns
wider than the the attribute table window)
2020-04-09 19:32:01 +10:00
Alessandro Pasotti
d3c4e4dda9
Merge pull request #35680 from elpaso/mxe-protobuf
...
Fix MXE builds after protobuf
2020-04-09 11:24:49 +02:00
Alessandro Pasotti
8513c8dbd2
Fix MXE builds after protobuf
2020-04-09 10:00:39 +02:00
Nyall Dawson
fad20170bc
Fix (0,0) points are ignored when calculating the bounding box
...
for a multipoint geometry
2020-04-09 09:04:10 +10:00
Matthias Kuhn
e3211a0434
Merge pull request #35514 from stev-0/#29225
...
Fix sip __hash__ for QgsActionScope
2020-04-08 10:57:59 +02:00
vcloarec
221c1df32e
[MESH] fix default active dataset group
2020-04-08 18:48:43 +10:00
Nyall Dawson
24f705c9fc
Fix missing signals from north arrow handler leading to initially out of sync north arrows
2020-04-08 12:44:36 +10:00
uclaros
accc2a4752
added oracle headers search path
2020-04-08 11:37:21 +10:00
Paul Wicks
b73bd58cfb
[FEATURE][processing] New algorithm "Contour Polygons"
...
With similar functionality to the existing GDAL contour algorithm, but exporting polygon representations of the contours
2020-04-08 08:34:55 +10:00
beketata
0f1f43f77a
[FEATURE] Add percentage size unit for Raster Image Marker and Raster fill layers symbology
...
This patch adds new percentage (percents of original image size) value of size units for Raster Image Marker and Raster fill, allowing the raster images to be scaled by a percentage of their original sizes
2020-04-08 08:32:21 +10:00
Hugo Mercier
1237d94405
Defer mask source widget population ( fixes #34942 )
2020-04-07 20:47:52 +02:00
Denis Rouzaud
0e2c858723
add jinja and pygments to Docker images ( #35632 )
2020-04-07 13:33:24 +02:00
Mathieu Pellerin
08a17ce57b
[snapping] Fix broken version detection which leads to broken reading of snapping type flags ( #35643 )
2020-04-07 13:33:04 +02:00
Mathieu Pellerin
01471d708a
[projects] Make topologicalEditing a Q_PROPERTY ( #35647 )
2020-04-07 13:31:41 +02:00
Denis Rouzaud
6ba8cccdb9
Merge pull request #35110 from obrix/snapping_zoomlvl_optim
...
Snapping enabled on a configurable scale range
2020-04-07 13:31:15 +02:00
Martin Dobias
ff380c5077
Use button with a menu to add styles instead of input dialog
2020-04-07 13:25:49 +02:00
Martin Dobias
9f74ecfc6a
Fix license headers and doxygen
2020-04-07 13:25:49 +02:00
Martin Dobias
f713cc3559
Vector tiles: styling panel integration + widget for basic renderer
2020-04-07 13:25:49 +02:00
Matthias Kuhn
550cb5d809
Merge pull request #35622 from nirvn/bogusasset_take2
...
[vector] Remove problematic topological editing related assert when adding features
2020-04-07 10:19:53 +02:00
obrix
a7c4bbbb2d
Update tooltips.
2020-04-07 09:27:08 +02:00
obrix
b5fa0fab5f
Remove prefix on parameters name. Remove whitespace.
2020-04-07 09:27:08 +02:00
obrix
f2a1712971
Fix spelling.
2020-04-07 09:27:08 +02:00
obrix
8b88115633
Fix some documentation issues. Use minimum and maximum instead of min and max. Add default value for min and max in IndividualLayerSettings as the two new parameters break compatibility.
2020-04-07 09:27:08 +02:00
obrix
080d0fa112
Remove useless comments in sip.
2020-04-07 09:27:08 +02:00
obrix
7a599bb1f2
Remove uneeded doc.
2020-04-07 09:27:08 +02:00
obrix
c7f7c9829d
Regenerate qgssnappingconfig.py
2020-04-07 09:27:08 +02:00
obrix
99780ee8d9
Add missing doc and update test_layer_dependencies.py with non deprecated API.
2020-04-07 09:27:08 +02:00
obrix
563e396015
Some style adjustments
2020-04-07 09:27:08 +02:00
obrix
cfc1989c3e
Add a test for snapping enabled/disabled using disabled, global, and per layer modes.
2020-04-07 09:27:08 +02:00
obrix
03c522a957
Use a tri state button to configure snapping limit : disable, global and per layer.
2020-04-07 09:27:08 +02:00
obrix
b3e96ff26a
Keep the check on oldsettings to refresh rows but add an option to forceRefresh.
2020-04-07 09:27:08 +02:00
obrix
f56e0f51c1
Various small reworks :
...
* better documentation
* translation on non translated string
* Grey out column min and max of individual layer snapping settings when snapping limit on scale is disabled.
Force the refresh when rowChanged is called even if the individual settings are the same to enable/disable immediately the columns when the snapping limit on scale button is pushed.
2020-04-07 09:27:08 +02:00
obrix
30a52ac55e
Fix PyQgsLayerDependencies test and add some doc.
2020-04-07 09:27:08 +02:00
obrix
6b9fb087c2
Fix style.
2020-04-07 09:27:08 +02:00
obrix
c291a17d42
Use QgsScaleWidget instead of spinboxes. Remove the snapping optimization widget from the toolbar.
2020-04-07 09:27:08 +02:00
obrix
c2b81064a9
Update with master.
2020-04-07 09:27:08 +02:00
obrix
2346718ac7
Enable snapping whatever the scale when limit to scale is off. Also fix style.
2020-04-07 09:27:08 +02:00
obrix
b484caee81
Add global config for snapping limit on scale (with action and icon to enable). Also use 0.0 for disabling value and display NULL to be more explicit.
2020-04-07 09:27:08 +02:00
obrix
7b4be2b7fa
Remove boolean limitToScaleRange, default value is -1.0. Negative values disable the limits.
2020-04-07 09:27:08 +02:00
obrix
5eedfe1c99
Keep iterator on filtered layers and iterate only on filtered layers after having rebuilt the index.
2020-04-07 09:27:08 +02:00