241 Commits

Author SHA1 Message Date
Valentin Buira
c508926c67 Adress review : add a recursion blocker 2025-08-07 13:54:54 +10:00
Valentin Buira
b7e655f0ba Address review comments
* spelling
* doxygen tag
2025-08-07 13:54:54 +10:00
Valentin Buira
959a2c904f Fix view jumping around 2025-08-07 13:54:54 +10:00
Valentin Buira
53adb99721 Avoid needless extra method 2025-08-07 13:54:54 +10:00
Valentin Buira
052d48e558 Simplify restaure the previous viewed rect 2025-08-07 13:54:54 +10:00
Valentin Buira
23dca6322b Remove the good superfluous method this time 2025-08-07 13:54:54 +10:00
Valentin Buira
10897ff3a9 Adress comments 2025-08-07 13:54:54 +10:00
Valentin Buira
1f2e30947c Tidy up PR 2025-08-07 13:54:54 +10:00
Valentin Buira
b1b7bef4a5 Fix scrollback to (0,0) on each repaintModel / rebuild of the model 2025-08-07 13:54:54 +10:00
Valentin Buira
3fe0bf5586 Unlimited modeler canvas size 2025-08-07 13:54:54 +10:00
Nyall Dawson
c3a5d163d6 Fix list format in doc 2025-06-07 07:58:04 +10:00
Loïc Bartoletti
eb6246c10c
Merge pull request #62162 from gacarrillor/fix_26435
[fix] Update Processing toolbox search after updating the provider list
2025-06-06 11:27:37 +02:00
Nyall Dawson
b8c4eb0425 Add since 2025-06-06 09:43:35 +10:00
Nyall Dawson
4d74537829 [processing] Fix show feature count option, output layer ordering
Move as much of the postprocessing logic as we can to c++, and
soak with unit tests.

Fix regressions in layer sorting introduced by a46f3e9, and
missing feature counts.

