Nyall Dawson
e5f52f98c2
[processing] Use outputi database layer name instead of file name when
...
'use filename as layer name' is checked
Avoids raw uri layer names for database type destinations
2018-10-23 12:42:08 +10:00
Nyall Dawson
a093dd7293
[layouts] Add api to retrieve window from designer dialog interface
2018-10-23 10:54:55 +10:00
Nyall Dawson
4212cca56e
Add a Python repr for QgsError
2018-10-23 10:37:55 +10:00
Denis Rouzaud
adec719893
allow switching in/out mode while drawing zooming rect ( #8261 )
2018-10-22 15:49:19 -08:00
Nyall Dawson
8d7c54e8d7
More layout object sip casting
2018-10-23 08:59:10 +10:00
Nyall Dawson
926e03ac3c
Spell
2018-10-23 08:59:10 +10:00
Nyall Dawson
8a525b0b86
[layouts] Add notes to layout designer dialog interface documentation
...
regarding customisation of designer instances
2018-10-23 08:59:10 +10:00
Blottiere Paul
41f5abccaa
Disable ok button when no there's no field
2018-10-23 08:16:21 +10:00
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