14060 Commits

Author SHA1 Message Date
Matthias Kuhn
a0e3c2df3b
Merge pull request #8335 from m-kuhn/qgsrectangleSnappedToGrid
Add QgsRectangle::snappedToGrid
2018-10-26 10:00:39 +02:00
Nyall Dawson
bbdbfa17a9 [layouts] Final fixes for data defined widgets showing outdated
data defined definitions when clicking between layout items
of the same type

Fixes #18694
2018-10-26 16:58:08 +10:00
Nyall Dawson
d1e2978314 Add warning to QgsLayerTreeLayer::layer() dox
Because the returned pointer must ALWAYS be tested before
being dereferenced
2018-10-26 16:57:36 +10:00
Matthias Kuhn
694424000c
Merge pull request #8338 from 3nids/fix20201
use Exclude field by default for relation search widget wrapper
2018-10-26 08:24:48 +02:00
Matthias Kuhn
0da210df52
Add QgsRectangle::snappedToGrid
Snaps a rectangle to a grid.
2018-10-26 07:58:27 +02:00
Nyall Dawson
1ae010a6c9 Fix some clang truncate to int warnings 2018-10-26 15:03:54 +10:00
Nyall Dawson
1a2d0cc54f [processing][SAGA] Fix multilevel b spline description files
Resync with SAGA parameters
2018-10-26 13:15:43 +10:00
Nyall Dawson
7f484aba3b Fix some more inconsistent status bar fonts 2018-10-26 11:54:11 +10:00
Denis Rouzaud
8eb193020a
Merge pull request #8330 from 3nids/fix9160
Properly zoom to feature for single point selected
2018-10-25 13:34:49 -08:00
Nyall Dawson
1118f4ac91 Remove some dox details which are likely to go out of date quickly 2018-10-26 07:20:47 +10:00
Denis Rouzaud
95142cc19e use Exclude field by default for relation search widget wrapper
fix #20201
2018-10-25 16:38:22 -04:00
Denis Rouzaud
5577d83a75 mark method as const 2018-10-25 13:49:26 -04:00
Denis Rouzaud
80d0c33f5b add QgsRectangle::scaled which returns the scaled rectangle
facilitates one-lines
2018-10-25 13:37:07 -04:00
Denis Rouzaud
699d8487dc
add QgsFeatureRequest::setNoAttributes (#8326)
since it's more convenient than setSubsetOfAttributes( QgsAttributesList() )
2018-10-25 07:35:05 -08:00
Ted Meyer
a1d6f29e87 Use time.process_time() instead of time.clock()
time.clock is set to be deprecated in python3.8,
and was replaced by time.process_time in python3.3
2018-10-25 20:48:48 +10:00
rldhont
3ff5c8299d
Merge pull request #8319 from rldhont/fix-dbmanager-sql-layer-set-unique-combo-3
[BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
2018-10-25 11:31:27 +02:00
rldhont
236edd2723
Merge pull request #8318 from rldhont/processing-convertformat-geopackage
[Processing] Add GeoPackage support in alg qgis:convertformat (forward)
2018-10-25 10:19:03 +02:00
Borys Jurgiel
d0813a8822 Introduce QgsGui::HigFlags and don't capitalize menu entries and dialog titles in languages other than English. Fixes #19724 2018-10-25 18:11:36 +10:00
rldhont
2eb22d93ff [BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
When opening Update SQL layer, the unique combobox is not well set specifically with oracle.

It's a forward porting of #7872

Funded by Ifremer
2018-10-25 09:30:59 +02:00
rldhont
1d246de545 [Processing] Add GeoPackage support in alg qgis:convertformat (forward)
This is the forward porting of #8143
2018-10-25 09:20:29 +02:00
Nyall Dawson
0bd1b7ab81 Fix failing dox test 2018-10-25 16:41:11 +10:00
Nyall Dawson
124f738188 Allow message bar items to be dismissed from QgsMessageBarItem 2018-10-25 10:51:44 +10:00
Nathan Woodrow
01d2fc58cb
UX - Add icon for field types in expression widget (#8195) 2018-10-25 09:59:03 +10:00
Denis Rouzaud
fa92f41eb5 add missing doxymentation to gui/layout 2018-10-24 07:54:06 -08:00
Denis Rouzaud
0b22508fe6 give a few references in QgisInterface API docs 2018-10-24 07:54:06 -08:00
Denis Rouzaud
1bcd306197 add missing SIP_DEPRECATED annotation 2018-10-24 07:54:06 -08:00
Juergen E. Fischer
4464089487 auto-detect name of sip module used by PyQt5 2018-10-24 13:38:03 +02:00
Alessandro Pasotti
6c218b8032 Fix import sip on python 3.5 2018-10-24 11:13:54 +02:00
Alessandro Pasotti
d76ae43fd1
Merge pull request #8284 from elpaso/bugfix-20099-locator-inplace
[in-place] Fix locator filter for in-place when active layer changes
2018-10-24 08:17:11 +02:00
Nyall Dawson
fee1f95a1c Make sip import path configurable, default to upstream path 2018-10-24 08:10:50 +10:00
Nyall Dawson
0fad3e5731 Fix build with newer sip versions
Fixes #19476
2018-10-24 08:10:50 +10:00
Alessandro Pasotti
a51d7f5be3 Code layout 2018-10-23 18:56:27 +02:00
Alessandro Pasotti
7ecd303acc [in-place] Fix locator filter for in-place when active layer changes
Invalidate the locator results when active layer changes

Fix #20099 - Locator bar does not update the filter of algorithms according to active layer when using "ef"
2018-10-23 16:12:49 +02:00
Alessandro Pasotti
15f4138a47 [db-manager] Store exception text in the task and pass it over to the caller
Fix #2019 - DBManager fails to display error messages with virtual layers
2018-10-23 14:59:10 +02:00
Nyall Dawson
8cf64c8a51 [layouts] Add option to filter "add layer to legend" dialog to
layers visible within the (linked) map only

Fixes #20186
2018-10-23 16:41:06 +10:00
Nyall Dawson
de0e74be59 Add method to whitelist layers to show in QgsMapLayerProxyModel 2018-10-23 16:41:06 +10:00
Mathieu Pellerin
f32fe8b210
[dbmanager] add string description to query task for better notification (#8259) 2018-10-23 13:34:03 +07:00
Nyall Dawson
64c99b7348 Fix missing Factory annotation 2018-10-23 14:16:26 +10:00
Etienne Trimaille
0731148b6b move function map to hstore into QgsHstoreUtils 2018-10-23 13:11:15 +10:00
Nyall Dawson
b2a2a2603c Add fallback to parameter's name to be safe 2018-10-23 12:42:08 +10:00
Nyall Dawson
e5f52f98c2 [processing] Use outputi database layer name instead of file name when
'use filename as layer name' is checked

Avoids raw uri layer names for database type destinations
2018-10-23 12:42:08 +10:00
Nyall Dawson
a093dd7293 [layouts] Add api to retrieve window from designer dialog interface 2018-10-23 10:54:55 +10:00
Nyall Dawson
4212cca56e Add a Python repr for QgsError 2018-10-23 10:37:55 +10:00
Nyall Dawson
8d7c54e8d7 More layout object sip casting 2018-10-23 08:59:10 +10:00
Nyall Dawson
926e03ac3c Spell 2018-10-23 08:59:10 +10:00
Nyall Dawson
8a525b0b86 [layouts] Add notes to layout designer dialog interface documentation
regarding customisation of designer instances
2018-10-23 08:59:10 +10:00
Denis Rouzaud
7e3b5f40b8
Merge pull request #8247 from 3nids/maptoolzoom
fixes to the map tool zoom
2018-10-20 18:44:58 -08:00
Denis Rouzaud
f17b1a5219 restore zoom out rect 2018-10-20 19:55:22 -04:00
Alessandro Pasotti
dcd33186bb [in-place] Fix alg runner when context is none 2018-10-20 10:05:48 +02:00
Alessandro Pasotti
99f3419446 Extend documentation of QgsFeatureRequest::setSubsetOfAttributes
Like suggested by Nyall
2018-10-19 22:44:31 +02:00