mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-11 00:04:09 -04:00
Use a tree display for processing history entries, where the root item for each entry shows the full algorithm log when clicked, and the python/qgis_process commands are instead shown as child items This provides more useful information for users browsing the history, while still making the all the previous information available
69 lines
2.2 KiB
Plaintext
69 lines
2.2 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/processing/qgsprocessinghistoryprovider.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
class QgsProcessingHistoryProvider : QgsAbstractHistoryProvider
|
|
{
|
|
%Docstring(signature="appended")
|
|
History provider for operations performed through the Processing framework.
|
|
|
|
.. versionadded:: 3.24
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsprocessinghistoryprovider.h"
|
|
%End
|
|
public:
|
|
|
|
QgsProcessingHistoryProvider();
|
|
|
|
virtual QString id() const;
|
|
|
|
|
|
void portOldLog();
|
|
%Docstring
|
|
Ports the old text log to the history framework.
|
|
|
|
This should only be called once -- calling multiple times will result in duplicate log entries
|
|
%End
|
|
|
|
virtual QgsHistoryEntryNode *createNodeForEntry( const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context ) /Factory/;
|
|
|
|
virtual void updateNodeForEntry( QgsHistoryEntryNode *node, const QgsHistoryEntry &entry, const QgsHistoryWidgetContext &context );
|
|
|
|
|
|
signals:
|
|
|
|
void executePython( const QString &commands );
|
|
%Docstring
|
|
Emitted when the provider needs to execute python ``commands`` in the Processing context.
|
|
|
|
.. versionadded:: 3.32
|
|
%End
|
|
|
|
void createTest( const QString &command );
|
|
%Docstring
|
|
Emitted when the provider needs to create a Processing test with the given python ``command``.
|
|
|
|
.. versionadded:: 3.32
|
|
%End
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/processing/qgsprocessinghistoryprovider.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|