48420 Commits

Author SHA1 Message Date
Nyall Dawson
b3ef029498 Also show embedded indicators for groups 2018-06-11 19:16:00 +10:00
Nyall Dawson
093071856f [needs-docs] Don't show embedded layers in italics
Since the new indicator shows this in a better, less
visually noisy, way.
2018-06-11 19:16:00 +10:00
Nyall Dawson
f633bbcbc0 [needs-docs] Use an indicator icon for embedded layers
The previous approach of showing these layers with italic
text is not obvious for users to understand, and the
interface gives little clues as to why a layer cannot
be edited. There's also no way to see what project
a layer has been embedded from!

So use a new indicator icon in the layer tree to
flag embedded layers, with a tooltip showing the path
to the embedded project location.
2018-06-11 19:16:00 +10:00
Nyall Dawson
404f07d4c0 Remove foreach, initialize pointer 2018-06-11 19:16:00 +10:00
Mathieu Pellerin
0a325f1eda
Avoid signalling repaint / data signals when a setSubsetString doesn't actually change (#7217)
Behavior across providers harmonized & test added.
2018-06-11 15:52:23 +07:00
Matthias Kuhn
6e3ee46414
Merge pull request #7206 from m-kuhn/fix18380
Fix loading layers within embedded groups
2018-06-11 10:31:33 +02:00
Alessandro Pasotti
d9afb899a0 [bugfix] Fix Z&M edition. Fix double conversion from locale.
Mnually Cherry-picked from 0ba36acf93353ff177f4e149215dbee8b9d5d78d
2018-06-11 07:19:45 +02:00
Nyall Dawson
4e084b63c4 [processing] Fix exception when browsing for folder in processing
options for multiple folder settings
2018-06-11 15:16:11 +10:00
nirvn
b7502b82d4 More use of QgsLayerStyleOverride 2018-06-11 12:00:16 +07:00
nirvn
d62c34af0e Use QgsLayerStyleOverride in QgsMapHitTest::runHitTestLayer 2018-06-11 12:00:16 +07:00
nirvn
5c267f22fb Create a QgsLayerStyleOverride and use it for the job renderer 2018-06-11 12:00:16 +07:00
nirvn
5ba1e91d21 [map themes] fix map renderer ignore theme blend and transparency layer settings 2018-06-11 12:00:16 +07:00
Nyall Dawson
ce6ea18280 Dox and indentation updates 2018-06-11 12:55:20 +10:00
Nyall Dawson
a3d6b9899b Refined tests for QgsProject::transactionGroup() 2018-06-11 12:55:20 +10:00
Nyall Dawson
798408b6ba Silence a clazy warning 2018-06-11 12:55:20 +10:00
Nyall Dawson
3b89ee07ce Update dox, bindings 2018-06-11 12:55:20 +10:00
C. Marcel
b88c2f42ea Add QgsProject::transactionGroup() available & with Python bindings. 2018-06-11 12:55:20 +10:00
Nyall Dawson
590b3806a5 Fix failing test 2018-06-11 12:40:26 +10:00
Denis Rouzaud
a98e7a141a add test to ensure scale lock is respected on canvas resize 2018-06-11 12:40:26 +10:00
Alessandro Pasotti
85b9d37fa8 Use QLocale to parse string representation of numbers
Because we now might have thousand separators, also
fixes the NULL issue reported by DelazJ.

