Matthias Kuhn
1a2213d891
Merge branch 'master' into master
2018-06-19 10:57:33 +02:00
Nyall Dawson
7a2302d2c9
Use better approach to set dock visibility shortcuts
...
Instead of just showing/hiding the dock, use the toggleUserVisible
method instead. This means that open docks, which are however
hidden behind a different tab, aren't closed, but instead are
brought forward to be user visible.
2018-06-19 17:22:12 +10:00
Nyall Dawson
a2ef677912
Add method to toggle user visibility of QgsDockWidgets
2018-06-19 17:22:12 +10:00
Harrissou Sant-anna
c95e1c67f0
Reorder widgets and replace outline label
2018-06-19 17:17:47 +10:00
Harrissou Sant-anna
9b220664b0
Place labels next to their corresponding options in North Arrow decoration
...
The "placement" and "Margin from edge" labels are currently inverted
Also fix tabstops
2018-06-19 17:17:47 +10:00
Alessandro Pasotti
db55088f1d
Merge pull request #7265 from ablakey/fix-py-provider-index
...
Addressed two issues that caused createSpatialIndex() to fail.
2018-06-19 08:22:04 +02:00
Nyall Dawson
4059c9b71d
Move some more common geometry methods to headers to allow compiler inlining
2018-06-19 13:16:02 +10:00
Nyall Dawson
3ea8a41834
[layouts] Tweak format of multiple metadata keyword argument exports
2018-06-19 12:08:11 +10:00
Andrew Blakey
d84471b149
Addressed two issues that caused createSpatialIndex() to fail. Fixes #19220
2018-06-18 20:04:43 -04:00
Nyall Dawson
5b47f94f75
Fix silliness in test
2018-06-19 06:23:58 +10:00
Nyall Dawson
063b169bd7
Spelling
2018-06-19 06:23:58 +10:00
Nyall Dawson
077ecedfc5
Unit tests for QgsMessageLog
2018-06-19 06:23:58 +10:00
Nyall Dawson
72f7e5b560
Don't flag the "running from build path" warning in the app
...
message log
2018-06-19 06:23:58 +10:00
Nyall Dawson
949853a0e0
Add API for temporarily suppressing user notifications for
...
message log critical/warning messages
These messages are still logged, but the log indicator is not
modified to flag their appearance.
This allows certain error messages to be logged (e.g. on startup)
which cannot be fixed by users/developers (e.g. those caused
by upstream Qt issues, 3rd party Python libraries, etc) but
without flagging them.
Currently, we get so many of these warnings on startup that the
log indicator loses all impact, and newly introduced, VALID
errors go unnoticed/ignored.
2018-06-19 06:23:58 +10:00
Nyall Dawson
00f0583325
Fix doc test
2018-06-18 23:14:45 +10:00
Nyall Dawson
68b38b2daf
Add a signal when a project is cleared
2018-06-18 23:14:45 +10:00
Nyall Dawson
93e590250d
Use correct icon
2018-06-18 20:49:29 +10:00
Alessandro Pasotti
c20e441872
Merge pull request #7244 from elpaso/bugfix-18518-server-gfi-relations
...
[bugfix][server] respect relations in getfeatureinfo
2018-06-18 08:06:55 +02:00
Alessandro Pasotti
e39abc5c83
Merge pull request #7240 from elpaso/bugfix-19155-layout-legend-undo-crash
...
[bugfix] Crash on undo layout legend item on deleted item
2018-06-18 08:05:54 +02:00
Nyall Dawson
a17b77be56
[processing][gdal] Add missing parameters for buildvrt algorithm
2018-06-18 10:28:27 +10:00
Nyall Dawson
76b13ff4c4
[processing][gdal] More descriptive name for separate parameter
...
in buildvrt algorithm
Fixes #19212
2018-06-18 10:28:27 +10:00
Nyall Dawson
4fb9091e6e
QgsRectangle::intersect should use a reference, not a pointer
...
We never call this method using nullptrs, so there's no need
for this to be a pointer argument in the first place. And
having it a pointer encourages leaky code, such as the
leak this commit fixes in server.
2018-06-18 07:55:17 +10:00
Alessandro Pasotti
c727d449e8
[bugfix] Crash on undo layout legend item on deleted item
...
Added test
2018-06-17 17:10:27 +02:00
Alessandro Pasotti
583ccece29
Revert "[bugfix] Crash on undo layout legend item on deleted item"
...
This reverts commit 9def3470f02c06c886ad0fab6092584d99178a10.
2018-06-17 17:10:10 +02:00
Alessandro Pasotti
59fa2ce452
[bugfix] Revert 2f2221a and update the tests
...
Fixes #19199 - regression: vector layer legend symbol / children (i.e. rules) aren't shown when in group
2018-06-17 16:26:01 +02:00
Alessandro Pasotti
cd782f277b
Revert "Do not return invalid layers from findLayers()"
...
This reverts commit 2f2221aec7a12138dacccd40ac3a34573e3a5da3.
2018-06-17 16:26:01 +02:00
Alessandro Pasotti
9c8545722d
Make setInstance private and QgsConfigCache a friend
2018-06-17 15:05:19 +02:00
Nyall Dawson
184b0ef2a9
Remove unnecessary code
...
QObjects cannot be copied anyway
2018-06-17 15:09:07 +10:00
Nyall Dawson
b643465b12
Fix build, dox++
2018-06-17 15:09:07 +10:00
Nyall Dawson
6470aacb33
Ban QScopedPointer/QSharedPointer
2018-06-17 15:09:07 +10:00
Nyall Dawson
e1ace09f76
Ban more obselete qt methods
2018-06-17 15:09:07 +10:00
Denis Rouzaud
8503896674
[locator] add clearPreviousResults virtual method ( #7256 )
...
* [locator] add clearPreviousResults virtual method
* also clear previous results when triggering result
2018-06-16 19:04:59 -08:00
Nyall Dawson
7a9b2980ea
Fix doxygen warning
2018-06-17 11:15:10 +10:00
Nyall Dawson
8bf3d23afa
Fix use of banned methods
2018-06-17 11:13:41 +10:00
Marco Hugentobler
e90b58f6a1
Fix warning
2018-06-17 11:11:39 +10:00
Marco Hugentobler
e76ca64eae
Consider PR feedback
2018-06-17 11:11:39 +10:00
Marco Hugentobler
49cce29268
\param instead of @param
2018-06-17 11:11:39 +10:00
Marco Hugentobler
1749e5d9c9
Add unit test for geometry generator dxf export
2018-06-17 11:11:39 +10:00
Marco Hugentobler
bc41e0df1c
Fix data defined properties in dxf export
2018-06-17 11:11:39 +10:00
Marco Hugentobler
5cc97b5fb7
Fix svg export bug
2018-06-17 11:11:39 +10:00
Marco Hugentobler
18f0af8c23
Port dxf export improvements to QGIS 3
2018-06-17 11:11:39 +10:00
Marco Hugentobler
aa47dbef10
Support geometry generator in dxf output
2018-06-17 11:11:39 +10:00
Nyall Dawson
1d111ce741
Ban @ doxygen style annotations
2018-06-17 09:24:37 +10:00
Nyall Dawson
da487e2e34
Ban deprecated qMin/qMax/etc methods
2018-06-17 09:24:37 +10:00
Nyall Dawson
c705670947
Upgrade INT_ methods to numeric_limits
2018-06-17 09:24:37 +10:00
Nyall Dawson
17cd2fd5f3
More DBL_MIN/MAX_EPSILON upgrades
2018-06-17 09:24:37 +10:00
Nyall Dawson
ce6fc8fe96
[ci] Add unit test for banned keywords
...
Flags use of keywords representing deprecated or other
"to be avoided" methods, e.g. use of DBL_MAX instead of
the type-safe std::numeric_limits<double>::max() method.
2018-06-17 09:24:37 +10:00
Nyall Dawson
a4c8386e88
[sipify] Replace std::numeric_limits with old style DBL_MAX/etc
2018-06-17 09:24:37 +10:00
Nyall Dawson
47e7a100d9
DBL_EPSILON -> numeric_limits
2018-06-17 09:24:37 +10:00
Nyall Dawson
eabd5c3b3d
Remove a bunch of disabled code
2018-06-17 09:24:37 +10:00