51422 Commits

Author SHA1 Message Date
Nyall Dawson
c94eefb6df [layouts] Fix data defined atlas margin isn't evaluated
Fixes #19896
2018-10-23 05:57:23 +10:00
Nyall Dawson
4030390acc Avoid another unnecessary styleChanged call
In all paths where QgsMapLayersStyleManager::currentStyleChanged
is emitted there is always a previous styleChanged signal emitted
by QgsMapLayer::importNamedStyle
2018-10-23 05:56:31 +10:00
Nyall Dawson
844eada763 Avoid some unnecessary styleChanged signals
These signals are expensive to emit, because they trigger a full
update of the style dock contents
2018-10-23 05:56:31 +10:00
Blottiere Paul
65884dbc28
Merge pull request #8251 from pblottiere/as_dd_red
Update data defined button on auxiliary field deletion correctly
2018-10-22 17:58:21 +01:00
Blottiere Paul
b9ff49f2c9
Merge pull request #8253 from pblottiere/as_err_msg_rm_field
Add an error message when auxiliary field deletion failed
2018-10-22 17:57:13 +01:00
Denis Rouzaud
225c9227af fix build without GUI 2018-10-22 10:18:18 -04:00
Blottiere Paul
dfb28fed44
Merge pull request #8228 from pblottiere/server_deadlock
[server] Fixes freeze of server during rendering
2018-10-22 13:21:11 +01:00
Richard Duivenvoorde
4fa62e9b3b Fix #19703, make filter translatable and add NetCDF (#8245)
* Add NetCDF into MDAL dialog's file filter
2018-10-22 08:15:52 +02:00
Nyall Dawson
1bf63f1331 QStringLiteral 2018-10-22 09:30:32 +10:00
Blottiere Paul
444a2795f4 Add a translated window title 2018-10-22 00:29:59 +02:00
Blottiere Paul
86f13852fc Add an error message on auxiliary field deletion 2018-10-22 00:28:10 +02:00
Blottiere Paul
ef4bf1a806 Add link to corresponding issue in comment 2018-10-21 23:35:43 +02:00
Blottiere Paul
514db35cf8 Fixes freeze of server during rendering 2018-10-21 23:33:45 +02:00
Blottiere Paul
16e0db4033 Removes unused reset parameter 2018-10-21 23:02:23 +02:00
Blottiere Paul
f087f4a0a0 Data defined button is not red after deleting auxiliary field 2018-10-21 22:54:09 +02:00
Alessandro Pasotti
b379d75e1f
Merge pull request #8249 from tudorbarascu/fix_addpart
fix addpart tool warning
2018-10-21 21:27:20 +02:00
Juergen E. Fischer
f963ba32ea fix fcf85a199a94aac 2018-10-21 11:41:52 +02:00
Denis Rouzaud
7e3b5f40b8
Merge pull request #8247 from 3nids/maptoolzoom
fixes to the map tool zoom
2018-10-20 18:44:58 -08:00
Denis Rouzaud
f17b1a5219 restore zoom out rect 2018-10-20 19:55:22 -04:00
Tudor Bărăscu
5168d7d98b fix addpart tool warning
The isGeometryEmpty variable was true when geometry was present and viceversa.
Thus the warning for multiple parts for single geometry was giving false positives and
negatives.
2018-10-20 23:31:37 +03:00
Juergen E. Fischer
fcf85a199a fix build on Qt <5.6 2018-10-20 20:35:39 +02:00
Alessandro Pasotti
dcd33186bb [in-place] Fix alg runner when context is none 2018-10-20 10:05:48 +02:00
Alessandro Pasotti
99f3419446 Extend documentation of QgsFeatureRequest::setSubsetOfAttributes
Like suggested by Nyall
2018-10-19 22:44:31 +02:00
Alessandro Pasotti
71e85cc0b8
Merge pull request #8231 from elpaso/bugfix-20147-in-place-difference
[in-place][needs-docs] add buffer for polygons and fix #20147 in place difference
2018-10-19 22:40:57 +02:00
Denis Rouzaud
5fd6f68701 Zoom tool: do not draw rect when zooming out, update cursor when pressing alt 2018-10-19 16:33:48 -04:00
Denis Rouzaud
773167411c add isActive to QgsMapTool and update cursor when it is active 2018-10-19 16:33:48 -04:00
Denis Rouzaud
b3e526338b [fix #18892] avoid high jumps by setting a minimum pixel size for rect in map tool zoom 2018-10-19 16:33:48 -04:00
Nyall Dawson
f00e43d3c2 [layouts] Hack around inconsistent subclassing of layout items by sip
Sometimes, calling some layout methods, results in sip being inable
to downcast the items to their correct type, resulting only
in a QgsLayoutItem object.

This works around the problem, albeit in an incredibly hacky way.
2018-10-20 06:19:34 +10:00
Nyall Dawson
0a662576a7 [layouts] Show more precision in map scale for map item properties
Previously we would often round the scale displayed to the nearest
integer. Now ensure that the map scale widget shows more decimals
to allow verification that the actual map scale exactly matches
the desired scale.

Fixes #20133
2018-10-20 06:18:51 +10:00
Denis Rouzaud
fb2883c79c
Merge pull request #8242 from 3nids/final_dpi
[fix #17773] fix HiDPI in map canvas on mac
2018-10-19 10:56:27 -08:00
Denis Rouzaud
345d25f779
remove useless variable 2018-10-19 14:56:09 -04:00
Denis Rouzaud
ff1face71d more dox 2018-10-19 13:46:10 -04:00
Denis Rouzaud
c1ce03cd3b test that window handle actually exists (avoid crash in tests) 2018-10-19 13:46:01 -04:00
Denis Rouzaud
dff0496961
use floating point precision and use proper setFlags method (#8244) 2018-10-19 08:18:42 -08:00
Alessandro Pasotti
21e685b46f [in-place] Limit buffer to (multi)polygons 2018-10-19 16:37:54 +02:00
Denis Rouzaud
35ec465847 update DPR on screen or resolution change 2018-10-19 10:30:04 -04:00
Alessandro Pasotti
adb930b204 Speed up getFeatures query by using a proper QgsFeatureRequest 2018-10-19 16:27:18 +02:00
Denis Rouzaud
b4e87d873e use float precision 2018-10-19 10:07:05 -04:00
Denis Rouzaud
09d2260b86 rename physicalSize to deviceOutputSize 2018-10-19 09:53:42 -04:00
Denis Rouzaud
924e375f48 fix wrong assert 2018-10-19 09:33:30 -04:00
Denis Rouzaud
556210bb6d avoid scaling in painting when possible
not sure how it works internally in Qt, but no need to call epxlicitely on scaling since the image device pixel ratio is set
2018-10-19 08:50:17 -04:00
Denis Rouzaud
ea982fe3d2 [fix #17773] fix HiDPI in map canvas on mac
For system introducing pixel device ratio, the image rendered by the canvas is actually scaled up to match the physical size of the canvas"
2018-10-19 08:50:12 -04:00
Juergen E. Fischer
7ad0dcfa71 Fix windows build 2018-10-19 12:21:14 +02:00
Matthias Kuhn
763fa420ac
Merge pull request #8216 from rouault/fix_20136
[OGR provider] Revise significantly the way we handle subset filter to avoid issues with FID (fixes #20136)
2018-10-19 10:03:05 +02:00
Nyall Dawson
f23b09b845 [needs-docs][layouts] Expose menus and toolbars (and some other goodies) to stable
layout designer interface API

This commit adds more methods to the public, stable API for the layout
designer dialog, allowing plugins and scripts greater flexibility
in extending and hooking into the layout designer.

New API includes:
- access to the main menus shown in the dialog, allowing custom actions
to be added to the dialog
- access to the dialog's toolbars
- methods for adding (and removing) additional dock widgets to the designer
- the method used to show/hide rulers in the designer
2018-10-19 11:53:04 +10:00
Nyall Dawson
c28c314f15 [layouts] Fix incorrect data defined help for some map settings 2018-10-19 11:50:36 +10:00
Nyall Dawson
2449be382e QStringLiteral 2018-10-19 10:15:59 +10:00
Nyall Dawson
312c688151 Remove redundant mutex locks 2018-10-19 10:15:59 +10:00
Nyall Dawson
ac0a188112 [needs-docs] Allow users to set tokens for connections to ArcGIS Feature/Map servers
Without this it can be impossible to connect to authenticated/private
servers.

Tokens are set by creating an "ESRI token based authentication" method from
the standard QGIS Authentication settings and associating with the
connection.
2018-10-19 10:15:59 +10:00
Nyall Dawson
ffdf39eb6e Modernize some code 2018-10-19 10:15:59 +10:00