Nyall Dawson
82ef7d2a89
Create specific expression context scope for child algorithms
...
Contains variables for model parameters, algorithm results for
other child algorithms which are not dependent on the
algorithm.
Allows removal of final pieces of ModelerAlgorithm code
2017-07-07 11:35:31 +10:00
Nyall Dawson
5822ef9f46
Refresh model algorithms when providers are added
...
Since algorithms which models are dependent upon may now be
available, we need to rebuild them to ensure that they
will operate correctly.
2017-06-24 13:47:34 +10:00
Nyall Dawson
10aeba2e72
Move more modelling code to c++
2017-06-24 07:36:13 +10:00
Nyall Dawson
9a2f14b931
First steps to model/save restore in c++
...
Models now save to QVariantMap, using QgsXmlUtils to save to
an xml based format (with extension .model3)
2017-06-20 17:26:57 +10:00
Nyall Dawson
e9f13d1ea3
Just use standard QgsMessageLog functionality instead of a dedicated
...
method for processing
2017-04-26 13:57:06 +10:00
Nyall Dawson
1394c28d13
[processing] Move some log handling to c++ class
2017-04-26 13:56:29 +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
Nyall Dawson
6987d7b37c
Port handling of algorithm names to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Juergen E. Fischer
c77172ed3d
fix more flake8 warnings
2017-03-05 10:21:24 +01:00
Juergen E. Fischer
f00a87cb8a
update translation strings
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
nirvn
00ee2ad989
[processing] vectorize and improve menu icons ( fixes #14474 )
2016-12-31 11:59:46 +07:00
volaya
484fd18ef6
[processing] fixed add model from file
...
fixes #15335
2016-10-05 12:34:47 +02:00
Alexander Bruy
d16f04bf3a
[processing] support multiple scripts/models folders ( fix #10476 )
2016-05-26 13:56:21 +03:00
volaya
e6b76c4d7b
[processing] cleaning and restructuring
...
This fixes some design errors (mainly the ModelerUtils class, which is not needed anymore to hold a copy of algs and providers in order to avoid circular dependencies) and removes unused code
2016-05-23 19:34:25 +02:00
volaya
bfa90a9125
[processing] fixed toolbox updates
2016-05-18 12:08:34 +02:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Juergen E. Fischer
b39055b39c
indentation update (now including autopep8)
2015-08-22 14:29:41 +02: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
volaya
484e16254d
[processing] fixed help in models
2014-11-23 14:04:06 +01:00
volaya
5e9dc03c7a
[processing] better handling of wrong models
2014-10-18 16:37:05 +02:00
Alexander Bruy
bd13693ae3
[processing] make bunch of strings translatable (sorry translators)
2014-10-04 11:36:39 +03:00
volaya
887469643f
[processing] added support for old model file format
2014-08-22 12:29:04 +02:00
Juergen E. Fischer
8871be0afa
indentation update
2014-07-02 07:46:03 +02:00
Victor Olaya
05cfd69d13
[processing] overhaul of graphical modeler
2014-06-28 14:54:17 +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
bd3f5b136d
[processing] restore Create new model tool in toolbox ( fix #9847 )
2014-03-25 16:39:58 +02:00
Alexander Bruy
498a5d9ab8
[processing] code formatting, make sources more pep8 compliant
2013-10-02 16:24:10 +03:00
Victor Olaya
9bb3d6eb6b
renamed "sextante" to "processing"
2013-08-20 09:22:03 +02:00