37 Commits

Author SHA1 Message Date
Nyall Dawson
5a6f11d52e Some cleanups 2017-04-07 13:21:28 +10:00
Nyall Dawson
ebd851993a Remove processing specific methods for adding/removing providers
QgsProcessingRegistry methods should always be used instead
2017-04-07 13:21:28 +10:00
Nyall Dawson
fdcf04f9f3 Remove AlgorithmProvider
Totally ported to QgsProcessingProvider
2017-04-07 13:21:28 +10:00
Nyall Dawson
42a614154c Also refactor provider context menu actions and remove from AlgorithmProvider 2017-04-07 13:21:28 +10:00
Nyall Dawson
651355d569 Refactor provider actions and remove from AlgorithmProvider 2017-04-07 13:21:28 +10:00
Nyall Dawson
117260dcf3 Remove activation control from AlgorithmProvider
Split between QgsProcessingProvider and subclasses
2017-04-07 13:21:28 +10:00
Nyall Dawson
4970bb4cd5 Move more algList functionality to QgsProcessingRegistry 2017-04-07 13:21:28 +10:00
Nyall Dawson
b3142a0baf Move provider algorithm handling to QgsProcessingProvider 2017-04-07 13:21:28 +10:00
Juergen E. Fischer
c77172ed3d fix more flake8 warnings 2017-03-05 10:21:24 +01:00
Nyall Dawson
04eb293362 [processing] Move some SVG icons out of plugin to themes
...and swap to using QgsApplication methods for retrieving cached icons,
implement svgIconPath for providers with SVG icons
2017-01-11 10:55:16 +10:00
Nyall Dawson
bb24dfe245 [processing] c++ base class for providers
Nothing particularly exciting here yet, but this commit
moves the definition of the provider base class to a c++
QgsProcessingProvider abstract base class.

As part of this some existing python methods were renamed
to make their use clearer and to fit with the QGIS c++
api conventions:

- getName was renamed to id
- getDescription was renamed to name
- getIcon was renamed to icon

These API breaks are documented
2017-01-11 10:55:15 +10:00
Alexander Bruy
3a03c98a08 [processing] configurable URL for scripts and models repository 2017-01-10 14:17:25 +02:00
nirvn
00ee2ad989 [processing] vectorize and improve menu icons (fixes #14474) 2016-12-31 11:59:46 +07:00
Nyall Dawson
062aa9aee4 Indentation 2016-06-01 10:09:03 +10:00
volaya
b52828fac7 [processing] allow creating new plugin from toolbox with scripts 2016-05-30 10:41:45 +02:00
Alexander Bruy
d16f04bf3a [processing] support multiple scripts/models folders (fix #10476) 2016-05-26 13:56:21 +03:00
Denis Rouzaud
8071acd064 move PyQt compat folder to python/qgis 2016-04-29 14:10:26 +02:00
Alexander Bruy
abda90fe0d [processing] filter items in toolbox using translated and original names (fix #13764) 2016-04-11 15:57:22 +03:00
Juergen E. Fischer
2526d3e3c8 processing: switch to pyqt wrappers, flake8 fixes 2016-03-21 17:00:25 +01:00
Nyall Dawson
cbe8cb7282 Formatting update, using newer autopep8 version 2016-01-30 09:33:24 +11:00
volaya
09c8239a77 [processing] fixed missing colon in function definition 2015-11-27 09:13:04 +01:00
volaya
0a21d91be5 [processing] allow manually add scripts to scripts provider 2015-11-27 08:51:53 +01:00
volaya
b80a1bcac5 [processing] fixed handling of folders and files in settings
fixes #12511
2015-06-26 12:00:02 +02:00
Alexander Bruy
30dbd8fd5b [processing] drop resources.qrc and load images dynamically. Also remove
unused images
2015-05-19 15:30:25 +03:00
Juergen E. Fischer
956c155e8f fix python pep8 warnings and fix some revealed errors
pep8 --ignore=E111,E128,E201,E202,E203,E211,E221,E222,E225,E226,E227,E231,E241,E261,E265,E272,E302,E303,E501,E701 \
     --exclude="ui_*.py,debian/*,python/ext-libs/*" \
     .
2015-02-01 20:46:47 +01:00
Alexander Bruy
bd13693ae3 [processing] make bunch of strings translatable (sorry translators) 2014-10-04 11:36:39 +03:00
Juergen E. Fischer
647504306c indentation update 2014-07-13 17:16:24 +02:00
Victor Olaya
784b46bbcd [processing] allow adding core processing algs using scripts 2014-07-11 09:06:34 +02:00
volaya
023fc007e6 Merge pull request #1389 from radosuav/small_processing_fixes
[processing] Small fixes
2014-06-12 09:30:56 +02:00
Victor Olaya
9c5c25772b [processing] first implementation of github-based resources manager 2014-06-02 22:45:46 +02:00
Rado Guzinski
3799f115b4 [processing] Search for description files also in the sub-directories of the script/model directory 2014-05-26 17:39:35 +02:00
volaya
57f63695ac [processing] added new tools to add scripts/models from files 2014-04-20 19:37:10 +02:00
Alexander Bruy
498a5d9ab8 [processing] code formatting, make sources more pep8 compliant 2013-10-02 16:24:10 +03:00
Victor Olaya
bb63eb126a [processing] enabled create new script action 2013-09-25 00:29:49 +02:00
Alexander Bruy
0c94067b32 fix rebase issues 2013-09-15 14:30:58 +03:00
Alexander Bruy
59a5a14515 [FEATURE] new Scintilla-based script editor for Processing 2013-09-15 14:30:58 +03:00
Victor Olaya
9bb3d6eb6b renamed "sextante" to "processing" 2013-08-20 09:22:03 +02:00