18#ifndef QGSPROCESSINGPARAMETERTYPEIMPL_H
19#define QGSPROCESSINGPARAMETERTYPEIMPL_H
26#include <QCoreApplication>
31using namespace Qt::StringLiterals;
45 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A raster layer parameter." ); }
47 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Raster Layer" ); }
49 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterRasterLayer"_s; }
51 QString
className()
const override {
return u
"QgsProcessingParameterRasterLayer"_s; }
53 QString
id()
const override {
return u
"raster"_s; }
57 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsProcessingRasterLayerDefinition"_s << u
"QgsProperty"_s << u
"QgsRasterLayer"_s;
60 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a raster layer" ); }
81 QColor
modelColor()
const override {
return QColor( 0, 180, 180 ); };
95 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A mesh layer parameter." ); }
97 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Mesh Layer" ); }
99 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMeshLayer"_s; }
101 QString
className()
const override {
return u
"QgsProcessingParameterMeshLayer"_s; }
103 QString
id()
const override {
return u
"mesh"_s; }
107 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsMeshLayer"_s;
110 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a mesh layer" ); }
127 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
143 return QCoreApplication::translate(
"Processing",
"A vector layer parameter, e.g. for algorithms which change layer styles, edit layers in place, or other operations which affect an entire layer." );
146 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Layer" ); }
148 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVectorLayer"_s; }
150 QString
className()
const override {
return u
"QgsProcessingParameterVectorLayer"_s; }
152 QString
id()
const override {
return u
"vector"_s; }
156 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsProperty"_s << u
"QgsVectorLayer"_s;
159 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a vector layer" ); }
183 return param->dataTypes();
188 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
202 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A generic map layer parameter, which accepts either vector or raster layers." ); }
204 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Map Layer" ); }
206 QString
id()
const override {
return u
"layer"_s; }
208 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMapLayer"_s; }
210 QString
className()
const override {
return u
"QgsProcessingParameterMapLayer"_s; }
214 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsMapLayer"_s << u
"QgsProperty"_s << u
"QgsRasterLayer"_s << u
"QgsVectorLayer"_s;
217 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a vector, raster or mesh layer" ); }
244 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
258 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A boolean parameter, for true/false values." ); }
260 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Boolean" ); }
262 QString
id()
const override {
return u
"boolean"_s; }
264 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterBoolean"_s; }
266 QString
className()
const override {
return u
"QgsProcessingParameterBoolean"_s; }
268 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"bool"_s << u
"int"_s << u
"str"_s << u
"QgsProperty"_s; }
273 << QObject::tr(
"1 for true/yes" )
274 << QObject::tr(
"0 for false/no" )
275 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
276 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
318 QColor
modelColor()
const override {
return QColor( 51, 201, 28 ); };
332 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An expression parameter, to add custom expressions based on layer fields." ); }
334 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Expression" ); }
336 QString
id()
const override {
return u
"expression"_s; }
338 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterExpression"_s; }
340 QString
className()
const override {
return u
"QgsProcessingParameterExpression"_s; }
342 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
344 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"A valid QGIS expression string, e.g \"road_name\" = 'MAIN RD'" ); }
364 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
378 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A coordinate reference system (CRS) input parameter." ); }
380 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"CRS" ); }
382 QString
id()
const override {
return u
"crs"_s; }
384 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterCrs"_s; }
386 QString
className()
const override {
return u
"QgsProcessingParameterCrs"_s; }
391 << u
"str: 'ProjectCrs'"_s
392 << QObject::tr(
"str: CRS auth ID (e.g. 'EPSG:3111')" )
393 << QObject::tr(
"str: CRS PROJ4 (e.g. 'PROJ4:…')" )
394 << QObject::tr(
"str: CRS WKT (e.g. 'WKT:…')" )
395 << QObject::tr(
"str: layer ID. CRS of layer is used." )
396 << QObject::tr(
"str: layer name. CRS of layer is used." )
397 << QObject::tr(
"str: layer source. CRS of layer is used." )
398 << QObject::tr(
"QgsCoordinateReferenceSystem" )
399 << QObject::tr(
"QgsMapLayer: CRS of layer is used" )
400 << QObject::tr(
"QgsProcessingFeatureSourceDefinition: CRS of source is used" )
407 << QObject::tr(
"CRS as an auth ID (e.g. 'EPSG:3111')" )
408 << QObject::tr(
"CRS as a PROJ4 string (e.g. 'PROJ4:…')" )
409 << QObject::tr(
"CRS as a WKT string (e.g. 'WKT:…')" )
410 << QObject::tr(
"Path to a layer. The CRS of the layer is used." );
439 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
453 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric range parameter for processing algorithms." ); }
455 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Range" ); }
457 QString
id()
const override {
return u
"range"_s; }
459 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterRange"_s; }
461 QString
className()
const override {
return u
"QgsProcessingParameterRange"_s; }
466 << QObject::tr(
"list[float]: list of 2 float values" )
467 << QObject::tr(
"list[str]: list of strings representing floats" )
468 << QObject::tr(
"str: as two comma delimited floats, e.g. '1,10'" )
472 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Two comma separated numeric values, e.g. '1,10'" ); }
478 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
492 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point geometry parameter." ); }
494 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point" ); }
496 QString
id()
const override {
return u
"point"_s; }
498 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPoint"_s; }
500 QString
className()
const override {
return u
"QgsProcessingParameterPoint"_s; }
504 return QStringList() << QObject::tr(
"str: as an 'x,y' string, e.g. '1.5,10.1'" ) << u
"QgsPointXY"_s << u
"QgsProperty"_s << u
"QgsReferencedPointXY"_s << u
"QgsGeometry: centroid of geometry is used"_s;
507 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Point coordinate as an 'x,y' string, e.g. '1.5,10.1'" ); }
513 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
527 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A geometry parameter." ); }
529 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Geometry" ); }
531 QString
id()
const override {
return u
"geometry"_s; }
533 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterGeometry"_s; }
535 QString
className()
const override {
return u
"QgsProcessingParameterGeometry"_s; }
537 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: as Well-Known Text string (WKT)" ) << u
"QgsGeometry"_s << u
"QgsProperty"_s; }
539 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Well-Known Text string (WKT)" ); }
548 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
562 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An enumerated type parameter." ); }
564 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Enum" ); }
566 QString
id()
const override {
return u
"enum"_s; }
568 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterEnum"_s; }
570 QString
className()
const override {
return u
"QgsProcessingParameterEnum"_s; }
572 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << QObject::tr(
"str: as string representation of int, e.g. '1'" ) << u
"QgsProperty"_s; }
574 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Number of selected option, e.g. '1'" ) << QObject::tr(
"Comma separated list of options, e.g. '1,3'" ); }
586 QColor
modelColor()
const override {
return QColor( 152, 68, 201 ); };
600 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A map extent parameter." ); }
602 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Extent" ); }
604 QString
id()
const override {
return u
"extent"_s; }
606 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterExtent"_s; }
608 QString
className()
const override {
return u
"QgsProcessingParameterExtent"_s; }
613 << QObject::tr(
"str: as comma delimited list of x min, x max, y min, y max. E.g. '4,10,101,105'" )
614 << QObject::tr(
"str: layer ID. Extent of layer is used." )
615 << QObject::tr(
"str: layer name. Extent of layer is used." )
616 << QObject::tr(
"str: layer source. Extent of layer is used." )
617 << QObject::tr(
"QgsMapLayer: Extent of layer is used" )
618 << QObject::tr(
"QgsProcessingFeatureSourceDefinition: Extent of source is used" )
621 << u
"QgsReferencedRectangle"_s
622 << u
"QgsGeometry: bounding box of geometry is used"_s;
627 return QStringList() << QObject::tr(
"A comma delimited string of x min, x max, y min, y max. E.g. '4,10,101,105'" ) << QObject::tr(
"Path to a layer. The extent of the layer is used." );
655 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
669 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A table (matrix) parameter for processing algorithms." ); }
671 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Matrix" ); }
673 QString
id()
const override {
return u
"matrix"_s; }
675 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMatrix"_s; }
677 QString
className()
const override {
return u
"QgsProcessingParameterMatrix"_s; }
679 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: as comma delimited list of values" ) << u
"list"_s << u
"QgsProperty"_s; }
681 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"A comma delimited list of values" ); }
687 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
701 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A file or folder parameter, for use with non-map layer file sources or folders." ); }
703 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"File/Folder" ); }
705 QString
id()
const override {
return u
"file"_s; }
707 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFile"_s; }
709 QString
className()
const override {
return u
"QgsProcessingParameterFile"_s; }
711 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
713 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a file" ); }
729 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
743 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector field parameter, for selecting an existing field from a vector source." ); }
745 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Field" ); }
747 QString
id()
const override {
return u
"field"_s; }
749 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterField"_s; }
751 QString
className()
const override {
return u
"QgsProcessingParameterField"_s; }
753 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
755 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"The name of an existing field" ) << QObject::tr(
"; delimited list of existing field names" ); }
802 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector layer destination parameter." ); }
804 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Destination" ); }
806 QString
id()
const override {
return u
"vectorDestination"_s; }
808 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVectorDestination"_s; }
810 QString
className()
const override {
return u
"QgsProcessingParameterVectorDestination"_s; }
819 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
821 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new vector layer" ); }
823 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
838 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A generic file based destination parameter." ); }
840 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"File Destination" ); }
842 QString
id()
const override {
return u
"fileDestination"_s; }
844 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFileDestination"_s; }
846 QString
className()
const override {
return u
"QgsProcessingParameterFileDestination"_s; }
855 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
857 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new file" ); }
872 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
888 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A folder destination parameter." ); }
890 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Folder Destination" ); }
892 QString
id()
const override {
return u
"folderDestination"_s; }
894 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFolderDestination"_s; }
896 QString
className()
const override {
return u
"QgsProcessingParameterFolderDestination"_s; }
905 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
907 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for an existing or new folder" ); }
916 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
931 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A raster layer destination parameter." ); }
933 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Raster Destination" ); }
935 QString
id()
const override {
return u
"rasterDestination"_s; }
937 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterRasterDestination"_s; }
939 QString
className()
const override {
return u
"QgsProcessingParameterRasterDestination"_s; }
948 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
950 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new raster layer" ); }
952 QColor
modelColor()
const override {
return QColor( 0, 180, 180 ); };
966 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A freeform string parameter." ); }
968 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"String" ); }
970 QString
id()
const override {
return u
"string"_s; }
972 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterString"_s; }
974 QString
className()
const override {
return u
"QgsProcessingParameterString"_s; }
976 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
981 << QObject::tr(
"String value" )
982 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
983 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1006 return QStringList()
1014 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
1028 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An authentication configuration parameter." ); }
1030 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Authentication Configuration" ); }
1032 QString
id()
const override {
return u
"authcfg"_s; }
1034 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterAuthConfig"_s; }
1036 QString
className()
const override {
return u
"QgsProcessingParameterAuthConfig"_s; }
1040 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"An existing QGIS authentication ID string" ); }
1061 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An input allowing selection of multiple sources, including multiple map layers or file sources." ); }
1063 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Multiple Input" ); }
1065 QString
id()
const override {
return u
"multilayer"_s; }
1067 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMultipleLayers"_s; }
1069 QString
className()
const override {
return u
"QgsProcessingParameterMultipleLayers"_s; }
1073 return QStringList()
1074 << QObject::tr(
"list[str]: list of layer IDs" )
1075 << QObject::tr(
"list[str]: list of layer names" )
1076 << QObject::tr(
"list[str]: list of layer sources" )
1077 << u
"list[QgsMapLayer]"_s
1078 << u
"QgsProperty"_s;
1083 return QStringList()
1096 return QStringList()
1108 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
1122 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector feature parameter, e.g. for algorithms which operate on the features within a layer." ); }
1124 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Features" ); }
1126 QString
id()
const override {
return u
"source"_s; }
1128 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFeatureSource"_s; }
1130 QString
className()
const override {
return u
"QgsProcessingParameterFeatureSource"_s; }
1134 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsProcessingFeatureSourceDefinition"_s << u
"QgsProperty"_s << u
"QgsVectorLayer"_s;
1137 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a vector layer" ); }
1141 return QStringList()
1151 return QStringList()
1162 return param->dataTypes();
1164 return QList<int>();
1167 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
1181 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter, including float or integer values." ); }
1183 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Number" ); }
1185 QString
id()
const override {
return u
"number"_s; }
1187 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterNumber"_s; }
1189 QString
className()
const override {
return u
"QgsProcessingParameterNumber"_s; }
1191 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1195 return QStringList()
1196 << QObject::tr(
"A numeric value" )
1197 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1198 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1203 return QStringList()
1217 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1231 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a distance measure." ); }
1233 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Distance" ); }
1235 QString
id()
const override {
return u
"distance"_s; }
1237 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDistance"_s; }
1239 QString
className()
const override {
return u
"QgsProcessingParameterDistance"_s; }
1241 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1245 return QStringList()
1246 << QObject::tr(
"A numeric value" )
1247 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1248 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1251 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1266 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing an area measure." ); }
1268 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Area" ); }
1270 QString
id()
const override {
return u
"area"_s; }
1272 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterArea"_s; }
1274 QString
className()
const override {
return u
"QgsProcessingParameterArea"_s; }
1276 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1280 return QStringList()
1281 << QObject::tr(
"A numeric value" )
1282 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1283 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1299 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a volume measure." ); }
1301 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Volume" ); }
1303 QString
id()
const override {
return u
"volume"_s; }
1305 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVolume"_s; }
1307 QString
className()
const override {
return u
"QgsProcessingParameterVolume"_s; }
1309 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1313 return QStringList()
1314 << QObject::tr(
"A numeric value" )
1315 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1316 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1332 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a duration measure." ); }
1334 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Duration" ); }
1336 QString
id()
const override {
return u
"duration"_s; }
1338 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDuration"_s; }
1340 QString
className()
const override {
return u
"QgsProcessingParameterDuration"_s; }
1342 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1346 return QStringList()
1347 << QObject::tr(
"A numeric value (unit type set by algorithms)" )
1348 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1349 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1352 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1366 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a map scale." ); }
1368 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Scale" ); }
1370 QString
id()
const override {
return u
"scale"_s; }
1372 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterScale"_s; }
1374 QString
className()
const override {
return u
"QgsProcessingParameterScale"_s; }
1376 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int: scale denominator"_s << u
"float: scale denominator"_s << u
"QgsProperty"_s; }
1378 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"A numeric value representing the scale denominator" ); }
1380 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1394 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A raster band parameter, for selecting an existing band from a raster source." ); }
1396 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Raster Band" ); }
1398 QString
id()
const override {
return u
"band"_s; }
1400 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterBand"_s; }
1402 QString
className()
const override {
return u
"QgsProcessingParameterBand"_s; }
1404 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"QgsProperty"_s; }
1406 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Integer value representing an existing raster band number" ); }
1431 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A feature sink destination parameter." ); }
1433 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Feature Sink" ); }
1435 QString
id()
const override {
return u
"sink"_s; }
1437 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFeatureSink"_s; }
1439 QString
className()
const override {
return u
"QgsProcessingParameterFeatureSink"_s; }
1443 return QStringList()
1444 << QObject::tr(
"str: destination vector file, e.g. 'd:/test.shp'" )
1445 << QObject::tr(
"str: 'memory:' to store result in temporary memory layer" )
1446 << QObject::tr(
"str: using vector provider ID prefix and destination URI, e.g. 'postgres:…' to store result in PostGIS table" )
1447 << u
"QgsProcessingOutputLayerDefinition"_s
1448 << u
"QgsProperty"_s;
1451 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new vector layer" ); }
1453 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
1467 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A print layout parameter." ); }
1469 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Print Layout" ); }
1471 QString
id()
const override {
return u
"layout"_s; }
1473 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterLayout"_s; }
1475 QString
className()
const override {
return u
"QgsProcessingParameterLayout"_s; }
1477 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: name of print layout in current project" ) << u
"QgsProperty"_s; }
1479 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of print layout in current project" ); }
1497 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A print layout item parameter." ); }
1499 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Print Layout Item" ); }
1501 QString
id()
const override {
return u
"layoutitem"_s; }
1503 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterLayoutItem"_s; }
1505 QString
className()
const override {
return u
"QgsProcessingParameterLayoutItem"_s; }
1507 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: UUID of print layout item" ) << QObject::tr(
"str: id of print layout item" ) << u
"QgsProperty"_s; }
1509 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"UUID or item id of layout item" ); }
1527 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A color parameter." ); }
1529 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Color" ); }
1531 QString
id()
const override {
return u
"color"_s; }
1533 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterColor"_s; }
1535 QString
className()
const override {
return u
"QgsProcessingParameterColor"_s; }
1539 return QStringList() << QObject::tr(
"str: string representation of color, e.g #ff0000 or rgba(200,100,50,0.8)" ) << u
"QColor"_s << u
"QgsProperty"_s;
1544 return QStringList()
1545 << QObject::tr(
"String representation of color, e.g #ff0000 or rgba(200,100,50,0.8)" )
1546 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1547 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1554 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1568 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A coordinate operation parameter." ); }
1570 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Coordinate Operation" ); }
1572 QString
id()
const override {
return u
"coordinateoperation"_s; }
1574 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterCoordinateOperation"_s; }
1576 QString
className()
const override {
return u
"QgsProcessingParameterCoordinateOperation"_s; }
1578 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: string representation of a Proj coordinate operation" ); }
1580 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"String representation of Proj coordinate operation" ); }
1598 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A map theme parameter." ); }
1600 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Map Theme" ); }
1602 QString
id()
const override {
return u
"maptheme"_s; }
1604 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMapTheme"_s; }
1606 QString
className()
const override {
return u
"QgsProcessingParameterMapTheme"_s; }
1608 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: name of an existing map theme" ) << u
"QgsProperty"_s; }
1610 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of an existing map theme" ); }
1628 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A datetime parameter, including datetime, date or time values." ); }
1630 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Datetime" ); }
1632 QString
id()
const override {
return u
"datetime"_s; }
1634 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDateTime"_s; }
1636 QString
className()
const override {
return u
"QgsProcessingParameterDateTime"_s; }
1638 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QDateTime"_s << u
"QDate"_s << u
"QTime"_s << u
"QgsProperty"_s; }
1642 return QStringList()
1643 << QObject::tr(
"A datetime value in ISO format" )
1644 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1645 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1652 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
1666 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A connection name parameter, for registered database connections." ); }
1668 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Connection Name" ); }
1670 QString
id()
const override {
return u
"providerconnection"_s; }
1672 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterProviderConnection"_s; }
1674 QString
className()
const override {
return u
"QgsProcessingParameterProviderConnection"_s; }
1676 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1678 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of registered database connection" ); }
1699 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A database schema parameter." ); }
1701 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Database Schema" ); }
1703 QString
id()
const override {
return u
"databaseschema"_s; }
1705 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDatabaseSchema"_s; }
1707 QString
className()
const override {
return u
"QgsProcessingParameterDatabaseSchema"_s; }
1709 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1711 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of existing database schema" ); }
1732 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A database table parameter." ); }
1734 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Database Table" ); }
1736 QString
id()
const override {
return u
"databasetable"_s; }
1738 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDatabaseTable"_s; }
1740 QString
className()
const override {
return u
"QgsProcessingParameterDatabaseTable"_s; }
1742 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1744 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of existing database table" ); }
1765 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point cloud layer parameter." ); }
1767 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point Cloud Layer" ); }
1769 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPointCloudLayer"_s; }
1771 QString
className()
const override {
return u
"QgsProcessingParameterPointCloudLayer"_s; }
1773 QString
id()
const override {
return u
"pointcloud"_s; }
1777 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsPointCloudLayer"_s;
1780 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a point cloud layer" ); }
1784 return QStringList()
1793 return QStringList()
1801 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
1815 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An annotation layer parameter." ); }
1817 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Annotation Layer" ); }
1819 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterAnnotationLayer"_s; }
1821 QString
className()
const override {
return u
"QgsProcessingParameterAnnotationLayer"_s; }
1823 QString
id()
const override {
return u
"annotation"_s; }
1827 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"\"main\": main annotation layer for a project" ) << u
"QgsAnnotationLayer"_s;
1830 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Layer ID for an annotation layer, or \"main\" for the main annotation layer in a project." ); }
1834 return QStringList()
1846 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
1861 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point cloud layer destination parameter." ); }
1863 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point Cloud Destination" ); }
1865 QString
id()
const override {
return u
"pointCloudDestination"_s; }
1867 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPointCloudDestination"_s; }
1869 QString
className()
const override {
return u
"QgsProcessingParameterPointCloudDestination"_s; }
1878 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
1880 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new point cloud layer" ); }
1882 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
1896 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point cloud attribute parameter, for selecting an attribute from a point cloud source." ); }
1898 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point Cloud Attribute" ); }
1900 QString
id()
const override {
return u
"attribute"_s; }
1902 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPointCloudAttribute"_s; }
1904 QString
className()
const override {
return u
"QgsProcessingParameterPointCloudAttribute"_s; }
1906 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1908 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"The name of an attribute" ) << QObject::tr(
"; delimited list of attribute names" ); }
1927 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector tiles layer destination parameter." ); }
1929 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Tile Destination" ); }
1931 QString
id()
const override {
return u
"vectorTileDestination"_s; }
1933 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVectorTileDestination"_s; }
1935 QString
className()
const override {
return u
"QgsProcessingParameterVectorTileDestination"_s; }
1944 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
1946 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new vector tile layer" ); }
1948 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
@ ExposeToModeler
Is this parameter available in the modeler. Is set to on by default.
QFlags< ProcessingParameterTypeFlag > ProcessingParameterTypeFlags
Flags which dictate the behavior of Processing parameter types.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
static QString typeName()
Returns the type name for the output class.
An annotation layer parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A double numeric parameter for area values.
static QString typeName()
Returns the type name for the parameter class.
A string parameter for authentication configuration ID values.
static QString typeName()
Returns the type name for the parameter class.
A raster band parameter for Processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A boolean parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A color parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A coordinate operation parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A coordinate reference system parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A database schema parameter for processing algorithms, allowing users to select from existing schemas...
static QString typeName()
Returns the type name for the parameter class.
A database table name parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A datetime (or pure date or time) parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
Base class for the definition of processing parameters.
A double numeric parameter for distance values.
static QString typeName()
Returns the type name for the parameter class.
A double numeric parameter for duration values.
static QString typeName()
Returns the type name for the parameter class.
An enum based parameter for processing algorithms, allowing for selection from predefined values.
static QString typeName()
Returns the type name for the parameter class.
An expression parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A rectangular map extent parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A feature sink output for processing algorithms.
An input feature source (such as vector layers) parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A vector layer or feature source field parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A generic file based destination parameter, for specifying the destination path for a file (non-map l...
An input file or folder parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A folder destination parameter, for specifying the destination path for a folder created by the algor...
A geometry parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A print layout item parameter, allowing users to select a particular item from a print layout.
static QString typeName()
Returns the type name for the parameter class.
A print layout parameter, allowing users to select a print layout.
static QString typeName()
Returns the type name for the parameter class.
A map layer parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A map theme parameter for processing algorithms, allowing users to select an existing map theme from ...
A table (matrix) parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A mesh layer parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A parameter for processing algorithms which accepts multiple map layers.
static QString typeName()
Returns the type name for the parameter class.
A numeric parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A point cloud layer attribute parameter for Processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A point cloud layer destination parameter, for specifying the destination path for a point cloud laye...
A point cloud layer parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A point parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A data provider connection parameter for processing algorithms, allowing users to select from availab...
static QString typeName()
Returns the type name for the parameter class.
A numeric range parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A raster layer destination parameter, for specifying the destination path for a raster layer created ...
A raster layer parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A double numeric parameter for map scale values.
static QString typeName()
Returns the type name for the parameter class.
A string parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
An annotation layer parameter for processing algorithms.
An area parameter for processing algorithms.
An authentication configuration parameter for processing algorithms.
A raster band parameter for Processing algorithms.
A boolean parameter for processing algorithms.
A color parameter for Processing algorithms.
A coordinate operation parameter for Processing algorithms.
A crs parameter for processing algorithms.
A database schema name parameter for processing algorithms.
A database table name parameter for processing algorithms.
A datetime parameter for processing algorithms.
A common generic type for destination parameter, for specifying the destination path for a vector lay...
A distance parameter for processing algorithms.
A duration parameter for processing algorithms.
An enum based parameter for processing algorithms, allowing for selection from predefined values.
An expression parameter for processing algorithms.
A rectangular map extent parameter for processing algorithms.
A feature sink parameter for Processing algorithms.
An input feature source (such as vector layers) parameter for processing algorithms.
A vector layer or feature source field parameter for processing algorithms.
A generic file based destination parameter, for specifying the destination path for a file (non-map l...
An input file or folder parameter for processing algorithms.
A folder destination parameter, for specifying the destination path for a folder created by the algor...
A geometry parameter for processing algorithms.
A print layout item parameter for Processing algorithms.
A print layout parameter for Processing algorithms.
A generic map layer parameter for processing algorithms.
A map theme parameter for Processing algorithms.
A table (matrix) parameter for processing algorithms.
A mesh layer parameter for processing algorithms.
A parameter for processing algorithms which accepts multiple map layers.
A numeric parameter for processing algorithms.
A point cloud layer attribute parameter for Processing algorithms.
A pointcloud layer destination parameter, for specifying the destination path for a point cloud layer...
A point cloud layer parameter for processing algorithms.
A point parameter for processing algorithms.
A provider connection name parameter for processing algorithms.
A numeric range parameter for processing algorithms.
A raster layer destination parameter, for specifying the destination path for a raster layer created ...
A raster layer parameter for processing algorithms.
A scale parameter for processing algorithms.
A string parameter for processing algorithms.
A vector layer destination parameter, for specifying the destination path for a vector layer created ...
A vector layer parameter for processing algorithms.
A vector tile layer destination parameter, for specifying the destination path for a vector tile laye...
A volume parameter for processing algorithms.
Makes metadata of processing parameters available.
virtual QString name() const =0
A human readable and translatable short name for this parameter type.
virtual QStringList acceptedPythonTypes() const
Returns a list of the Python data types accepted as values for the parameter.
virtual QgsProcessingParameterDefinition * create(const QString &name) const =0
Creates a new parameter of this type.
virtual QString description() const =0
A human readable and translatable description for this parameter type.
virtual QStringList acceptedOutputTypes() const =0
Returns a list of compatible Processing output types for inputs for this parameter type.
virtual QColor modelColor() const
Returns the color to use for the parameter in model designer windows.
virtual QString id() const =0
A static id for this type which will be used for storing this parameter type.
virtual QString className() const
Returns the corresponding class name for the parameter type.
virtual QList< int > acceptedDataTypes(const QgsProcessingParameterDefinition *parameter) const
Returns a list of compatible Processing data types for inputs for this parameter type for the specifi...
virtual QStringList acceptedParameterTypes() const =0
Returns a list of compatible Processing parameter types for inputs for this parameter type.
virtual Qgis::ProcessingParameterTypeFlags flags() const
Determines if this parameter is available in the modeler.
virtual QStringList acceptedStringValues() const
Returns a descriptive list of the possible string values acceptable for the parameter.
virtual QString pythonImportString() const
Returns a valid Python import string for importing the corresponding parameter type,...
A vector layer destination parameter, for specifying the destination path for a vector layer created ...
A vector layer (with or without geometry) parameter for processing algorithms.
static QString typeName()
Returns the type name for the parameter class.
A vector tile layer destination parameter, for specifying the destination path for a vector tile laye...
A double numeric parameter for volume values.
static QString typeName()
Returns the type name for the parameter class.