34523 Commits

Author SHA1 Message Date
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
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
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
Nyall Dawson
7c1fc8e4bc Remove deprecated method from getDataValues() 2016-09-13 11:05:45 +10:00
Nyall Dawson
a921c190d0 Remove deprecated members and fix TODOs for QgsFeatureRenderer 2016-09-13 11:05:45 +10:00
Martin Dobias
02599356a0 Fix crash on QMap iteration in Qt5 2016-09-13 00:37:01 +08:00
Martin Dobias
4fa3191a85 Fix tile previews with Qt5 2016-09-12 23:52:07 +08:00
mhugent
f55d7d329e Merge pull request #3469 from mhugent/fix_joins_over_several_tables2
Sort joins by dependency
2016-09-12 16:36:05 +02:00
doublebyte1
7d4d9ab46c - Replaced use of deprecated QgsMapCanvas attribute "mapRenderer" by mapSettings 2016-09-12 11:52:55 +02:00
Juergen E. Fischer
93afbe12e0 fix build errors (followup 13e37d4) 2016-09-12 09:48:08 +02:00
Juergen E. Fischer
13e37d4b88 dxf export: segmentize curves
(forward ported from cc3a053)
2016-09-12 09:36:37 +02:00
volaya
074d22f6f4 Merge pull request #3471 from arnaud-morvan/processing_geometry_predicate_as_commandline
[Processing] Fix ParameterGeometryPredicate.getValueAsCommandLineParameter
2016-09-12 08:32:13 +02:00
Juergen E. Fischer
6b8130d54d remove pngs which are available as svg
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +02:00
Nyall Dawson
648b779d6f Merge pull request #3477 from nyalldawson/legend_col_align
Fixes to multicolumn legends
2016-09-10 15:51:55 +10:00
Nyall Dawson
e3313fac95 Test masks 2016-09-10 14:42:33 +10:00
Nyall Dawson
52eef90061 Make sure items in legend always occupy the set number of columns
In some cases (eg a legend with 4 items and 3 columns) less
columns were being created
2016-09-10 14:42:33 +10:00
Nyall Dawson
a673fa8393 Fix multi column legends with odd number of items would place
more items in rightmost columns instead of leftmost columns

Eg a 2 column legend with 3 items would put 1 item in
the first column and 2 in the second. This was ugly, and now
it places 2 in the first column and 1 in the second.

The legend column assigner was incorrectly adding padding above
the first item in a column during column size calculation
(padding which is not present when actually rendering the column)
2016-09-10 14:42:33 +10:00
Nyall Dawson
570e6936b6 Add a bunch of tests for legend grouping into columns 2016-09-10 14:42:33 +10:00
Nyall Dawson
4d0453eb52 Fix test try #5 2016-09-10 14:41:52 +10:00
Matthias Kuhn
5980165706 Testing the new online IDE github 2016-09-10 00:22:21 +02:00
Matthias Kuhn
fa67c55a6f One more try to get green light 2016-09-10 00:04:08 +02:00
Matthias Kuhn
f2fa09343e Fix tabwidget test for Qt5 2016-09-09 16:08:05 +02:00
Matthias Kuhn
b20d3b7e2d Less debug noise 2016-09-09 14:26:28 +02:00
Matthias Kuhn
9d9ce200ae Some doxymentation updates 2016-09-09 14:26:28 +02:00
Matthias Kuhn
9631688c85 [tests] Accept brief tags with <ref>erences 2016-09-09 14:26:27 +02:00
Matthias Kuhn
ac503770be Fix python bindings for QgsExpression::checkExpression 2016-09-09 14:26:27 +02:00
Matthias Kuhn
aa87113995 Bindings and API docs 2016-09-09 14:26:27 +02:00
Matthias Kuhn
1882cabea9 [Feature] conditional visibility for tabs and groupboxes
This adds a new configuration option to conditionally show or hide
tabs and groupboxes in drag and drop designer forms.

Configuration is done via a double click in the designer tree in the
fields configuration interface.

An expression can be entered to control the visibility. The expression
will be re-evaluated everytime values in the form change and the tab or
groupbox shown/hidden accordingly.
2016-09-09 14:26:27 +02:00
Matthias Kuhn
ac41436de3 Add QgsTabWidget
This is almost like the QTabWidget but has additional methods for
showing and hiding individual tabs
2016-09-09 14:26:27 +02:00
Matthias Kuhn
9626f589fb Add all applicable scopes for editor widget constraint validation 2016-09-09 14:26:27 +02:00
Matthias Kuhn
2e9715386d Small code beautification 2016-09-09 14:26:26 +02:00
Matthias Kuhn
8cf0ef93c4 Add QgsOptional and QgsOptionalExpression 2016-09-09 14:26:24 +02:00
Matthias Kuhn
760816bb41 Public default constructor and comparison operator for QgsExpression 2016-09-09 14:25:58 +02:00
Martin Dobias
03671eb29d Fix a warning in release build 2016-09-09 17:29:57 +08:00
Martin Dobias
b025e3a336 Add missing SIP bits 2016-09-09 17:01:02 +08:00
Martin Dobias
04b2239dde Use QgsDebugMsg instead of qDebug 2016-09-09 16:35:23 +08:00