Subgroup: Scoped

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: Methods

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

Signals

Attributes

setProgress(self, progress: float)

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