Comes with many test cases.
2018-06-10 16:30:20 +02:00
Alessandro Pasotti
2872665365
Merge pull request #7211 from elpaso/bugfix-19145-legend-crash
[bugfix] Do not crash when removing a layout legend item
2018-06-09 18:43:47 +02:00
Alessandro Pasotti
cb3eb96138 Fix test, because we only accept comma for compatible locales 2018-06-09 18:42:25 +02:00
Alessandro Pasotti
bf810e9c50 Check if conversion was successful before passing to locale 2018-06-09 18:42:14 +02:00
Alessandro Pasotti
f4ecbbfed0
Merge pull request #7210 from elpaso/bugfix-18656-layout-map-extent
[bugfix] Use locale representation for extent
2018-06-09 18:23:28 +02:00
Alessandro Pasotti
85e34f2c92 Fix test comparison 2018-06-09 18:21:14 +02:00
Alessandro Pasotti
a85f67ee91 Skip custom handling of decimal point if it's a dot 2018-06-09 18:21:14 +02:00
Alessandro Pasotti
f853c8d1d9 Respect locale decimal separator in input fields 2018-06-09 18:21:14 +02:00
Alessandro Pasotti
8c74ddebfa Added tests for locales other than english 2018-06-09 18:20:57 +02:00
Alessandro Pasotti
137bc4dbc2 [bugfix] Do not crash when removing a layout legend item
... when the layer was removed from the map, the legend
sync was disabled and the drawind order was enabled ...

Fixes #19145 Crash when deleting an item from the layout legend
2018-06-09 18:12:01 +02:00
Alessandro Pasotti
615d7a03f2 Use locale representation for extent
Fixes #18656 Print Layout: unable to manually modify the X and Y coordinates in the map Item properties panel
2018-06-09 17:31:39 +02:00
Nyall Dawson
23277284e7 [processing][gdal] Fix execution of hillshade with multidirectional argument
And add tests
2018-06-09 18:15:00 +10:00
Matthias Kuhn
c3747e9554 Add test to save and reload embedded groups 2018-06-09 09:43:56 +02:00
Alessandro Pasotti
e7df793d6a Set locale in the tests 2018-06-09 08:59:03 +02:00
Alessandro Pasotti
ec20ff78d1 Accept dot and comma as decimal point on input 2018-06-09 08:59:03 +02:00
Alessandro Pasotti
26280751a6 Try to convert doubles with comma as decimal point 2018-06-09 08:59:03 +02:00
Alessandro Pasotti
e56b72afbb Use displayString to get the formatted value 2018-06-09 08:59:03 +02:00
Alessandro Pasotti
3e44db5a04 Use QLocale when representing double fields 2018-06-09 08:59:03 +02:00
Denis Rouzaud
6d1d1498f7 fix documentation in QgsRectangle 2018-06-08 08:03:03 -04:00
Denis Rouzaud
932bcfd921 use unique_ptr and log message when transform fails 2018-06-08 08:02:48 -04:00
Even Rouault
289032bd25
Merge pull request #7207 from rouault/geojson_add
[OGR provider] Fix adding a new GeoJSON field, starting a new edit session and filling it (fixes #7205)
2018-06-08 13:55:51 +02:00
arnaud.morvan@camptocamp.com
9ebb646683 [server] Fix BBOX SRS in WFS GetFeature POST with two queries
Correctly transform featureRequest.filterRect in
WFS POST GetFeature request with multiple Query elements.
2018-06-08 13:11:14 +02:00
Even Rouault
82c2aaaa80
[OGR provider] Fix adding a new GeoJSON field, starting a new edit session and filling it (fixes https://github.com/qgis/QGIS/pull/7205) 2018-06-08 12:55:55 +02:00
Matthias Kuhn
96f7426946 Load layers within embedded groups
Fix #18380
2018-06-08 11:12:07 +02:00
Matthias Kuhn
e315ed6de5 Add test for embedded groups 2018-06-08 11:09:03 +02:00
Nyall Dawson
7f85ceea83 Add failing test for Geojson add field and then features 2018-06-08 16:38:27 +10:00
nirvn
b4cbfed47a Update copyright header for raster layer unique values alg 2018-06-08 12:19:45 +07:00
nirvn
918ac69bf2 [processing] share code between zonal histrogram and zonal stats algs 2018-06-08 12:19:45 +07:00
Nyall Dawson
827eee93df [processing] Fix feedback message in merge vector alg 2018-06-08 13:08:34 +10:00
Nyall Dawson
77786f38c3 [processing][SAGA] Fix interpolation choices for add grid values algorithms
And add more tests

Fixes #19132
2018-06-08 12:18:35 +10:00
Nyall Dawson
4444428133 Add some tooltips to diagram show properties
Refs #19109
2018-06-08 11:43:29 +10:00