Nyall Dawson
9c47e1b148
Fix errors when edit model help
2017-06-24 07:35:56 +10:00
Nyall Dawson
df07772a56
Fix error when adding parameter
2017-06-22 12:21:25 +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
1a4a654f8b
Port more model API across to c++
2017-06-20 14:45:13 +10:00
Nyall Dawson
f6358b2118
Begin port of modeler algorithm to c++
2017-06-20 14:45:13 +10:00
Nyall Dawson
efe8bba006
Work on resurrecting modeler
2017-06-20 14:45:13 +10:00
Nyall Dawson
03e40f7497
[processing] Remove all remaining algorithm copies
...
Algorithms are no longer copied - just a single const instance
of each algorithm is used
2017-06-06 07:41:19 +10:00
Nyall Dawson
877775d2c0
Remove a bunch of unneeded imports
2017-05-02 14:47:58 +10:00
Nyall Dawson
ac84326464
[processing] Fix executing models
2017-05-01 17:29:40 +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
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
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
Nyall Dawson
b0dc9f8517
[processing] Fix error when opening modeler ( fix #16270 )
2017-03-16 12:56:42 +10: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
arnaud.morvan@camptocamp.com
c43b04ffff
Fix modeler and batch file dialog
2017-02-09 11:05:09 +01:00
Juergen E. Fischer
89b58d7334
translation string fixes
2017-01-25 02:19:33 +01: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
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
8849e94208
[processing] vectorize basic modeler images
2016-12-31 11:59:53 +07: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
nirvn
f3d7e39abb
[processing] harmonize modeler UI behavior with QGIS
...
- use [close without saving][cancel][save] option when closing
a modeler with unsaved changes
- invert mouse wheel zoom in/out to match that of QGIS' main
canvas window
- holding the mouse middle click and dragging will pan the
modeler view
2016-11-11 15:47:42 +07:00
Nyall Dawson
3550cc99a6
[processing] Allow algorithms to specify tags
...
Tags are used while searching in the toolbox. This should help with
finding algorithms when the exact name is not known, eg
you could search for "envelope" or "bounds" and find the
'Polygon from Layer Extent' algorithm.
At the moment it's quite hard to discover algorithms which exist
when you don't know what their called and have to instead search
for every possible naming variant which could exist...
2016-11-08 10:15:31 +10:00
Nyall Dawson
6a99017bf0
[processing] Use with ... when opening files
2016-11-07 11:36:38 +10:00
Nyall Dawson
dd4b34ed16
[processing] Modeller should not be modal
2016-10-31 14:37:45 +10:00
nirvn
8ee25cdfa8
[processing] fix modeleter mouse wheel zoom under qt5
2016-10-22 12:28:17 +07:00
arnaud.morvan@camptocamp.com
4184934b9a
[processing] Apply 2to3 on changes
2016-10-05 12:39:01 +02:00
Alexander Bruy
3407ced90e
fix indentation
...
Conflicts:
python/plugins/processing/gui/BatchInputSelectionPanel.py
python/plugins/processing/gui/wrappers.py
2016-10-05 12:38:50 +02:00
volaya
96406e52cd
[processing] removed message dialog when saving model. Using message bar instead
2016-10-05 12:38:15 +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
Juergen E. Fischer
31df84aa6b
run 2to3 on source
2016-09-21 23:30:04 +02:00
Juergen E. Fischer
6b8130d54d
remove pngs which are available as svg
...
(cherry picked from commit 1cbb842feb393b7bab2b31b2e970c48816c58d3c)
2016-09-11 22:33:41 +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
48cca3bc12
[processing] always use user-defined default folder for scripts/models
2016-07-25 16:22:21 +03:00