Fixes #61146
2025-06-06 09:43:35 +10:00
Germán Carrillo
b1fee3762b Make sure the Processing tree view is expanded when a provider has been added/removed (i.e., when the model has been rebuilt) 2025-06-05 12:26:32 -05:00
Nyall Dawson
4220d9f227 Add flag to skip validation of processing parameters 2025-04-30 13:56:09 +10:00
Nyall Dawson
31ac029d0a Move processing dialog mode enum to Qgis and rename 2025-04-30 13:56:09 +10:00
Valentin Buira
f56f85dc7c
Add basic drag and drop support in the model designer (#60664) 2025-04-30 09:47:48 +10:00
Valentin Buira
2b51d04014
Add unified panel for input or algorithm in the modeler (#61187) 2025-04-30 09:08:02 +10:00
Nyall Dawson
3f6b490218 Sipify 2025-04-02 11:11:10 +10:00
Nyall Dawson
4a10066b69 Fix grammar errors in class docstrings 2025-04-01 09:44:00 +10:00
Nyall Dawson
afd2e4f42d Fix doxygen class briefs which aren't full sentences 2025-04-01 09:44:00 +10:00
Nyall Dawson
6d122f0038 Sipify 2025-03-30 20:48:07 +10:00
Nyall Dawson
bdba8d6366 Refactor too long doxygen brief comments
These break the table of contents for the PyQGIS documentation
2025-03-30 20:48:07 +10:00
Nyall Dawson
b81e0d83f6 Fix non-compliant class brief documentation 2025-03-30 20:48:07 +10:00
Denis Rouzaud
2562958772 sipify 2024-12-07 05:16:00 +10:00
Nyall Dawson
3a578d6712 Header update 2024-08-13 20:28:55 +10:00
Nyall Dawson
be8dce7d0d Valid improvements from new sipify 2024-08-13 20:28:55 +10:00
Nyall Dawson
28943f9c1b Remove a bunch of useless default constructor doxygen 2024-07-23 02:08:28 +10:00
Alexander Bruy
f0db0f247b address review 2024-07-04 07:30:51 +10:00
Alexander Bruy
d5605a3321 update QGIS version in the doxygen comments 2024-07-04 07:30:51 +10:00
Alexander Bruy
709253a27a integrate favorite log into toolbox model and view 2024-07-04 07:30:51 +10:00
Alexander Bruy
5566473a1d add log for tracking Processing favorite algorithms 2024-07-04 07:30:51 +10:00
Nyall Dawson
b0929e4ced Also permit drag and drop onto multi layer line edit
We supported drag and drop onto the full expanded panel, now
also support dropping onto the summary line edit widget too
2024-06-27 17:05:59 +10:00
Nyall Dawson
e9976c2ee7 [processing] Show more detail in history dialog
Use a tree display for processing history entries, where the root
item for each entry shows the full algorithm log when clicked,
and the python/qgis_process commands are instead shown as child
items

This provides more useful information for users browsing the history,
while still making the all the previous information available
2024-05-10 06:09:33 +10:00
Nyall Dawson
2f5ad6b51f Add Run Selected option to right click menu for selected algorithms 2024-05-04 06:30:43 +10:00
Nyall Dawson
e6fb69c41e Also add "Run from Here" action to right click menu on algorithms
Allows running the part of the model which starts at the right
clicked algorithm only
2024-05-04 06:30:43 +10:00
Nyall Dawson
834167018e Add algorithmAboutToRun signal to QgsProcessingAlgorithmDialogBase
This signal can be used to tweak the algorithm's context prior to
the algorithm execution.
2024-05-04 06:30:43 +10:00
Nyall Dawson
a979931960 Function naming improvements 2024-04-21 06:46:35 +10:00
Nyall Dawson
de0f5cf87c Make API more future proof 2024-04-21 06:46:35 +10:00
Nyall Dawson
e2d6b54f35 Add "View Log" action for child algorithms
This action shows the log of that child step, regardless of whether
or not it failed. This is handy for debugging model errors after
testing, when you've already closed the algorithm window...!
2024-04-21 06:46:35 +10:00
Nyall Dawson
8302259463 Make child results handling API more flexible 2024-04-21 06:46:35 +10:00
Nyall Dawson
6c22cd0355 [feature] Add "View Output Layers" option for model child algorithms
When editing a model through the designer (and after having run
that model), you can now right click any child step in the model
and select "View Output Layers". This will add the output layers
from that step as new layers in the current QGIS project.

This action is available for ALL child algorithms in the model,
even if the model is not configured to use the outputs from those
children as model outputs.

This is designed as a helpful debugging action. If a user's model
fails (or gives unexpected results), they can then trace through
the model and view the outputs for suspected problematic steps.
It avoids the need to add temporary outputs to a model and re-run
to test.

Additionally, this action is always available after running the model,
EVEN if the model itself failed (eg because of a misconfigured
step later in the model).

Sponsored by City of Canning
2024-04-21 06:46:35 +10:00
Nyall Dawson
133bad76ee Move some model designer code to c++ 2024-04-21 06:46:35 +10:00
Even Rouault
15ea5c46bc
Header files: remove all mentions of '\since QGIS 3.0' 2024-02-18 20:57:23 +01:00
Nyall Dawson
09dc6838a7 Upgrade another enum to get filtering working in processing toolbox 2024-02-10 17:25:22 +10:00
Nyall Dawson
ee53b9ae48 Port processing enums to enum class
A step towards a Qt6 compatible Processing framework
2024-02-10 17:25:22 +10:00
Nyall Dawson
ac2f1179c8 More item data role enum to enum class conversions 2024-02-06 21:04:43 +10:00
Nyall Dawson
3e7d376953 Add method to push formatted text to Processing feedback
Provides a method for algorithms to push HTML contents to the log
(the other feedback methods all escape HTML strings to strip
formatting characters)
2024-01-09 17:02:21 +10:00
Nyall Dawson
440cac298f Promote QgsProcessingModelChildParameterSource source to enum class and move to Qgis
This wasn't marked as stable API, so we don't need any of the usual monkey patching code
2023-08-25 15:44:05 +10:00