46316 Commits

Author SHA1 Message Date
Matthias Kuhn
b37c410dbf Fix tests 2018-03-01 15:43:59 -05:00
Matthias Kuhn
b20889a6b9 Add test for 0/NULL range widget
For #18297
2018-03-01 12:08:23 -05:00
Matthias Kuhn
0b49a83a89 Fix int range widget minimum value
The int range widget so far assigned NULL to the minimum value when allowNull was activated. This made it impossible to enter the minimum value into a range widget.

This also fixes some signals which in case of a NULL value would emit a slightly-below-minimum value for double and int spinboxes.

Fix #18297
2018-03-01 11:18:33 -05:00
Matthias Kuhn
752dc7d5b3 Replace dynamic_cast with qobject_cast 2018-03-01 10:44:21 -05:00
Alexander Bruy
88734647ce [processing] fix typo (fix #18248) 2018-03-01 10:40:27 +02:00
Nyall Dawson
0f93e55fce [layouts] Fix legends do not respect reference point when auto sizing
Fixes #18269
2018-03-01 18:02:41 +11:00
Harrissou Sant-anna
75f91e53c5 Add missing caption and some tweaks to map units dialog 2018-03-01 17:28:16 +11:00
Nyall Dawson
7459539b82 Add unit tests for categorized renderer unchecked symbols 2018-03-01 16:49:29 +11:00
Nyall Dawson
0acdcfadfd Fix crash when using the identify tool on a categorized render
with an unchecked category corresponding to the feature at the
clicked point

Also fix count of default category symbols
2018-03-01 16:49:29 +11:00
Nyall Dawson
4e182be4ec [processing] Fix 'selected features' checkbox is incorrectly disabled
Fixes #18278
2018-03-01 15:29:06 +10:00
Denis Rouzaud
a483ef817a correctly use reference for context in QgsReadWriteContextCategoryPopper 2018-02-28 17:02:51 -09:00
Nyall Dawson
3c78fb58aa Fix build warnings on msvc 2018-03-01 10:21:28 +10:00
Nyall Dawson
2345852fdf [labeling] Fix broken data defined shape radius setting 2018-03-01 10:54:13 +11:00
Nyall Dawson
b17a5560b8
Merge pull request #6486 from nyalldawson/dynamic
[processing] Support dynamic properties for all native c++ algorithms
2018-03-01 10:40:25 +11:00
Nyall Dawson
71d1074c11 Tweak grid alignment for Project Properties layout 2018-03-01 09:17:23 +10:00
Salvatore Larosa
a34b46bc7b [dbmanager] fix toolbar icon size 2018-02-28 23:25:02 +01:00
Nyall Dawson
25f4f57bf4 Fix MAYBE_UNUSED definition on non clang compilers 2018-03-01 07:48:20 +10:00
Salvatore Larosa
5fda4025f4 [processing] fixes missing icon for create grid algorithm 2018-02-28 21:50:49 +01:00
Denis Rouzaud
020f0eb455
fix warning deleting pointer to incomplete type 'QgsPythonUtils' (#6491)
warning: deleting pointer to incomplete type 'QgsPythonUtils' may cause undefined behavior
2018-02-28 10:41:53 -09:00
Denis Rouzaud
b8ceda673c fix doxymentation 2018-02-28 15:00:11 -04:00
Denis Rouzaud
baa4cbb020
Merge pull request #6281 from 3nids/appmessage
allow to bring message to message bar from the reading XML when loading layers.
2018-02-28 09:37:39 -09:00
Denis Rouzaud
4e2eb0eb9c use a pointer otherwise Python is creating a copy 2018-02-28 13:43:11 -04:00
Denis Rouzaud
0ec7d54c9c add test for QgsReadWriteContext.enterCategory 2018-02-28 13:43:11 -04:00
Denis Rouzaud
d171ca7ae4 offer enterCategory in Python bindings by adding a context manager 2018-02-28 13:43:11 -04:00
Denis Rouzaud
05ee1b02c3 use MAYBE_UNUSED in the method declaration 2018-02-28 13:43:11 -04:00
Denis Rouzaud
8582517966 avoid required call to leaveCategory by adding a RAII private class 2018-02-28 13:43:11 -04:00
Denis Rouzaud
89892926c0 add C++17 [[maybe_unused]] and [[no_discard]] 2018-02-28 13:43:10 -04:00
Denis Rouzaud
95ab3d05e0 doxymentation and better wording 2018-02-28 13:43:10 -04:00
Denis Rouzaud
b957e17408 display categories stack in an external dialog 2018-02-28 13:43:10 -04:00
Denis Rouzaud
fc2ba14154 [QgsMessageBar] add convenience method to display message with a show more dialog 2018-02-28 13:43:10 -04:00
Denis Rouzaud
b95f5c1a15 QgsReadWriteContext: add a category stack to know where the error message comes from
also change the QPair in favor of a struct for a better API
2018-02-28 13:43:10 -04:00
Denis Rouzaud
22008a5114 doxymentation 2018-02-28 13:43:10 -04:00
Denis Rouzaud
d421b857e5 QgsReadWriteContext can store message
app will show them in message bar when loading layers
2018-02-28 13:43:10 -04:00
Denis Rouzaud
47ab9b89e7 remove const for QgsReadWriteContext to allow bringing up error messages 2018-02-28 13:43:10 -04:00
Radim Blazek
f27130016e [GRASS] accept shortcuts in shell, fixes #18262 2018-02-28 14:12:31 +01:00
Denis Rouzaud
10c212289e
Timeout Travis builds to save cache in time (#6488) 2018-02-28 03:54:37 -09:00
nirvn
2af9c40882 [processing] add tags to statistics by categories algorithm 2018-02-28 11:31:29 +07:00
nirvn
89e2b02122 [processing] add tags to refactor fields algorithm 2018-02-28 11:31:29 +07:00
Alessandro Pasotti
078e5aaf33
Merge pull request #6453 from NaturalGIS/remove_not_working_default_wms_server
remove not working default WMS server
2018-02-27 21:50:51 +01:00
Denis Rouzaud
78e2259add
[Travis] bump Qt to 5.9 (#6355)
* bump Qt to 5.9 and SIP to 4.19.7 by using coming Bionic as base Docker image for dependencies
* automatically build QGIS Docker image on cron jobs
2018-02-27 09:16:02 -09:00
Denis Rouzaud
f7220c89c6 more test masks 2018-02-27 08:29:20 -09:00
Giovanni Manghi
560dc2cc7e add Geoserver and Mapserver demo WMS services 2018-02-27 16:59:52 +00:00
Denis Rouzaud
eb6a216325 update test masks 2018-02-27 05:47:51 -09:00
Denis Rouzaud
d5bb4a72e9 fix bad regex in parse_dash_results 2018-02-27 05:47:51 -09:00
Mathieu Pellerin
899b80b9ee
[layer indicator] grayscale outline icons should be used for indicators 2018-02-27 16:28:41 +07:00
Alessandro Pasotti
91b9a69d3e
Merge pull request #6470 from elpaso/template-convert
[layout] Automatic conversion of 2.x composition templates to layouts
2018-02-27 09:14:03 +00:00
Alessandro Pasotti
27ab59c628 Fixed mask image and docs 2018-02-27 08:46:30 +00:00
Felis Pimeja
6bb8a9b610 Pixel and size optimization for 5 icons (#6451)
- mIconWarning.svg
- providerGdal.svg
- providerGrass.svg
- stars_empty.svg
- stars_full.svg
2018-02-27 10:24:53 +07:00
Felis Pimeja
479c6e91bb Vectorization of CAD tools icons (#6468)
- construction.png-
- delta.png
- lock.png
- parallel.png
- perpendicular.png
2018-02-27 10:20:32 +07:00
Denis Rouzaud
cc6e2d46e7 update test masks 2018-02-26 17:26:39 -09:00