QGIS API Documentation 3.36.0-Maidenhead (09951dc0acf)
|
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. | |
Public Member Functions inherited from QgsAbstractHistoryProvider | |
virtual | ~QgsAbstractHistoryProvider () |
virtual void | updateNodeForEntry (QgsHistoryEntryNode *node, const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context) |
Updates an existing history node for the given entry. | |
Friends | |
class | ProcessingHistoryNode |
History provider for operations performed through the Processing framework.
Definition at line 30 of file qgsprocessinghistoryprovider.h.
QgsProcessingHistoryProvider::QgsProcessingHistoryProvider | ( | ) |
Definition at line 37 of file qgsprocessinghistoryprovider.cpp.
|
overridevirtual |
Creates a new history node for the given entry.
Reimplemented from QgsAbstractHistoryProvider.
Definition at line 260 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 41 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 46 of file qgsprocessinghistoryprovider.cpp.
|
friend |
Definition at line 75 of file qgsprocessinghistoryprovider.h.