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.

New in version 3.4.

Parameters

description

setProgress(self, progress: float)

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

Parameters

progress (float) –