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
lbartoletti
74f7cb5414
Add a button to save the query as an external sql file
2018-10-22 12:26:14 +02: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
Giovanni Manghi
90b57ab814
fix GRASS7 r_stats_quantile
2018-10-19 12:46:37 +01:00
lbartoletti
d33052aca3
Fix docstring
2018-10-19 13:26:18 +02: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