Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow a QgsFeedback object to be associated with a render context,
for cancelation check support While there is the existing QgsRenderContext::renderingStopped() check, this doesn't play well with other parts of QGIS which utilise a QgsFeedback object for cancelation support. By adding support for a proper QgsFeedback object in render contexts then it becomes trivial to pass this on to feature requests, expression contexts, and other potentially expensive functions so that these can all be canceled responsively too. (At some stage in the future we should consider deprecating QgsRenderContext::rendereringStopped(), but that's not done here)
- Loading branch information
1 parent
07a5503
commit d838ce7
Showing
3 changed files
with
82 additions
and
0 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