34608 Commits

Author SHA1 Message Date
Juergen E. Fischer
cdaec5a45e Enable plugins (eg. to show PDFs) in webview widgets used on feature info in identify or in forms 2016-09-14 17:05:34 +02:00
Alexander Bruy
9acb52db83 fix indentation 2016-09-14 16:55:20 +03:00
Alexander Bruy
9077398c4e [processing] split offset curve and single-side buffer alg into two separate algs 2016-09-14 16:53:34 +03:00
Alexander Bruy
cac3b2ddfa [processing] refactor offset curve GDAL algorithm (fix #15478) 2016-09-14 16:38:35 +03:00
Alexander Bruy
89774abed3 [processing] fix substitution of the original layers in GDAL commands 2016-09-14 16:24:02 +03:00
Alexander Bruy
2466083790 [processing] use hex representation of uuid 2016-09-14 16:23:19 +03:00
Alexander Bruy
519e76c79f [processing] add test for gdalinfo algorithm 2016-09-14 15:55:14 +03:00
Alexander Bruy
2d561f5739 [processing] remove obsolete OGRAlgorithm class 2016-09-14 15:53:10 +03:00
Matthias Kuhn
a47d9a7192 Fix drag and drop designer issue with field alias 2016-09-14 13:26:17 +02:00
Matthias Kuhn
632da63717 Export QgsOptional<QgsExpression> to dll/so 2016-09-14 13:26:17 +02:00
Nyall Dawson
03907605e3 Avoid new colors in ramp overwriting old colors 2016-09-14 19:17:26 +10:00
Nyall Dawson
392a986695 Fix qt4 build 2016-09-14 19:17:26 +10:00
Nyall Dawson
31e1661006 Ensure that colors are always added to recent color list from style panel 2016-09-14 19:17:26 +10:00
Nyall Dawson
5b6bf82aec Allow editing colors in a color list inline in the style panel 2016-09-14 19:17:26 +10:00
Nyall Dawson
ec50cac2ef [FEATURE] New "preset" colors color ramp option
Allows use of a color ramp consisting of a list of selected colors.
Currently there's no way in QGIS to classify a renderer using
some list of colors you've previously selected. So you can modify
the colors manually after classifying, but that's a pain
if you're regularly using the same color scheme.

Basically, it's like the color brewer color ramp options but
allowing users to pick their own preset list of colors to use*

(Because Cynthia Brewer isn't the only cartographic color expert!)
2016-09-14 19:17:26 +10:00
Alexander Bruy
8ac1460d0e [processing] fix progress reporting (fix #15521) 2016-09-14 09:20:10 +03:00
Nyall Dawson
56e8b9cff5 Consolidate some duplicate code 2016-09-14 15:17:28 +10:00
Nyall Dawson
06d2d79185 Make sure files are truncated before writing 2016-09-14 15:12:36 +10:00
Nyall Dawson
d6ee3751d5 When a panel widget opens a new panel, the new panel should inherit (#3479)
the dock mode of the previous panel
2016-09-14 12:49:02 +10:00
Nyall Dawson
b4d9f64796 Add method to retrieve most recently used color 2016-09-14 11:47:52 +10:00
Nyall Dawson
2c3548df11 Don't continually refresh map while editing rule label/desc 2016-09-14 11:28:14 +10:00
Nyall Dawson
9b762023e4 Avoid excessive margins on rule based rule props widget 2016-09-14 11:17:54 +10:00
Nyall Dawson
01ec0e423c When a panel widget opens a new panel, the new panel should inherit
the dock mode of the previous panel
2016-09-14 11:05:23 +10:00
Nyall Dawson
c9f0901b5b Fix excessive margins on color picker when in style dock 2016-09-14 09:37:14 +10:00
Nyall Dawson
b7111775e8 Fix some QGIS 3.0 symbology todos 2016-09-14 09:33:58 +10:00
Nyall Dawson
098f69d878 Make QgsMarkerSymbolLayer::bounds pure virtual 2016-09-14 08:51:17 +10:00
Nyall Dawson
e122546546 Change QgsSymbol and QgsSymbolRenderContext render hint to use a
QgsSymbol::RenderHints QFlags value instead of a raw int

Also rename DataDefinedRotation to DynamicRotation since
it is no longer used for data defined rotation
2016-09-14 08:49:12 +10:00
Nyall Dawson
6e2d511c2d Merge pull request #3478 from mbernasocchi/patch-2
qgsmessagebar.pushMessage timeout is not respected in python
2016-09-14 07:57:24 +10:00
Nyall Dawson
0f07556ba5 Merge pull request #3484 from ahuarte47/Issue_RemoveDuplicateImageEntry
Remove duplicate entry of mActionRemove.svg
2016-09-14 07:56:42 +10:00
Nyall Dawson
6cfe562759 Add api/user break notes 2016-09-14 07:54:34 +10:00
Nyall Dawson
25125b089e Remove deprecated composer methods 2016-09-14 07:20:17 +10:00
Nyall Dawson
5617dbc612 Revert "[processing] cache icons to speed up toolbox rendering"
This reverts commit d265f3334142853a7f04fbda5bf6a62e3b5f672d.

Was causing failure on Travis
2016-09-14 06:42:04 +10:00
Nyall Dawson
26d7235e85 Merge pull request #3480 from nyalldawson/symbol
Remove deprecated members from symbology
2016-09-14 06:41:01 +10:00
Matthias Kuhn
9215fca239 Merge pull request #3481 from GeoCat/master
- Replaced use of deprecated QgsMapCanvas attribute "mapRenderer" by mapSettings
2016-09-13 21:09:04 +02:00
Chris Crook
92ed3befa6 Merge pull request #3483 from nirvn/fix_delimited_text_file
[delimitertext] fix watcher check ignored and harmful watcher created for iterator (fixes #15558)

@nirvn Many thanks for fixing this
2016-09-14 06:53:25 +12:00
Martin Dobias
717e7162f3 [FEATURE] Preview of WMTS layers + add XYZ tile layers (PR #3473)
This introduces live preview when rendering WMTS layers - as soon as individual tiles are loaded, they are shown in map canvas... no need to wait with a blank map until all tiles are fully downloaded. Additionally, if there are already locally cached tiles of other zoom levels, they may be used in the preview while the tiles with best matching zoom level are being downloaded. This greatly improves the user experience when working with WMTS layers.

Additionally, I have added native support for XYZ tile layers into WMS provider (based on existing implementation of WMTS tiling). This allows loading of various new raster tile sources (e.g. OpenStreetMap tiles) that were before available only with QuickMapServices or OpenLayers plugins. To use XYZ tile layers, open the browser dock in QGIS and look for "Tile Servers (XYZ)" root entry. Right-clicking will open a menu to add connections. For example for OpenStreetMap the URL would be http://c.tile.openstreetmap.org/{z}/{x}/{y}.png

The work on WMTS live preview has been funded by Land Information New Zealand.

The work on XYZ tile layers has been funded by Lutra Consulting.
2016-09-13 23:37:05 +08:00
Alexander Bruy
1f715c1acd add tests for Plugin Manager version compare function 2016-09-13 15:28:42 +03:00
Alvaro Huarte
5180b20807 Remove duplicate entry of mActionRemove.svg 2016-09-13 14:15:09 +02:00
volaya
d265f33341 [processing] cache icons to speed up toolbox rendering
fixes #15550
2016-09-13 10:09:01 +02:00
Nyall Dawson
ffa10a16fe Restore missing doc 2016-09-13 18:03:31 +10:00
Patrick Valsecchi
57d00949f7 Add an editor widget for QVariantList 2016-09-13 09:16:17 +02:00
Martin Dobias
adc88f247a Bump up the tile request limit in WMS provider
Max. 100 tiles is just too low. The max request area is currently 2000x2000 pixels
which boils down to approx 8x8 tiles of size 256x256, therefore max 64 tiles.
However this is the ideal case if the view scale matches the scale of tiles.
If the map view scale is approx in between two levels, we may need 12x12 tiles
to serve the request, so bumping the maximum to 256 should be enough.
2016-09-13 14:38:59 +08:00
nirvn
b3e3108718 [delimitertext] fix watcher check ignored and harmful watcher created for iterator
(fixes #15558)
2016-09-13 11:07:03 +07:00
Nyall Dawson
7f9de72448 Remove DataDefinedSizeScale symbol RenderHint
This flag is no longer set anywhere in QGIS itself
2016-09-13 11:05:45 +10:00
Nyall Dawson
8301ba26c4 Remove sizeScaleField and sizeScaleMethods from renderers
These were unused (since they were moved to data defined properties
at the symbol layer level) and were not set anywhere in
core QGIS (ie, the only way to set them was by manually calling
this api)
2016-09-13 11:05:45 +10:00
Nyall Dawson
041ceeaf9a Remove unused size/scale slots from renderer widgets 2016-09-13 11:05:45 +10:00
Nyall Dawson
3223150db6 Remove redundant (and outdated) docstrings from overriden members 2016-09-13 11:05:45 +10:00
Nyall Dawson
ae9023fe0f Remove last deprecated methods from symbology 2016-09-13 11:05:45 +10:00
Nyall Dawson
4d4aec692a Remove more deprecated symbol methods 2016-09-13 11:05:45 +10:00
Nyall Dawson
55fc40d87f Remove more deprecated methods from symbology 2016-09-13 11:05:45 +10:00