Class: QgsProcessingHistoryProvider

History provider for operations performed through the Processing framework.

Added in version 3.24.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsProcessingHistoryProvider

Base classes

QgsAbstractHistoryProvider

Abstract base class for objects which track user history (i.e. operations performed through the GUI).

QObject

Methods

portOldLog

Ports the old text log to the history framework.

Signals

createTest

Emitted when the provider needs to create a Processing test with the given python command.

executePython

Emitted when the provider needs to execute python commands in the Processing context.

class qgis.gui.QgsProcessingHistoryProvider[source]

Bases: QgsAbstractHistoryProvider

signal createTest(command: str)[source]

Emitted when the provider needs to create a Processing test with the given python command.

Added in version 3.32.

Parameters:

command (str)

signal executePython(commands: str)[source]

Emitted when the provider needs to execute python commands in the Processing context.

Added in version 3.32.

Parameters:

commands (str)

portOldLog(self)[source]

Ports the old text log to the history framework.

This should only be called once – calling multiple times will result in duplicate log entries