12249 Commits

Author SHA1 Message Date
Nyall Dawson
4e182be4ec [processing] Fix 'selected features' checkbox is incorrectly disabled
Fixes #18278
2018-03-01 15:29:06 +10:00
Denis Rouzaud
a483ef817a correctly use reference for context in QgsReadWriteContextCategoryPopper 2018-02-28 17:02:51 -09:00
Nyall Dawson
b17a5560b8
Merge pull request #6486 from nyalldawson/dynamic
[processing] Support dynamic properties for all native c++ algorithms
2018-03-01 10:40:25 +11:00
Salvatore Larosa
a34b46bc7b [dbmanager] fix toolbar icon size 2018-02-28 23:25:02 +01:00
Salvatore Larosa
5fda4025f4 [processing] fixes missing icon for create grid algorithm 2018-02-28 21:50:49 +01:00
Denis Rouzaud
b8ceda673c fix doxymentation 2018-02-28 15:00:11 -04:00
Denis Rouzaud
4e2eb0eb9c use a pointer otherwise Python is creating a copy 2018-02-28 13:43:11 -04:00
Denis Rouzaud
d171ca7ae4 offer enterCategory in Python bindings by adding a context manager 2018-02-28 13:43:11 -04:00
Denis Rouzaud
8582517966 avoid required call to leaveCategory by adding a RAII private class 2018-02-28 13:43:11 -04:00
Denis Rouzaud
89892926c0 add C++17 [[maybe_unused]] and [[no_discard]] 2018-02-28 13:43:10 -04:00
Denis Rouzaud
95ab3d05e0 doxymentation and better wording 2018-02-28 13:43:10 -04:00
Denis Rouzaud
fc2ba14154 [QgsMessageBar] add convenience method to display message with a show more dialog 2018-02-28 13:43:10 -04:00
Denis Rouzaud
b95f5c1a15 QgsReadWriteContext: add a category stack to know where the error message comes from
also change the QPair in favor of a struct for a better API
2018-02-28 13:43:10 -04:00
Denis Rouzaud
22008a5114 doxymentation 2018-02-28 13:43:10 -04:00
Denis Rouzaud
d421b857e5 QgsReadWriteContext can store message
app will show them in message bar when loading layers
2018-02-28 13:43:10 -04:00
Denis Rouzaud
47ab9b89e7 remove const for QgsReadWriteContext to allow bringing up error messages 2018-02-28 13:43:10 -04:00
nirvn
2af9c40882 [processing] add tags to statistics by categories algorithm 2018-02-28 11:31:29 +07:00
nirvn
89e2b02122 [processing] add tags to refactor fields algorithm 2018-02-28 11:31:29 +07:00
Nyall Dawson
98b902bdc0
Merge pull request #6472 from DelazJ/algShortcuts
Fix list of algorithms shortcut in vector and raster menus
2018-02-27 12:15:00 +11:00
Nyall Dawson
81d53644eb [processing] Fix restoring parameter values from batch panel load button
Fixes #18236
2018-02-27 11:58:50 +11:00
Nyall Dawson
6e44a27764 [processing] Fix exception when parameters are missing in batch dialog
Refs #18236
2018-02-27 11:58:50 +11:00
Harrissou Sant-anna
4c32a01bde
Fix list of algorithms shortcut in vector and raster menus
Fix #18175
2018-02-26 20:14:12 +01:00
Martin Dobias
bbb2727bc3 Minor fixes (spelling, renaming, sip magic) 2018-02-26 18:34:44 +01:00
Martin Dobias
f56d70f3f8 [FEATURE] Indicators for layer tree view + filter indicator implementation
This adds a mini-framework for display of extra icons in layer tree views
next to layer and group names. Tool tip text can be associated with indicators
to give extra context for indicators. In addition, a signal gets emitted
when user clicks indicators and custom actions can be defined.

The main window's layer tree view (ToC) gets support for indicators
that are shown when a vector layer has a filter applied. This makes it easier
for users to understand that they are looking at a subset of all data.
Clicking the indicator's icon brings up query builder.
2018-02-26 18:34:43 +01:00
Matthias Kuhn
3a1c56731e
Merge pull request #5835 from NathanW2/canvas_dock_zoom
Add Auto Zoom to Selection for map canvas dock
2018-02-26 09:07:18 -03:00
Nyall Dawson
bfa3cab0bb [processing] Fix model docks are not removed when closing modeler
Actually caused by the modeler dialog never being deleted correctly.

