Class: QgsScopedProxyProgressTask

class qgis.core.QgsScopedProxyProgressTask

Bases: sip.wrapper

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.

New in version 3.4.

QgsScopedProxyProgressTask(description: str) Constructor for QgsScopedProxyProgressTask, with the specified description.

Methods

setProgress

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

setProgress(self, progress: float)

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

Parameters:

progress (float) –