Class: QgsScopedProxyProgressTask

Scoped QgsScopedProxyProgressTask, which automatically adds the proxy task to the application task manager on construction and finalizes the task when it goes out of scope.

Added in version 3.4.

class qgis.core.QgsScopedProxyProgressTask[source]

Bases: object

__init__(description: str | None)

Constructor for QgsScopedProxyProgressTask, with the specified description.

Parameters:

description (Optional[str])

setProgress(self, progress: float)[source]

Sets the progress (from 0 to 100) for the proxied operation.

Parameters:

progress (float)