22using namespace Qt::StringLiterals;
50 = u
"QgsProcessingParameterInterpolationPixelSize('%1', %2, %3, %4"_s
Provides global constants and enumerations for use throughout the application.
Contains information about the context in which a processing algorithm is executed.
QVariant defaultValue() const
Returns the default value for the parameter.
QString description() const
Returns the description for the parameter.
QString name() const
Returns the name of the parameter.
QVariant mDefault
Default value for parameter.
QString asPythonString(QgsProcessing::PythonOutputType outputType=QgsProcessing::PythonOutputType::PythonQgsProcessingAlgorithmSubclass) const override
Returns the parameter definition as a Python command which can be used within a Python Processing scr...
static QString typeName()
Returns the type name for the parameter class.
QgsProcessingParameterInterpolationPixelSize(const QString &name, const QString &description=QString(), const QString &interpolationSourceParameter=QString(), const QString &extentParameter=QString(), const QVariant &defaultValue=QVariant())
Constructor for QgsProcessingParameterInterpolationPixelSize.
QString type() const override
Unique parameter type name.
QString extentParameter() const
Returns the linked extent parameter name.
QgsProcessingParameterInterpolationPixelSize * clone() const override
Creates a clone of the parameter definition.
QString interpolationSourceParameter() const
Returns the linked interpolation source parameter name.
QString valueAsPythonString(const QVariant &value, QgsProcessingContext &context) const override
Returns a string version of the parameter input value, which is suitable for use as an input paramete...
QgsProcessingParameterNumber(const QString &name, const QString &description=QString(), Qgis::ProcessingNumberParameterType type=Qgis::ProcessingNumberParameterType::Integer, const QVariant &defaultValue=QVariant(), bool optional=false, double minValue=std::numeric_limits< double >::lowest()+1, double maxValue=std::numeric_limits< double >::max())
Constructor for QgsProcessingParameterNumber.
static QString stringToPythonLiteral(const QString &string)
Converts a string to a Python string literal.
PythonOutputType
Available Python output types.
@ PythonQgsProcessingAlgorithmSubclass
Full Python QgsProcessingAlgorithm subclass.
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c