Nyall Dawson
dca697b427
[processing] New c++ QgsProcessingRegistry class
...
Intended as a registry for the various processing components,
including providers, algorithms and various parameters and outputs.
Currently handles only registration of providers, as a step toward
removing processing's algList (this requires first porting
the algorithm class to c++)
A QgsProcessingRegistry instance is attached to QgsApplication,
and is retrieved by QgsApplication::processingRegistry()
2017-01-11 10:55:15 +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
Denis Rouzaud
37ebcdd1cd
[spellcheck] allow inwords checks and line skipping
...
spell check will be done automatically in words by default (when some conditions are fulfilled)
possibility to avoid in words checking by adding :* at the end in spelling.dat
one can add #spellok at the end of a line of code to skip spell check on this line
2017-01-10 20:18:37 +01:00
Alexander Bruy
3a03c98a08
[processing] configurable URL for scripts and models repository
2017-01-10 14:17:25 +02:00
Martin Dobias
63d1cfddc8
Fix QgsExpressionContextUtils::projectScope() usage in processing
2017-01-06 11:34:55 +08:00
nirvn
00ee2ad989
[processing] vectorize and improve menu icons ( fixes #14474 )
2016-12-31 11:59:46 +07:00
Juergen E. Fischer
8d8bbabf81
indentation update
2016-12-14 14:13:31 +01:00
volaya
2c4eb3cb8c
[processing] allow selecting multiple file in ‘add script from file’
2016-12-01 11:29:49 +01:00
Nyall Dawson
6a99017bf0
[processing] Use with ... when opening files
2016-11-07 11:36:38 +10:00
arnaud.morvan@camptocamp.com
4184934b9a
[processing] Apply 2to3 on changes
2016-10-05 12:39:01 +02:00
volaya
01f380863f
[processing] improvements for scripts and R scripts
2016-10-05 12:35:01 +02:00
volaya
efd73a491f
[processing] fixes for new parameters architecture
...
includes better managing of crd and extent parameters in models, not requiring now the use of modeler-only lags
2016-10-05 12:35:00 +02:00
volaya
8cc9a50a52
[processing] moved script syntax from script algorithm class to parameters classes
2016-10-05 12:34:57 +02:00
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Nyall Dawson
eba6101357
Fix broken python save/open dialogs under PyQt5
...
Will break stuff under PyQt4... oh well, better stuff working on Qt5
then Qt4
2016-09-05 11:41:49 +10:00
Alexander Bruy
65db336eaf
[processing] move some constants to the dataobjects module
2016-09-02 09:28:45 +03:00
Alexander Bruy
12d6e15fda
[processing] support for output geometry types in scripts and modeler
2016-09-02 09:28:32 +03:00
volaya
7884e50c31
[processing] fixed dialog for selecting scripts
2016-08-29 14:13:49 +02:00
Alexander Bruy
48cca3bc12
[processing] always use user-defined default folder for scripts/models
2016-07-25 16:22:21 +03:00
Akbar Gumbira
20a2a20025
[processing] Fix add script from file.
2016-07-18 13:11:54 +02:00
Marco Bernasocchi
f9ab7223fc
[processing] ParameterTableMultipleField type added
...
This adds a widget with multiple column attributes selector
2016-06-03 09:27:51 +02:00
Nyall Dawson
062aa9aee4
Indentation
2016-06-01 10:09:03 +10:00
rldhont
bb41cceb34
[Processing] Fix getParameterDescriptions
...
Add import json for script and r
return descs and not None
2016-05-31 17:25:05 +02:00
Alexander Bruy
df6410ec35
fix typo in import
2016-05-30 17:36:42 +03:00
Alexander Bruy
2f7ff46a4b
fix imports (follow up b52828fac7)
2016-05-30 16:53:19 +03:00
Alexander Bruy
6396d8fe60
fix indentation (follow up b52828fac7)
2016-05-30 15:30:00 +03:00
Alexander Bruy
25983ee331
[processing] fix .ui file loading (follow up b52828fac7)
2016-05-30 14:39:28 +03:00
volaya
b52828fac7
[processing] allow creating new plugin from toolbox with scripts
2016-05-30 10:41:45 +02:00
rldhont
27c5f78f4d
Merge branch 'processing_shortHelp'
2016-05-28 09:58:52 +02:00
Alexander Bruy
3d95712009
[processing] add output extent to scripts (refs #11781 )
2016-05-28 10:39:43 +03:00
rldhont
8592a7e3ac
[Processing] Add shortHelp for Scripts, Models and R
...
And enhance getParameterDescriptions
2016-05-28 09:32:49 +02:00
volaya
d4802e5e9e
Merge pull request #3109 from rldhont/bugfix_processing_getParameterDescriptions
...
[BUGFIX][Processing] Add getParameterDescriptions to R, Model and Scr…
2016-05-26 17:11:46 +02:00
rldhont
53089188d5
[BUGFIX][Processing] Add getParameterDescriptions to R, Model and Script algo
2016-05-26 16:53:10 +02:00
Alexander Bruy
d16f04bf3a
[processing] support multiple scripts/models folders ( fix #10476 )
2016-05-26 13:56:21 +03:00
volaya
33fc3be15f
[processing] separated alglist to its own module
2016-05-23 19:36:16 +02:00
volaya
b4e2354163
[processsing] removed unused code
2016-05-18 15:14:29 +02:00
volaya
d390ebdceb
[processing] show script in toolbox even if it contains errors
2016-05-18 14:24:46 +02:00
Alexander Bruy
555fe3d911
[processing] simplify variables handling in scripts
2016-05-13 09:34:25 +03:00
Denis Rouzaud
8071acd064
move PyQt compat folder to python/qgis
2016-04-29 14:10:26 +02:00
volaya
8a9cb05dbb
[processing] better handling of variables in scripts
2016-04-26 12:47:55 +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
volaya
45cb80a0ff
[processing] fixed wild import
2016-04-07 12:32:46 +02:00
volaya
794ef72520
[processing] added support for QGIS variables in python scripts
2016-04-07 12:03:41 +02:00
Juergen E. Fischer
2526d3e3c8
processing: switch to pyqt wrappers, flake8 fixes
2016-03-21 17:00:25 +01:00
Juergen E. Fischer
fb3fcfa3a0
Python3/Qt5/2to3 updates:
...
* pyqtwrappers update (add QtNetwork, QtXml, QtSql, QtTest, uic)
* 2to3 updates
* move QPyNullVariant/NULL to PyQt.QtCore
* add global unicode/basestring/long for Python3
* expand QtGui, QtCore module and star exports
* Qscintilla2
* replace Set import with set builtin
2016-03-14 20:38:20 +01:00
Alexander Bruy
dd68c33eb4
[processing] add support for ParameterPoint to major algorothm providers
2016-02-29 12:41:27 +02:00
Matthias Kuhn
b956886e81
[processing] Initialize icons before first usage
2016-02-04 13:35:16 +01:00
Nyall Dawson
cbe8cb7282
Formatting update, using newer autopep8 version
2016-01-30 09:33:24 +11:00
rldhont
322e511797
[Processing] Fix default value support in script
...
For some parameters like Number if no default is set script is invalid.
2016-01-15 17:25:48 +01:00
volaya
8884c37b6f
[processing] add nocrswarning option to scripts
...
fixes #12784
2016-01-14 11:53:50 +01:00