Class: QgsScopedProxyProgressTask

class qgis.core.QgsScopedProxyProgressTask(description: str)

Bases: sip.wrapper

Constructor for QgsScopedProxyProgressTask, with the specified description.

QgsScopedProxyProgressTask(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.

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) –