2020-03-24 13:39:35 +10:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/processing/qgsprocessingparameterswidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2020-04-07 10:06:59 +10:00
|
|
|
class QgsProcessingParametersWidget : QgsPanelWidget, QgsProcessingParametersGenerator
|
2020-03-24 13:39:35 +10:00
|
|
|
{
|
|
|
|
%Docstring
|
|
|
|
A widget which allows users to select the value for the parameters for an algorithm.
|
|
|
|
|
|
|
|
.. note::
|
|
|
|
|
|
|
|
Not stable API
|
|
|
|
|
|
|
|
.. versionadded:: 3.14
|
|
|
|
%End
|
|
|
|
|
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsprocessingparameterswidget.h"
|
|
|
|
%End
|
|
|
|
public:
|
|
|
|
|
|
|
|
QgsProcessingParametersWidget( const QgsProcessingAlgorithm *algorithm, QWidget *parent /TransferThis/ = 0 );
|
|
|
|
%Docstring
|
|
|
|
Constructor for QgsProcessingParametersWidget, for the specified ``algorithm``.
|
|
|
|
%End
|
|
|
|
|
|
|
|
const QgsProcessingAlgorithm *algorithm() const;
|
|
|
|
|
|
|
|
protected:
|
|
|
|
|
|
|
|
virtual void initWidgets();
|
|
|
|
|
2020-06-01 20:47:06 +10:00
|
|
|
void addParameterWidget( const QgsProcessingParameterDefinition *parameter, QWidget *widget /Transfer/, int stretch = 0 );
|
2020-03-24 13:39:35 +10:00
|
|
|
void addParameterLabel( const QgsProcessingParameterDefinition *parameter, QWidget *label /Transfer/ );
|
|
|
|
|
|
|
|
void addOutputLabel( QWidget *label /Transfer/ );
|
2020-06-01 20:47:06 +10:00
|
|
|
void addOutputWidget( QWidget *widget /Transfer/, int stretch = 0 );
|
2020-03-24 13:39:35 +10:00
|
|
|
|
2020-03-24 15:56:36 +10:00
|
|
|
void addExtraWidget( QWidget *widget /Transfer/ );
|
2020-03-24 13:39:35 +10:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/processing/qgsprocessingparameterswidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|