Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
[processing] Allow algorithms to set layer post-processors for
execution on generated layers after the algorithm (or parent model) completes This commit adds an interface for layer post-processing handlers for execution following a processing algorithm operation. Post-processing of a layer will ONLY occur if that layer is set to be loaded into a QGIS project on algorithm completion. Algorithms that wish to set post-processing steps for generated layers should implement this interface in a separate class (NOT the algorithm class itself!) and implement a method to handle the layer post-processing. This method always runs in the main thread and can be used to setup renderers, editor widgets, metadata, etc for the given layer. Fixes #17961
- Loading branch information
1 parent
09e5a4f
commit bd1d87e
Showing
5 changed files
with
389 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.