57682 Commits

Author SHA1 Message Date
Nyall Dawson
abc9f47ca4 [legends] Fix missing symbols for inverted polygon layers when using
filter by map content

Fixes #22718
2019-09-21 06:03:47 +10:00
Matthias Kuhn
ff4f32db0d
Merge pull request #31863 from m-kuhn/gapCheckIgnoreMissingLayer
Gap check ignore missing layer
2019-09-20 18:49:38 +02:00
Matthias Kuhn
54dda46e85
Merge pull request #31899 from paulwittle/master
Update general.py
2019-09-20 18:48:10 +02:00
Alexander Bruy
04cbf44668
Merge pull request #31902 from alexbruy/processing-import
[processing] add missed import
2019-09-20 19:27:13 +03:00
Matthias Kuhn
387bffe20e
Merge pull request #31908 from m-kuhn/fromLatin1
Do not use QString::fromAscii
2019-09-20 18:02:43 +02:00
Matthias Kuhn
e53c6a14d8 Do not use QString::fromAscii
it is deprecated
2019-09-20 16:46:27 +02:00
Alexander Bruy
e3a7982c47
Merge pull request #31898 from alexbruy/fix-31353
[georeferencer] set target CRS when generating GDAL script (fix #31353)
2019-09-20 17:29:17 +03:00
Alexander Bruy
0c4f826039 [processing] add missed import 2019-09-20 12:59:33 +03:00
Alexander Bruy
21a73ae75e [georeferencer] set target CRS when generating GDAL script (fix #31353) 2019-09-20 11:29:18 +03:00
Paul Wittle
be25b2e392 Update general.py
Correction of error return type from bool to None (as per comments). This is to resolve unexpected exception messages when algorithm is not found.
2019-09-20 09:27:30 +01:00
Alessandro Pasotti
240bfb2a3f
Merge pull request #31871 from elpaso/bugfix-gh31635-spinbox-double-changed-event
Fix double event fired by QSpinBox in slow graduated
2019-09-20 09:04:34 +02:00
Nyall Dawson
757017c2c2 Use a slightly larger font size in CRS details on Windows
Fixes #31297
2019-09-20 11:13:41 +07:00
Harrissou Sant-anna
a4fd2978e9 Allow to collapse the GeoPdf options when exporting to pdf 2019-09-20 13:44:24 +10:00
Nyall Dawson
7ef014e282 Capitalization, ellipsis 2019-09-20 13:42:15 +10:00
Nyall Dawson
f11e660395 [processing] Add warning when packaging a geopackage with no layers
Fixes #31888
2019-09-20 13:39:35 +10:00
Julien Cabieces
cb481d4cfd make the layer editable to the default value constraint could be updated 2019-09-20 09:49:12 +10:00
Julien Cabieces
a3caf512c1 Select feature to fix the multiedit mode test 2019-09-20 09:49:12 +10:00
Julien Cabieces
2ab88ad501 fieldIsEditable looks for joined feature to exist if no upsertOnEdit 2019-09-20 09:49:12 +10:00
Julien Cabieces
484ee53899 Add a utils method fieldIsEditable 2019-09-20 09:49:12 +10:00
Julien Cabieces
5848c27a7f Fix multi edit button not displayed for auxiliary storage attribute 2019-09-20 09:49:12 +10:00
Nyall Dawson
5db6165fb5 [layouts] Fix crash when opening layout with dynamic image in html label
Fixes #28996
2019-09-20 06:37:53 +10:00
Alexander Bruy
f9737a9d5f [processing] add default icon for scripts created using decorator (fix #31252) 2019-09-20 06:37:31 +10:00
Nyall Dawson
9fd17c8f3c [reports] Expose report feature settings when an attribute table is
used in an atlas

Fixes #28441
2019-09-19 22:11:22 +10:00
Even Rouault
f43b9f73a3
Merge pull request #31765 from rouault/fix_31026
[WFS provider] Re-inject custom query parameters in DCP HTTP URLs (fixes #31026)
2019-09-19 13:35:11 +02:00
Denis Rouzaud
cc64787ee6
Merge pull request #31859 from 3nids/layer_tree_insertion_point_v2
[layer tree] dedicated method in QgisApp to determine insertion point
2019-09-19 11:17:58 +02:00
nirvn
015b7e91a1 Add test case covering drawing of effects in legend renderer 2019-09-19 14:26:15 +07:00
nirvn
317a7252e5 [symbol] Fix missing effects when rendering polygon simple line symbol preview 2019-09-19 14:26:15 +07:00
Alessandro Pasotti
60fb0cb47f Apply timer spinbox workaround to QgsDoubleSpinBox too
To prevent double changed event fired in case the slot
takes too long to execute.
2019-09-19 09:10:26 +02:00
Alessandro Pasotti
bd6ecba176 Use scoped class for wait cursor 2019-09-19 09:10:08 +02:00
Denis Rouzaud
13119193ba fix API doc and init values 2019-09-19 09:05:40 +02:00
Nyall Dawson
2f220022b0 Update reference images 2019-09-19 16:56:50 +10:00
Nyall Dawson
7b356fe4cd [layouts] Fix attribute table ignores cell margin for top/bottom aligned text
Fixes #31259
2019-09-19 16:56:50 +10:00
Alessandro Pasotti
f410ea9234
Merge pull request #31876 from elpaso/bugfix-gh30550-gpkg-project-removed-dirty
Set GPKG-stored project dirty when removed
2019-09-19 08:54:26 +02:00
Nyall Dawson
6b5d43ec26 More test mask updates 2019-09-19 14:38:42 +10:00
Nyall Dawson
6c4d0efa1f Fix test which relied on local layout default font setting 2019-09-19 14:38:42 +10:00
Nyall Dawson
c988bd8c23 More test mask updates 2019-09-19 14:38:42 +10:00
Nyall Dawson
3410a36885 Ensure legend symbols are rendered using the correct output dpi to match
layout maps
2019-09-19 14:38:42 +10:00
Nyall Dawson
570ce04b00 Add some test mask images 2019-09-19 14:38:42 +10:00
Nyall Dawson
30e149387b Fix truncated legend symbol borders when layer has opacity set 2019-09-19 14:38:42 +10:00
Nyall Dawson
758ac9092f Avoid another creation of unnecessary temporary render context
Fixes #29058
2019-09-19 14:38:42 +10:00
Nyall Dawson
fad597bf77 Avoid creating temporary render context when we already have a real one
available

This also fixes the low-resolution preview symbols shown in the print
layout designer when a layer is semi-transparent.

Refs #29058
2019-09-19 14:38:42 +10:00
Nyall Dawson
ca35020881 Avoid creating some temporary render contexts whilst determining legend size
Refs #29058
2019-09-19 14:38:42 +10:00
Nyall Dawson
c60204d837 [layouts] Only evaluate default layout font when creating legends, not
when drawing every single part of the legend

QgsSettings is sloooow, so we need to avoid using it as much as possible

Refs #29058
2019-09-19 14:38:42 +10:00
Even Rouault
1494246359
Merge pull request #31860 from rouault/fix_30518
[OGR provider] Invalid feature count on layer reload (fixes #30518)
2019-09-18 21:42:25 +02:00
Alessandro Pasotti
e4ea247c6a Set GPKG-stored project dirty when removed
if it's the current project

Fixes #30550
2019-09-18 21:12:00 +02:00
rldhont
3ff8ca5736
Merge pull request #31855 from Gustry/datetime
update docstring about QgsDateTimeEdit with NULL values
2019-09-18 18:42:57 +02:00
rldhont
7a77d90c52
Merge pull request #31351 from rldhont/server-wms-dimensions
Support WMS dimensions in QGIS Server
2019-09-18 18:26:31 +02:00
Alessandro Pasotti
8192ed8cce Fix double event fired by QSpinBox in slow graduated
... renderer widget

Fixes #31635

For the record of the underlying issue:

https://lists.qt-project.org/pipermail/interest/2013-July/007936.html
https://forum.qt.io/topic/82181/qt-doublespin-box-value-changed-slot-has-called-twice
https://forum.qt.io/topic/96094/qspinbox-value-changed-slot-has-called-twice-on-mouse-click
https://www.qtcentre.org/threads/53709-slot-valueChanged(double)-of-doubleSpinBox-called-twice-if-breakpoint-is-set
2019-09-18 15:06:31 +02:00
nirvn
c7aeb4ceb2 [themes] Add disabled state for tree/table/list widgets 2019-09-18 18:06:51 +07:00
Alessandro Pasotti
6146456075
Merge pull request #31865 from elpaso/bugfix-gh31846-server-contextual-legend-no-width-no-height
Server fix getLegendGraphic default WIDTH/HEIGHT when BBOX
2019-09-18 12:09:11 +02:00