Nyall Dawson
d62d0b82e3
Port model help editor dialog to c++
2022-02-28 17:33:49 +10:00
Nyall Dawson
26c8fe9aa6
Indent JSON copied from processing history
2021-12-21 15:32:57 +10:00
Nyall Dawson
940270e91f
Also show "Copy as Python" action in right click menu
2021-12-21 15:32:57 +10:00
Nyall Dawson
3714e25800
[feature][processing] As 'copy as json' and 'copy as qgis_process
...
command' actions to right click menu in history dialog
2021-12-21 15:32:57 +10:00
Nyall Dawson
adf290b2b2
Improve title for algorithms in history
...
Use a string with just the input values instead of the python
command
2021-12-21 15:32:57 +10:00
Nyall Dawson
cf0e266a15
Store results for processing algorithm executions
2021-12-21 15:32:57 +10:00
Nyall Dawson
5e5540c890
[processing] Port algorithm log to new history provider API
...
No user visible changes, but we gain the flexibility for better
history storage, including the ability to store the outputs
calculated by the algorithm execution...!
2021-12-21 15:32:57 +10:00
Nyall Dawson
eea2ba3d93
QgsProcessingAlgorithmDialogBase subclasses should also implement
...
the QgsProcessingContextGenerator interface
2021-12-16 11:15:34 +10:00
Nyall Dawson
03d0c573c4
Add mode enum for processing algorithm dialogs so that code can
...
determine if the single execution or batch execution dialog is shown
2021-12-16 11:15:34 +10:00
Nyall Dawson
5333f17791
Ensure that createProcessingParameters implementation in AlgorithmDialog won't leak exceptions to c++ callers
2021-12-16 11:15:34 +10:00
Nyall Dawson
86794dabdc
Fix interface for QgsProcessingParametersGenerator was modified for
...
the python subclasses only and no longer correctly overrides the
base class method
2021-12-16 11:15:34 +10:00
Alessandro Pasotti
46c47f1fb9
Fix processing toolbox double click
2021-12-06 09:53:43 +01:00
Alessandro Pasotti
fe61a987ac
Add missing imports
2021-11-30 21:06:57 +10:00
Alessandro Pasotti
bc3e4ca7fe
Set parents and factor out GUI alg executor
2021-11-30 21:06:57 +10:00
nirvn
24a61fafb1
[ui][processing] Also allow the enter key to launch the selected algorithm
2021-10-10 04:26:41 -07:00
Joonalai
b61fe2734e
Remove redundant progress text
2021-09-20 16:47:15 +10:00
Joonalai
60b74efdc1
[processing] log the start time ( fix #44292 )
2021-09-20 16:47:15 +10:00
pathmapper
54e7e33d12
Translate also ":"
...
for languages which don't use a ":" character
2021-09-06 16:25:13 +10:00
pathmapper
c8e814a995
Don't include HTML tags for translations
2021-09-06 16:25:13 +10:00
pathmapper
5c4ab41886
Add missing information to HTML preview
...
and use same wording as in qgsprocessingutils
2021-09-06 16:25:13 +10:00
pathmapper
39b6d035bd
Add only parameters with description and headers with parameters
2021-09-06 16:25:13 +10:00
pathmapper
4659870d5f
Remove algorithm description header
2021-09-06 16:25:13 +10:00
pathmapper
dcef058ac1
Don't add ouputs to input parameters
2021-09-06 16:25:13 +10:00
nirvn
6b993f6b98
[FEATURE][processing] Brand new duration parameter
2021-07-27 13:46:09 +07:00
nirvn
19eaec7436
[processing] Clear python command in history dialog when selecting a non-algorithm item (i.e. folder)
2021-06-28 00:15:40 -07:00
nirvn
a777ba8a26
[ui][processing] Fix broken enter key showing help instead of running algorithm in history dialog
2021-06-28 00:15:40 -07:00
nicogodet
681ff42938
exit fillTree() if no log entries
2021-06-28 06:44:31 +10:00
nicogodet
908e38a20a
typo
2021-06-24 04:36:26 +10:00
Alexander Bruy
82ad2051e6
fix file permissions
...
remove duplicated short help file
2021-06-21 07:17:36 +03:00
Nyall Dawson
3ae96253de
[processing] Fix use of data defined parameter values when editing
...
features in place
Fixes #43758
2021-06-17 13:18:12 +10:00
nicogodet
2e5e6264bf
fix auto populating when input param is QgsProcessingParameterMapLayer
2021-06-02 07:14:30 +10:00
Nyall Dawson
61ac64c5a1
[processing] Python entry in history dialog should be processing.run
...
line, not processing.execAlgorithmDialog
We want this line to be copy/pastable into a script which executes
the algorithm without user interaction, same as QGIS <= 3.18
Followup https://github.com/qgis/QGIS/pull/42541
2021-05-28 14:34:20 +10:00
nirvn
026b8416ae
[processing] Regroup executed algorithms under meaningful groups in the history dialog
2021-04-03 20:46:02 -07:00
nirvn
edaf49c1f5
[processing] Add a help string to tell users what they can do in the history dialog
2021-03-29 15:06:49 +07:00
nirvn
7b66ba8291
[processing] Use algorithm icon and friendly display names in the history dialog
2021-03-29 15:06:48 +07:00
nirvn
fb2240ecac
[processing] Properly style the history dialog's python command string
2021-03-29 14:03:29 +07:00
Nyall Dawson
8240788799
[processing] When an algorithm is run in place through the 'ef' locator
...
filter, ensure the progress bar is removed when the algorithm
finishes
Otherwise it hangs around in the message bar until it's manually
dismissed, unlike the behavior when you run an in-place operation
through the toolbox.
2021-03-16 10:44:40 +10:00
Nyall Dawson
35a781d441
[processing] Fix misleading "cancel" label shown for "close" button
...
This button isn't a cancel button - it just closes the dialog, and
doesn't abort any changes which have already been made as a result
of running the algorithm through the dialog.
2021-03-16 10:20:53 +10:00
Matthias Kuhn
a825b5af35
Merge pull request #41738 from m-kuhn/alg_exec_no_selection_unbound_local
...
Fix calling in place with empty iterator
2021-02-22 21:59:36 +01:00
Matthias Kuhn
60ad7d43b3
Fix calling in place with empty iterator
...
```
File "/home/mkuhn/.local/share/QGIS/QGIS3/profiles/default/python/plugins/autocurve/plugin.py", line 127, in curvify
AlgorithmExecutor.execute_in_place(alg, {})
File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmExecutor.py", line 305, in execute_in_place
ok, results = execute_in_place_run(alg, parameters, context=context, feedback=feedback)
File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmExecutor.py", line 214, in execute_in_place_run
results, ok = {'__count': current + 1}, True
UnboundLocalError: local variable 'current' referenced before assignment
```
2021-02-22 15:06:19 +01:00
Evan Derickson
0e63799012
Reduce appends
2021-02-20 12:26:00 +10:00
Jean-François Bourdon
64d921fe53
Reformat elapsed time in processing to express time in hours, minutes and seconds ( #41573 )
...
When appropriate, express the elapsed time in hours, minutes and seconds in addition to cumulative seconds.
2021-02-20 06:35:16 +10:00
Nyall Dawson
c8d61499ff
[processing] Instead of a hidden parameter for verbose model logging,
...
add an explicit log level getter/setter to QgsProcessingContext which
algorithms can use to determine an appropriate level of feedback
to push to users.
Initially the verbose log only triggers the full verbose output
of model executions (which is also used when running models through
the model designer), but the intention is that more algorithms
will fine tune their output based on the logging level.
qgis_process also gains a new --verbose switch to enable verbose
log output.
2021-02-20 05:04:00 +10:00
Nyall Dawson
f5d3164e2c
[processing] Input parameter name for in place algorithms is not
...
always fixed, so ensure we correctly obtain and use the correct
input parameter name
2021-02-03 12:38:35 +10:00
Nyall Dawson
c6895d969a
[processing] Correctly set IN_PLACE configuration option when running in place algorithms through locator filter
2021-02-03 12:38:35 +10:00
Nyall Dawson
46dbd8b2d6
[processing] Fix exception in algorithm locator filter if an
...
algorithm has no group set
The group isn't mandatory
2021-02-02 14:51:33 +10:00
Nyall Dawson
c703d81c9c
[processing] Fix exception after running algorithm in modeler
...
Fixes #40907
2021-01-12 13:38:01 +10:00
roya0045
d11d28ca3e
re-commit variable changes
2021-01-05 18:24:06 +10:00
roya0045
5920ded609
invert logic
2021-01-05 18:24:06 +10:00
roya0045
d45b6144e4
add skip kwarg
2021-01-05 18:24:06 +10:00