Class: QgsAbstractHistoryProvider

class qgis.gui.QgsAbstractHistoryProvider

Bases: PyQt5.QtCore.QObject

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

QgsAbstractHistoryProvider subclasses are accessible through the QgsHistoryProviderRegistry class.

New in version 3.24:

Methods

childEvent

connectNotify

createNodeForEntry

Creates a new history node for the given entry.

customEvent

disconnectNotify

id

Returns the provider's unique id, which is used to associate existing history entries with the provider.

isSignalConnected

receivers

sender

senderSignalIndex

timerEvent

updateNodeForEntry

Updates an existing history node for the given entry.

childEvent(self, QChildEvent)
connectNotify(self, QMetaMethod)
createNodeForEntry(self, entry: QgsHistoryEntry, context: QgsHistoryWidgetContext) QgsHistoryEntryNode

Creates a new history node for the given entry.

New in version 3.32.

Parameters:
Return type:

QgsHistoryEntryNode

customEvent(self, QEvent)
disconnectNotify(self, QMetaMethod)
id(self) str

Returns the provider’s unique id, which is used to associate existing history entries with the provider.

Return type:

str

isSignalConnected(self, QMetaMethod) bool
receivers(self, PYQT_SIGNAL) int
sender(self) QObject
senderSignalIndex(self) int
timerEvent(self, QTimerEvent)
updateNodeForEntry(self, node: QgsHistoryEntryNode, entry: QgsHistoryEntry, context: QgsHistoryWidgetContext)

Updates an existing history node for the given entry.

New in version 3.32.

Parameters: