40436 Commits

Author SHA1 Message Date
Nyall Dawson
0328b7af48 Merge pull request #4943 from nyalldawson/exp_layer_rel
Add items for project map layers and relations to expression builder
2017-08-01 19:30:58 +10:00
rldhont
a8f6dbc3b7 Merge pull request #4945 from pblottiere/server_smallclean
[server] Small clean-up in WMS renderer
2017-08-01 09:25:37 +02:00
Blottiere Paul
e44a5ce44a Add tests 2017-07-31 10:08:22 +01:00
Blottiere Paul
3ebad9a119 Small cleanups in WMS renderer 2017-07-31 10:07:37 +01:00
Matthias Kuhn
0db8a5816b Merge pull request #4944 from m-kuhn/PyOverrideCursor
Safer cursor overriding for python
2017-07-31 10:10:06 +02:00
Matthias Kuhn
1da9c607c9
[MetaSearch] Make dialog element size dynamic 2017-07-31 10:09:03 +02:00
Matthias Kuhn
3dc6daaffa
Fix typo 2017-07-31 09:35:28 +02:00
Nyall Dawson
917263a9a3 Allow setting project for QgsExpressionBuilderWidget
(still defaults to QgsProject::instance())
2017-07-31 08:18:09 +10:00
Nyall Dawson
e79bf3fb94 Add some unit tests for QgsExpressionBuilderWidget 2017-07-31 08:08:18 +10:00
Nyall Dawson
878ee5c067 Add items for project map layers and relations to expression builder
Allows easy insertion of map layer IDs and relation IDs into
expressions. Numerous expression functions now utilise these,
so it makes sense to allow them to be easily inserted.

Fix #11680, #16879

Sponsored by Andreas Neumann
2017-07-31 08:08:18 +10:00
Matthias Kuhn
b262604f7a
Add missing import 2017-07-30 22:42:57 +02:00
Matthias Kuhn
3ce6fcd31d
Even more endless hourglass avoidance 2017-07-30 22:36:51 +02:00
Matthias Kuhn
8473df562f
More endless hourglass protection 2017-07-30 22:18:25 +02:00
Matthias Kuhn
4b6b8434f4
Avoid endless wait cursors in console 2017-07-30 21:53:41 +02:00
Matthias Kuhn
973d3515d1
Avoid endless wait cursors 2017-07-30 21:51:22 +02:00
Matthias Kuhn
cf753e9ff4 Merge pull request #4942 from gacarrillor/relation_reference_widget_fixes
[needs-docs] Relation Reference Widget: Add option to show/hide Open Form Button
2017-07-30 14:15:25 +02:00
Nathan Woodrow
f6b8426b20 Profile menu naming 2017-07-30 21:07:08 +10:00
Nathan Woodrow
c819d13523 Hide profiles section if there is only one user profile 2017-07-30 21:02:13 +10:00
gacarrillor
91e39a7a95 [needs-docs] Relation Reference Widget: Add option to show/hide the Open Form Button
The option was already available in the API (QgsRelationReferenceWidget->setOpenFormButtonVisible), but couldn't be used from QgsEditorWidgetSetup nor from the config dialog. For the former, a 'ShowOpenFormButton' key is added, whereas for the latter, a new checkbox is available.

