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
ff32054da6
Fix some breakage
2017-04-07 13:21:28 +10:00
Nyall Dawson
fb1cf1e185
Remove processing algList
...
All functionality has been moved to QgsProcessingRegistry
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
2a1a71574a
Move algorithm id (previously commandLineName) to QgsProcessingAlgorithm
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
e506ceb1f8
Move flags (hide from toolbox, etc) to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
6987d7b37c
Port handling of algorithm names to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
dc729c1b5a
Move algorithm group handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
faa8a653b2
Move algorithm icon handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Nyall Dawson
28e75731e1
Move tag handling to QgsProcessingAlgorithm
2017-04-03 21:17:45 +10:00
Alexander Bruy
1a46ddbf28
[processing][API] rename runalg() and runandload() to improve
...
readability
2017-03-22 19:17:12 +02:00
Nyall Dawson
8e6d792710
Swap all QScrollAreas to QgsScrollAreas
2017-03-21 08:46:41 +10:00
Nyall Dawson
b0dc9f8517
[processing] Fix error when opening modeler ( fix #16270 )
2017-03-16 12:56:42 +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
Juergen E. Fischer
ecc5bb508e
pep8/pyflakes3 cleanups
2017-03-04 02:38:15 +01:00
Juergen E. Fischer
a10c890383
More QgsSettings updates:
...
* revives WMS
* QgsSettings::clear() added
* section added to QgsSettings::contains()
* type parameter added to sip binding of QgsSettings.value()
* TODO: customization & evis
2017-03-04 02:37:59 +01:00
Nyall Dawson
47683fca4f
[needs-docs] Rename Outline and Border -> Stroke
...
This change is being driven by:
- need for consistent terminology in the api. Currently there's
a confusing mix of border/outline used
- need for consistent terminology in the gui - we have a mix
of "border"/"outline"/"pen"
- bringing QGIS into line with the standard terminology used
in other graphic editing programs
2017-02-22 19:22:45 +10:00
arnaud.morvan@camptocamp.com
7bffef7044
[processing] Fix ModelerParametersDialog when len(widget) == 0
2017-02-10 11:01:41 +01:00
arnaud.morvan@camptocamp.com
c43b04ffff
Fix modeler and batch file dialog
2017-02-09 11:05:09 +01:00
Juergen E. Fischer
a61b9222de
Qt 5.2 has QComboBox::currentData
2017-01-25 03:28:53 +01:00
Juergen E. Fischer
89b58d7334
translation string fixes
2017-01-25 02:19:33 +01:00
Nyall Dawson
9124100fb6
Python formatting updates
2017-01-23 12:25:19 +10:00
Nyall Dawson
ede452be85
[processing] Port feedback object to c++
...
Algorithms are now passed a QgsProcessingFeedback object
instead of the loosely defined progress parameter.
2017-01-11 11:11:10 +10: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
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
Mathieu Pellerin
9908d9cf81
[processing] fix modeler output values in case algorithm(s)
...
execution modifies those (fixes #16021 )
2017-01-04 15:18:17 +07:00
Nyall Dawson
0bdc99000c
Cosmetic improvements to procesing modeller
...
- always use a 1px outline around items, regardless of zoom
- don't change text color for selected items (too hard to read),
instead change outline/box color
2017-01-04 07:50:33 +10:00
Mathieu Pellerin
56d5a375a1
[FEATURE] Zoom in/out and fit items to view actions for the modeler ( #3939 )
2017-01-03 12:15:03 +07:00
nirvn
f54476cdda
[FEATURE] Export processing models as PDF/SVG
2017-01-02 11:47:54 +07:00
nirvn
4603eb0f3d
[processing] update color scheme and position of modeler elements
2017-01-02 09:30:17 +07:00
nirvn
d01e3feafc
[processing] convert modeler icons to pictures to kill pixels when zoomed
2017-01-02 08:47:11 +07:00
nirvn
8849e94208
[processing] vectorize basic modeler images
2016-12-31 11:59:53 +07:00
nirvn
00ee2ad989
[processing] vectorize and improve menu icons ( fixes #14474 )
2016-12-31 11:59:46 +07:00
Alexander Bruy
2fea23f1e5
Merge pull request #3779 from volaya/rastercalculator
...
[processing] add native raster calculator
2016-12-05 20:03:23 +02:00
Alexander Bruy
77bbeaa99f
fix loading of models containing user-defined scripts
2016-12-05 10:31:38 +02:00
Alexander Bruy
50a785bdd6
[processing] indentation update
2016-12-01 12:53:57 +01:00
volaya
a7f9018e11
[processing] added native raster calculator algorithm
...
Conflicts:
python/plugins/processing/algs/qgis/QGISAlgorithmProvider.py
2016-12-01 12:52:45 +01:00
volaya
fcc343724e
[processing] some fixes and changes in parameters and parameters panel
2016-12-01 12:50:27 +01:00
Nyall Dawson
08505b388a
[processing] Allow restricting fields to date/time types
2016-11-30 15:04:21 +10:00
Alexander Bruy
95072e9bfd
Merge pull request #3802 from alexbruy/processing-scripts
...
[processing] script editor UI improvements
2016-11-24 14:36:57 +02:00
Alexander Bruy
c3ed39061d
[processing] improve script editor dialog
...
Use QMainWindow instead of QDialog, add normal toolbar instead of
QToolButtons. Also fix some issues caused by Qt5 switch.
2016-11-24 12:34:59 +02:00
nirvn
a6ebe830b0
[processing] upgrade modeler to make use of qgsdockwidgets
2016-11-24 11:59:19 +07:00
nirvn
6e2288dccb
[processing] switch a couple of modeler pop up dialogs to message bars
2016-11-23 17:28:34 +07:00
nirvn
2652aa50c9
[processing] improve the modeler dialog UI and icons
...
- use a proper toolbar to match other parts of QGIS
- show keyboard shortcuts in toolbar action tooltips
- create vector icons to replace PNG ones
2016-11-23 13:45:17 +07:00
Nyall Dawson
3ef7b3b7eb
[processing] Use standard QGIS projection selection widget for CRS params
2016-11-13 20:34:35 +10:00