Class: QgsProcessingMultiStepFeedback

class qgis.core.QgsProcessingMultiStepFeedback(steps: int, feedback: QgsProcessingFeedback)

Bases: QgsProcessingFeedback

Constructor for QgsProcessingMultiStepFeedback, for a process with the specified number of steps. This feedback object will proxy calls to the specified feedback object.

Processing feedback object for multi-step operations.

A processing feedback object which proxies its calls to an underlying feedback object, but scales overall progress reports to account for a number of child steps which each report their own feedback.

New in version 3.0.

  • steps (int) –

  • feedback

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
isSignalConnected(self, QMetaMethod) → bool
pushCommandInfo(self, info: str)

info (str) –

pushConsoleInfo(self, info: str)

info (str) –

pushDebugInfo(self, info: str)

info (str) –

pushInfo(self, info: str)

info (str) –

receivers(self, PYQT_SIGNAL) → int
reportError(self, error: str, fatalError: bool = False)
  • error (str) –

  • fatalError (bool = False) –

sender(self) → QObject
senderSignalIndex(self) → int
setCurrentStep(self, step: int)

Sets the step which is being executed. This is used to scale the current progress to account for progress through the overall process.


step (int) –

setProgressText(self, text: str)

text (str) –

timerEvent(self, QTimerEvent)