Being able to hide the Open Form Button is helpful when configuring lookup tables, where a single combo box should be shown in the edit form with no additional buttons.
2017-07-29 22:46:41 -05:00
Nathan Woodrow
45fc00aad7 Move profiles to settings menu 2017-07-29 19:55:31 +10:00
Nyall Dawson
ce92ff6158 Merge pull request #4938 from SrNetoChan/dialog_titles_2
More work on titles capitalization
2017-07-29 07:03:25 +10:00
Alexandre Neto
5281a3697f More work on titles capitalization 2017-07-28 13:18:15 +01:00
Matthias Kuhn
7f1bb72872 Merge pull request #4937 from m-kuhn/attributeTableCodeEnhancements$
Attribute table code enhancements
2017-07-28 13:08:14 +02:00
Matthias Kuhn
4705c97511
Fix typo in api_break.dox 2017-07-28 12:48:07 +02:00
Matthias Kuhn
f43df122ec
Pre-Qt 5.6 compatibility 2017-07-28 12:26:22 +02:00
Matthias Kuhn
a62b02699d
Q_FOREACH instead of non const iterator 2017-07-28 11:45:17 +02:00
Matthias Kuhn
cd83c3c6d1
Modernize connections to actions
Use function references rather than SLOTs
2017-07-28 11:45:17 +02:00
Ismail Sunni
b7a4366c40 Add {GP} to make the script use gsed in macos. 2017-07-28 10:35:43 +02:00
rldhont
b8616ec513 Merge pull request #4898 from tcoupin/master
Fix srsDimension parsing in GML, fixes #15721
2017-07-28 10:14:54 +02:00
Nyall Dawson
9763b602fc Merge pull request #4936 from nyalldawson/algs
Restore more processing algs
2017-07-28 16:30:00 +10:00
Nyall Dawson
e8290928dd Port Variable distance buffer to new API
Improvements:
- add cap style/join style/ miter limit setting from fixed distance buffer
2017-07-28 14:10:48 +10:00
Nyall Dawson
5763381cbd Port fixed distance buffer to new API 2017-07-28 13:58:52 +10:00
Nyall Dawson
e53a14a23e Port Convex Hull alg to new API
Improvements:
- slight optimisation to feature requests - don't request attributes
which are not used
- Remove "method" param. Now the decision to group by field or
not is made only on whether a class field was selected or not
2017-07-28 13:27:52 +10:00
Nyall Dawson
c5cb3df15b Port singlepart to multipart to new API, fix disabled test 2017-07-28 12:42:40 +10:00
Nyall Dawson
2a6f51218a Port points along line to new API 2017-07-28 12:05:05 +10:00
Nyall Dawson
becf6904b1 Port extract specific nodes algorithm to new API
Improvements:
- keep Z/M values if present in geometries
2017-07-28 11:50:16 +10:00
Nyall Dawson
ecaee1a3f2 QgsGeometry::vertexAt now returns QgsPoint, not QgsPointXY
Since it's easy to convert from a QgsPoint to a QgsPointXY,
but impossible to recover the Z/M values lost by only
returning a QgsPointXY.
2017-07-28 11:48:50 +10:00
Nyall Dawson
620d4e0bcd Port delete duplicate geometries to new API 2017-07-28 11:04:12 +10:00
Nyall Dawson
5b6696fce3 Port equivalent num field algorithm to new API 2017-07-28 10:54:35 +10:00
Juergen E. Fischer
fbff452e5c run t2tdoc 2017-07-28 01:09:11 +02:00
Jürgen Fischer
adeef36ac8 Merge pull request #4935 from johanvdw/patch-1
update INSTALL: only GRASS 7 is supported
2017-07-28 01:03:06 +02:00
Johan Van de Wauw
0a4a76ec9b update INSTALL: only GRASS 7 is supported
INSTALL has to be updated as only GRASS7 is now supported (
#4847 )
2017-07-27 22:47:52 +02:00
Alessandro Pasotti
c0c18cd466 Added missing \param to ctor documentation 2017-07-27 19:22:01 +02:00
Hugo Mercier
ce223160d2 Merge pull request #4932 from pblottiere/bugfix_chainfilter2
Fixes relation reference widget when filters are reset
2017-07-27 16:40:33 +02:00
Blottiere Paul
5a62029478 Add tests 2017-07-27 13:12:52 +01:00
Blottiere Paul
497662a40c Fixes relation reference widget when filters are reset 2017-07-27 13:09:40 +01:00
Nyall Dawson
5c82a856bf Merge pull request #4929 from nyalldawson/algs
Restore some more processing algorithms...
2017-07-27 21:08:54 +10:00
Nyall Dawson
82182040ab Port Create Constant Raster to new API and add test 2017-07-27 16:02:52 +10:00
Nyall Dawson
e23617a83d Port split with lines to new API
Improvements:
- handle transparent reprojection if layer and lines are in different CRS
2017-07-27 15:38:55 +10:00
Nyall Dawson
516249cea7 Port Explode algorithm to new API
Improvements:
- Keep Z/M values if present
- Add unit tests
2017-07-27 15:21:56 +10:00