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
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
Alessandro Pasotti
71e85cc0b8
Merge pull request #8231 from elpaso/bugfix-20147-in-place-difference
...
[in-place][needs-docs] add buffer for polygons and fix #20147 in place difference
2018-10-19 22:40:57 +02:00
Denis Rouzaud
5fd6f68701
Zoom tool: do not draw rect when zooming out, update cursor when pressing alt
2018-10-19 16:33:48 -04:00
Denis Rouzaud
773167411c
add isActive to QgsMapTool and update cursor when it is active
2018-10-19 16:33:48 -04:00
Nyall Dawson
f00e43d3c2
[layouts] Hack around inconsistent subclassing of layout items by sip
...
Sometimes, calling some layout methods, results in sip being inable
to downcast the items to their correct type, resulting only
in a QgsLayoutItem object.
This works around the problem, albeit in an incredibly hacky way.
2018-10-20 06:19:34 +10:00
Denis Rouzaud
ff1face71d
more dox
2018-10-19 13:46:10 -04:00
Alessandro Pasotti
adb930b204
Speed up getFeatures query by using a proper QgsFeatureRequest
2018-10-19 16:27:18 +02:00
Denis Rouzaud
b4e87d873e
use float precision
2018-10-19 10:07:05 -04:00
Denis Rouzaud
09d2260b86
rename physicalSize to deviceOutputSize
2018-10-19 09:53:42 -04:00
Denis Rouzaud
ea982fe3d2
[ fix #17773 ] fix HiDPI in map canvas on mac
...
For system introducing pixel device ratio, the image rendered by the canvas is actually scaled up to match the physical size of the canvas"
2018-10-19 08:50:12 -04:00
Nyall Dawson
f23b09b845
[needs-docs][layouts] Expose menus and toolbars (and some other goodies) to stable
...
layout designer interface API
This commit adds more methods to the public, stable API for the layout
designer dialog, allowing plugins and scripts greater flexibility
in extending and hooking into the layout designer.
New API includes:
- access to the main menus shown in the dialog, allowing custom actions
to be added to the dialog
- access to the dialog's toolbars
- methods for adding (and removing) additional dock widgets to the designer
- the method used to show/hide rulers in the designer
2018-10-19 11:53:04 +10:00
Giovanni Manghi
a151debcc1
fix GRASS7 v_cluster tool
2018-10-19 08:34:42 +10:00
Nyall Dawson
1500c3eecb
Fix dox
2018-10-19 08:32:56 +10:00
Nyall Dawson
5d9d903fb0
Move browser proxy model to core library and expose as stable API
...
This class is useful for plugins and other areas of QGIS code which
want to expose a limited browser interface (e.g. a vector layer
only type layer picker)
Also add unit tests
2018-10-19 08:32:56 +10:00
Nyall Dawson
72bf08e2b7
Deprecate QgsBrowserModel::connectItem
...
This method should only be private, and is completely dangerous
to call from external code (it breaks the model!).
Deprecate and replace with a no-op
2018-10-19 08:32:56 +10:00
Nyall Dawson
765dbf6ae7
Dox, tests
2018-10-19 08:32:56 +10:00
Alessandro Pasotti
71e2a6be7e
In-place passthrough for invalid geometries if processing option is to skip invalid
...
Fixes #20147 - difference deletes invalid geometries
2018-10-18 17:43:00 +02:00
Alessandro Pasotti
5393df88ac
Fixed documentation: FetchAttributes does not exist
2018-10-18 17:39:26 +02:00
Martin Dobias
f437a7e02b
Added docs
2018-10-18 16:56:27 +02:00
Alessandro Pasotti
4010e79fe3
Merge pull request #8200 from elpaso/bugfix-20094-followup-096b4ce
...
Slow field calculator - Bugfix 20094 followup 096b4ce
2018-10-18 08:39:03 +02:00
Borys Jurgiel
b7673c7616
[Plugin Manager] Fix plugin status checkbox not refreshed after installing from zip
2018-10-16 23:06:13 +02:00
Nyall Dawson
4459c9a6f8
Dox
2018-10-17 06:19:06 +10:00
Nyall Dawson
8b5bf3c17c
Remove some redundant dox from QgisAppInterface
2018-10-17 06:19:06 +10:00
Nyall Dawson
905031945f
Expose application browser model instance to iface
...
Reusing the existing browser model is more efficient then reconstructing
new models, so it's useful for plugins to have access to this instance
too.
2018-10-17 06:19:06 +10:00
Salvatore Larosa
3cb9ef2294
fix build without server and 3d
2018-10-16 18:45:25 +02:00
Salvatore Larosa
d2f51f8f8f
Merge pull request #8209 from slarosa/fix_api_file_generator
...
add 3d module to API file
2018-10-16 15:38:40 +02:00
Salvatore Larosa
20c9a5da33
add 3d module to API file
2018-10-16 12:52:48 +02:00
Matthias Kuhn
190f938654
Merge pull request #8103 from m-kuhn/geometryValidatorCode_1
...
Geometry validation of editing session
2018-10-16 11:34:50 +02:00
Alessandro Pasotti
5defc03086
Fix slow updates from field calculator
...
Fixes #20094
Followup 096b4ce
2018-10-16 09:33:09 +02:00
Alessandro Pasotti
0e50b3ba70
Revert "Merge pull request #8177 from elpaso/bugfix-20094-field-calculator-slowness"
...
This reverts commit 096b4ce00426ee35a1eec5b54453b9ea2e22b903, reversing
changes made to 87e0f6961adcbf7039d2c0bef914cebd747afc67.
2018-10-16 09:33:09 +02:00
Nyall Dawson
ee8e1ce9bc
[processing][gdal] More unit tests
2018-10-16 16:52:00 +10:00
Nyall Dawson
bef8d6e072
Update expected test results
2018-10-16 16:52:00 +10:00