1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97
|
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/processing/qgsprocessingbatchalgorithmdialogbase.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsProcessingBatchAlgorithmDialogBase : QgsProcessingAlgorithmDialogBase
{
%Docstring(signature="appended")
Base class for processing batch algorithm dialogs.
.. note::
This is not considered stable API and may change in future QGIS versions.
.. versionadded:: 3.26
%End
%TypeHeaderCode
#include "qgsprocessingbatchalgorithmdialogbase.h"
%End
public:
QgsProcessingBatchAlgorithmDialogBase( QWidget *parent /TransferThis/ = 0, Qt::WindowFlags flags = Qt::WindowFlags() );
%Docstring
Constructor for QgsProcessingBatchAlgorithmDialogBase.
%End
~QgsProcessingBatchAlgorithmDialogBase();
virtual void resetAdditionalGui();
virtual void blockAdditionalControlsWhileRunning();
public slots:
virtual void runAsSingle() = 0;
%Docstring
Will be called when the "Run as Single" button is clicked.
%End
protected slots:
virtual void algExecuted( bool successful, const QVariantMap &results );
protected:
virtual bool isFinalized();
void execute( const QList<QMap<QString, QVariant>> ¶meters );
%Docstring
Starts the batch execution, where the ``parameters`` list dictates the
parameters for each component step of the batch.
%End
virtual QgsProcessingContext *createContext( QgsProcessingFeedback *feedback ) = 0 /Factory/;
%Docstring
Creates a new Processing context.
(Each step in the batch processing will use a new Processing context)
%End
virtual void handleAlgorithmResults( QgsProcessingAlgorithm *algorithm, QgsProcessingContext &context, QgsProcessingFeedback *feedback, const QVariantMap ¶meters ) = 0;
%Docstring
Called when the dialog should handle the results of an algorithm, e.g.
by loading layers into the current project.
%End
virtual void loadHtmlResults( const QVariantMap &results, int index ) = 0;
%Docstring
Populates the HTML results dialog as a result of a successful algorithm
execution.
%End
virtual void createSummaryTable( const QList<QMap<QString, QVariant>> &results, const QList<QMap<QString, QVariant>> &errors ) = 0;
%Docstring
Creates a summary table of the results of a batch execution.
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/gui/processing/qgsprocessingbatchalgorithmdialogbase.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
|