Fixes #18213
2018-02-26 20:52:42 +11:00
Alexander Bruy
4777abb48e [processing] add icons to SAGA algorithms (fix #18211) 2018-02-26 10:37:17 +02:00
Nyall Dawson
44896c3636 [processing] Fix grass point parameter evaluation 2018-02-26 17:10:09 +11:00
Nathan Woodrow
347e6f1ab8 [FEATURE] [needs-doc] Add Auto Zoom to Selection for map canvas dock 2018-02-26 14:31:19 +10:00
Nyall Dawson
7f9274350a [processing] Fix expection when double clicking alg in history with dynamic property 2018-02-26 13:40:05 +10:00
Nyall Dawson
cc10bbd950 [processing] Allow empty expressions in refactor fields alg
Fixes #15640
2018-02-26 10:20:19 +11:00
Nyall Dawson
2900acef51 [processing] Fix crash when algorithms fail to prepare
Refs #15640
2018-02-26 10:20:19 +11:00
Alexander Bruy
a54192cb72 [processing][help] use new anchor style also for modeler 2018-02-25 12:23:57 +02:00
Alexander Bruy
25c5d8dbea Revert fixes to gdal algorithms, need to investigate further 2018-02-25 08:49:55 +02:00
Nyall Dawson
703898e923 Update test masks 2018-02-25 12:47:58 +11:00
Nyall Dawson
094cef7140 Sipify and astyle 2018-02-25 08:22:14 +10:00
Salvatore Larosa
332c8a59b9 [processing] Fixes #18187: SAGA output extent values are not in the right order 2018-02-24 22:57:40 +01:00
Alexander Bruy
f3af22e16e follow up f638b3cb 2018-02-24 20:28:22 +02:00
Alexander Bruy
f638b3cb52 [processing] fix wrong variable name in GDAL alggorithms base class 2018-02-24 19:51:34 +02:00
Nyall Dawson
f35745fc70 Follow up map layer action changes
- Switch to flags instead of boolean argument
- Move logic for layer validity to canRunUsingLayer
- Add unit test

Also remove settings flag to hide duplicate features action
2018-02-24 20:15:13 +11:00
Nyall Dawson
1bada065ed [FEATURE][processing] Add 'Project points (cartesian)' algorithm
Projects points from an input point layer by a specified distance
and bearing (azimuth). Supports dynamic parameters for the distance
and bearing so that they can use field values or expressions.
2018-02-24 14:23:10 +11:00
tilmanb
176591b471
Update header comment to reflect actual file name
The filename in the top comment now matches the real file name.
2018-02-23 17:15:53 +01:00
Alexander Bruy
131efbdd1e
Merge pull request #6367 from slarosa/fix_saga_osx
[processing] fix execution of SAGA algorithms under macos
2018-02-23 12:18:03 +02:00
Alexander Bruy
f93dc908fa
Merge pull request #6434 from alexbruy/python-console
[python console] remove 'u' prefixes from strings (fix #18171)
2018-02-23 12:17:43 +02:00
Salvatore Larosa
2d9ee3dcb0 [pyqgis-coonsole] APIs file updated 2018-02-23 11:06:49 +01:00
Alexander Bruy
8d69dc1fb6 indentation 2018-02-23 11:43:32 +02:00
Alexander Bruy
7823025b8d [python console] remove 'u' prefixes from strings (fix #18171) 2018-02-23 10:39:08 +02:00
Alexander Bruy
a554409ede [processing] don't use scandir() to get directory contents (fix #18180) 2018-02-23 10:30:03 +02:00
Alexander Bruy
673421b00d
Merge pull request #6423 from nyalldawson/proc_auto_select_alg
[processing] Some toolbox ux tweaks
2018-02-23 08:38:22 +02:00
Alexander Bruy
a5399def03
Merge pull request #6429 from nyalldawson/fix_18179
[processing] Fix config exception with INT/FLOAT settings
2018-02-23 08:35:55 +02:00