QGIS API Documentation 3.41.0-Master (af5edcb665c)
|
History provider for operations performed through the Processing framework. More...
#include <qgsprocessinghistoryprovider.h>
Signals | |
void | createTest (const QString &command) |
Emitted when the provider needs to create a Processing test with the given python command. | |
void | executePython (const QString &commands) |
Emitted when the provider needs to execute python commands in the Processing context. | |
Public Member Functions | |
QgsProcessingHistoryProvider () | |
QgsHistoryEntryNode * | createNodeForEntry (const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context) override |
Creates a new history node for the given entry. | |
QString | id () const override |
Returns the provider's unique id, which is used to associate existing history entries with the provider. | |
void | portOldLog () |
Ports the old text log to the history framework. | |
void | updateNodeForEntry (QgsHistoryEntryNode *node, const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context) override |
Updates an existing history node for the given entry. | |
Public Member Functions inherited from QgsAbstractHistoryProvider | |
virtual | ~QgsAbstractHistoryProvider () |
Friends | |
class | ProcessingHistoryBaseNode |
History provider for operations performed through the Processing framework.
Definition at line 30 of file qgsprocessinghistoryprovider.h.
QgsProcessingHistoryProvider::QgsProcessingHistoryProvider | ( | ) |
Definition at line 40 of file qgsprocessinghistoryprovider.cpp.
|
overridevirtual |
Creates a new history node for the given entry.
Reimplemented from QgsAbstractHistoryProvider.
Definition at line 413 of file qgsprocessinghistoryprovider.cpp.
|
signal |
Emitted when the provider needs to create a Processing test with the given python command.
|
signal |
Emitted when the provider needs to execute python commands in the Processing context.
|
overridevirtual |
Returns the provider's unique id, which is used to associate existing history entries with the provider.
Implements QgsAbstractHistoryProvider.
Definition at line 44 of file qgsprocessinghistoryprovider.cpp.
void QgsProcessingHistoryProvider::portOldLog | ( | ) |
Ports the old text log to the history framework.
This should only be called once – calling multiple times will result in duplicate log entries
Definition at line 49 of file qgsprocessinghistoryprovider.cpp.
|
overridevirtual |
Updates an existing history node for the given entry.
Reimplemented from QgsAbstractHistoryProvider.
Definition at line 418 of file qgsprocessinghistoryprovider.cpp.
|
friend |
Definition at line 74 of file qgsprocessinghistoryprovider.h.