18#ifndef QGSPROCESSINGPARAMETERTYPEIMPL_H
19#define QGSPROCESSINGPARAMETERTYPEIMPL_H
25#include <QCoreApplication>
30using namespace Qt::StringLiterals;
44 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A raster layer parameter." ); }
46 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Raster Layer" ); }
48 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterRasterLayer"_s; }
50 QString
className()
const override {
return u
"QgsProcessingParameterRasterLayer"_s; }
52 QString
id()
const override {
return u
"raster"_s; }
56 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;
59 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a raster layer" ); }
80 QColor
modelColor()
const override {
return QColor( 0, 180, 180 ); };
94 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A mesh layer parameter." ); }
96 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Mesh Layer" ); }
98 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMeshLayer"_s; }
100 QString
className()
const override {
return u
"QgsProcessingParameterMeshLayer"_s; }
102 QString
id()
const override {
return u
"mesh"_s; }
106 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsMeshLayer"_s;
109 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a mesh layer" ); }
126 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
142 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." );
145 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Layer" ); }
147 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVectorLayer"_s; }
149 QString
className()
const override {
return u
"QgsProcessingParameterVectorLayer"_s; }
151 QString
id()
const override {
return u
"vector"_s; }
155 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsProperty"_s << u
"QgsVectorLayer"_s;
158 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a vector layer" ); }
182 return param->dataTypes();
187 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
201 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A generic map layer parameter, which accepts either vector or raster layers." ); }
203 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Map Layer" ); }
205 QString
id()
const override {
return u
"layer"_s; }
207 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMapLayer"_s; }
209 QString
className()
const override {
return u
"QgsProcessingParameterMapLayer"_s; }
213 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;
216 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a vector, raster or mesh layer" ); }
242 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
256 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A boolean parameter, for true/false values." ); }
258 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Boolean" ); }
260 QString
id()
const override {
return u
"boolean"_s; }
262 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterBoolean"_s; }
264 QString
className()
const override {
return u
"QgsProcessingParameterBoolean"_s; }
266 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"bool"_s << u
"int"_s << u
"str"_s << u
"QgsProperty"_s; }
271 << QObject::tr(
"1 for true/yes" )
272 << QObject::tr(
"0 for false/no" )
273 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
274 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
314 QColor
modelColor()
const override {
return QColor( 51, 201, 28 ); };
328 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An expression parameter, to add custom expressions based on layer fields." ); }
330 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Expression" ); }
332 QString
id()
const override {
return u
"expression"_s; }
334 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterExpression"_s; }
336 QString
className()
const override {
return u
"QgsProcessingParameterExpression"_s; }
338 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
340 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"A valid QGIS expression string, e.g \"road_name\" = 'MAIN RD'" ); }
360 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
374 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A coordinate reference system (CRS) input parameter." ); }
376 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"CRS" ); }
378 QString
id()
const override {
return u
"crs"_s; }
380 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterCrs"_s; }
382 QString
className()
const override {
return u
"QgsProcessingParameterCrs"_s; }
387 << u
"str: 'ProjectCrs'"_s
388 << QObject::tr(
"str: CRS auth ID (e.g. 'EPSG:3111')" )
389 << QObject::tr(
"str: CRS PROJ4 (e.g. 'PROJ4:…')" )
390 << QObject::tr(
"str: CRS WKT (e.g. 'WKT:…')" )
391 << QObject::tr(
"str: layer ID. CRS of layer is used." )
392 << QObject::tr(
"str: layer name. CRS of layer is used." )
393 << QObject::tr(
"str: layer source. CRS of layer is used." )
394 << QObject::tr(
"QgsCoordinateReferenceSystem" )
395 << QObject::tr(
"QgsMapLayer: CRS of layer is used" )
396 << QObject::tr(
"QgsProcessingFeatureSourceDefinition: CRS of source is used" )
403 << QObject::tr(
"CRS as an auth ID (e.g. 'EPSG:3111')" )
404 << QObject::tr(
"CRS as a PROJ4 string (e.g. 'PROJ4:…')" )
405 << QObject::tr(
"CRS as a WKT string (e.g. 'WKT:…')" )
406 << QObject::tr(
"Path to a layer. The CRS of the layer is used." );
433 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
447 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric range parameter for processing algorithms." ); }
449 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Range" ); }
451 QString
id()
const override {
return u
"range"_s; }
453 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterRange"_s; }
455 QString
className()
const override {
return u
"QgsProcessingParameterRange"_s; }
460 << QObject::tr(
"list[float]: list of 2 float values" )
461 << QObject::tr(
"list[str]: list of strings representing floats" )
462 << QObject::tr(
"str: as two comma delimited floats, e.g. '1,10'" )
466 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Two comma separated numeric values, e.g. '1,10'" ); }
472 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
486 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point geometry parameter." ); }
488 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point" ); }
490 QString
id()
const override {
return u
"point"_s; }
492 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPoint"_s; }
494 QString
className()
const override {
return u
"QgsProcessingParameterPoint"_s; }
498 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;
501 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Point coordinate as an 'x,y' string, e.g. '1.5,10.1'" ); }
507 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
521 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A geometry parameter." ); }
523 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Geometry" ); }
525 QString
id()
const override {
return u
"geometry"_s; }
527 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterGeometry"_s; }
529 QString
className()
const override {
return u
"QgsProcessingParameterGeometry"_s; }
531 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: as Well-Known Text string (WKT)" ) << u
"QgsGeometry"_s << u
"QgsProperty"_s; }
533 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Well-Known Text string (WKT)" ); }
542 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
556 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An enumerated type parameter." ); }
558 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Enum" ); }
560 QString
id()
const override {
return u
"enum"_s; }
562 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterEnum"_s; }
564 QString
className()
const override {
return u
"QgsProcessingParameterEnum"_s; }
566 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << QObject::tr(
"str: as string representation of int, e.g. '1'" ) << u
"QgsProperty"_s; }
568 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'" ); }
580 QColor
modelColor()
const override {
return QColor( 152, 68, 201 ); };
594 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A map extent parameter." ); }
596 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Extent" ); }
598 QString
id()
const override {
return u
"extent"_s; }
600 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterExtent"_s; }
602 QString
className()
const override {
return u
"QgsProcessingParameterExtent"_s; }
607 << QObject::tr(
"str: as comma delimited list of x min, x max, y min, y max. E.g. '4,10,101,105'" )
608 << QObject::tr(
"str: layer ID. Extent of layer is used." )
609 << QObject::tr(
"str: layer name. Extent of layer is used." )
610 << QObject::tr(
"str: layer source. Extent of layer is used." )
611 << QObject::tr(
"QgsMapLayer: Extent of layer is used" )
612 << QObject::tr(
"QgsProcessingFeatureSourceDefinition: Extent of source is used" )
615 << u
"QgsReferencedRectangle"_s
616 << u
"QgsGeometry: bounding box of geometry is used"_s;
621 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." );
648 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
662 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A table (matrix) parameter for processing algorithms." ); }
664 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Matrix" ); }
666 QString
id()
const override {
return u
"matrix"_s; }
668 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMatrix"_s; }
670 QString
className()
const override {
return u
"QgsProcessingParameterMatrix"_s; }
672 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: as comma delimited list of values" ) << u
"list"_s << u
"QgsProperty"_s; }
674 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"A comma delimited list of values" ); }
680 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
694 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A file or folder parameter, for use with non-map layer file sources or folders." ); }
696 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"File/Folder" ); }
698 QString
id()
const override {
return u
"file"_s; }
700 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFile"_s; }
702 QString
className()
const override {
return u
"QgsProcessingParameterFile"_s; }
704 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
706 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a file" ); }
722 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
736 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector field parameter, for selecting an existing field from a vector source." ); }
738 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Field" ); }
740 QString
id()
const override {
return u
"field"_s; }
742 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterField"_s; }
744 QString
className()
const override {
return u
"QgsProcessingParameterField"_s; }
746 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
748 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"The name of an existing field" ) << QObject::tr(
"; delimited list of existing field names" ); }
794 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector layer destination parameter." ); }
796 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Destination" ); }
798 QString
id()
const override {
return u
"vectorDestination"_s; }
800 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVectorDestination"_s; }
802 QString
className()
const override {
return u
"QgsProcessingParameterVectorDestination"_s; }
811 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
813 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new vector layer" ); }
815 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
830 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A generic file based destination parameter." ); }
832 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"File Destination" ); }
834 QString
id()
const override {
return u
"fileDestination"_s; }
836 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFileDestination"_s; }
838 QString
className()
const override {
return u
"QgsProcessingParameterFileDestination"_s; }
847 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
849 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new file" ); }
864 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
880 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A folder destination parameter." ); }
882 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Folder Destination" ); }
884 QString
id()
const override {
return u
"folderDestination"_s; }
886 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFolderDestination"_s; }
888 QString
className()
const override {
return u
"QgsProcessingParameterFolderDestination"_s; }
897 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
899 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for an existing or new folder" ); }
908 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
923 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A raster layer destination parameter." ); }
925 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Raster Destination" ); }
927 QString
id()
const override {
return u
"rasterDestination"_s; }
929 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterRasterDestination"_s; }
931 QString
className()
const override {
return u
"QgsProcessingParameterRasterDestination"_s; }
940 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
942 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new raster layer" ); }
944 QColor
modelColor()
const override {
return QColor( 0, 180, 180 ); };
958 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A freeform string parameter." ); }
960 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"String" ); }
962 QString
id()
const override {
return u
"string"_s; }
964 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterString"_s; }
966 QString
className()
const override {
return u
"QgsProcessingParameterString"_s; }
968 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
973 << QObject::tr(
"String value" )
974 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
975 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1006 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
1020 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An authentication configuration parameter." ); }
1022 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Authentication Configuration" ); }
1024 QString
id()
const override {
return u
"authcfg"_s; }
1026 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterAuthConfig"_s; }
1028 QString
className()
const override {
return u
"QgsProcessingParameterAuthConfig"_s; }
1032 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"An existing QGIS authentication ID string" ); }
1053 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An input allowing selection of multiple sources, including multiple map layers or file sources." ); }
1055 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Multiple Input" ); }
1057 QString
id()
const override {
return u
"multilayer"_s; }
1059 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMultipleLayers"_s; }
1061 QString
className()
const override {
return u
"QgsProcessingParameterMultipleLayers"_s; }
1065 return QStringList()
1066 << QObject::tr(
"list[str]: list of layer IDs" )
1067 << QObject::tr(
"list[str]: list of layer names" )
1068 << QObject::tr(
"list[str]: list of layer sources" )
1069 << u
"list[QgsMapLayer]"_s
1070 << u
"QgsProperty"_s;
1075 return QStringList()
1087 return QStringList()
1097 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
1111 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector feature parameter, e.g. for algorithms which operate on the features within a layer." ); }
1113 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Features" ); }
1115 QString
id()
const override {
return u
"source"_s; }
1117 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFeatureSource"_s; }
1119 QString
className()
const override {
return u
"QgsProcessingParameterFeatureSource"_s; }
1123 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;
1126 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a vector layer" ); }
1130 return QStringList()
1140 return QStringList()
1151 return param->dataTypes();
1153 return QList<int>();
1156 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
1170 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter, including float or integer values." ); }
1172 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Number" ); }
1174 QString
id()
const override {
return u
"number"_s; }
1176 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterNumber"_s; }
1178 QString
className()
const override {
return u
"QgsProcessingParameterNumber"_s; }
1180 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1184 return QStringList()
1185 << QObject::tr(
"A numeric value" )
1186 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1187 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1192 return QStringList()
1206 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1220 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a distance measure." ); }
1222 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Distance" ); }
1224 QString
id()
const override {
return u
"distance"_s; }
1226 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDistance"_s; }
1228 QString
className()
const override {
return u
"QgsProcessingParameterDistance"_s; }
1230 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1234 return QStringList()
1235 << QObject::tr(
"A numeric value" )
1236 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1237 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1240 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1255 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing an area measure." ); }
1257 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Area" ); }
1259 QString
id()
const override {
return u
"area"_s; }
1261 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterArea"_s; }
1263 QString
className()
const override {
return u
"QgsProcessingParameterArea"_s; }
1265 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1269 return QStringList()
1270 << QObject::tr(
"A numeric value" )
1271 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1272 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1288 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a volume measure." ); }
1290 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Volume" ); }
1292 QString
id()
const override {
return u
"volume"_s; }
1294 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVolume"_s; }
1296 QString
className()
const override {
return u
"QgsProcessingParameterVolume"_s; }
1298 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1302 return QStringList()
1303 << QObject::tr(
"A numeric value" )
1304 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1305 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1321 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a duration measure." ); }
1323 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Duration" ); }
1325 QString
id()
const override {
return u
"duration"_s; }
1327 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDuration"_s; }
1329 QString
className()
const override {
return u
"QgsProcessingParameterDuration"_s; }
1331 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"float"_s << u
"QgsProperty"_s; }
1335 return QStringList()
1336 << QObject::tr(
"A numeric value (unit type set by algorithms)" )
1337 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1338 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1341 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1355 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a map scale." ); }
1357 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Scale" ); }
1359 QString
id()
const override {
return u
"scale"_s; }
1361 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterScale"_s; }
1363 QString
className()
const override {
return u
"QgsProcessingParameterScale"_s; }
1365 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int: scale denominator"_s << u
"float: scale denominator"_s << u
"QgsProperty"_s; }
1367 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"A numeric value representing the scale denominator" ); }
1369 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1383 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A raster band parameter, for selecting an existing band from a raster source." ); }
1385 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Raster Band" ); }
1387 QString
id()
const override {
return u
"band"_s; }
1389 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterBand"_s; }
1391 QString
className()
const override {
return u
"QgsProcessingParameterBand"_s; }
1393 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"int"_s << u
"QgsProperty"_s; }
1395 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Integer value representing an existing raster band number" ); }
1420 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A feature sink destination parameter." ); }
1422 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Feature Sink" ); }
1424 QString
id()
const override {
return u
"sink"_s; }
1426 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterFeatureSink"_s; }
1428 QString
className()
const override {
return u
"QgsProcessingParameterFeatureSink"_s; }
1432 return QStringList()
1433 << QObject::tr(
"str: destination vector file, e.g. 'd:/test.shp'" )
1434 << QObject::tr(
"str: 'memory:' to store result in temporary memory layer" )
1435 << QObject::tr(
"str: using vector provider ID prefix and destination URI, e.g. 'postgres:…' to store result in PostGIS table" )
1436 << u
"QgsProcessingOutputLayerDefinition"_s
1437 << u
"QgsProperty"_s;
1440 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new vector layer" ); }
1442 QColor
modelColor()
const override {
return QColor( 122, 0, 47 ); };
1456 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A print layout parameter." ); }
1458 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Print Layout" ); }
1460 QString
id()
const override {
return u
"layout"_s; }
1462 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterLayout"_s; }
1464 QString
className()
const override {
return u
"QgsProcessingParameterLayout"_s; }
1466 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: name of print layout in current project" ) << u
"QgsProperty"_s; }
1468 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of print layout in current project" ); }
1486 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A print layout item parameter." ); }
1488 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Print Layout Item" ); }
1490 QString
id()
const override {
return u
"layoutitem"_s; }
1492 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterLayoutItem"_s; }
1494 QString
className()
const override {
return u
"QgsProcessingParameterLayoutItem"_s; }
1496 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; }
1498 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"UUID or item id of layout item" ); }
1516 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A color parameter." ); }
1518 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Color" ); }
1520 QString
id()
const override {
return u
"color"_s; }
1522 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterColor"_s; }
1524 QString
className()
const override {
return u
"QgsProcessingParameterColor"_s; }
1528 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;
1533 return QStringList()
1534 << QObject::tr(
"String representation of color, e.g #ff0000 or rgba(200,100,50,0.8)" )
1535 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1536 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1543 QColor
modelColor()
const override {
return QColor( 34, 157, 214 ); };
1557 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A coordinate operation parameter." ); }
1559 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Coordinate Operation" ); }
1561 QString
id()
const override {
return u
"coordinateoperation"_s; }
1563 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterCoordinateOperation"_s; }
1565 QString
className()
const override {
return u
"QgsProcessingParameterCoordinateOperation"_s; }
1567 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: string representation of a Proj coordinate operation" ); }
1569 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"String representation of Proj coordinate operation" ); }
1587 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A map theme parameter." ); }
1589 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Map Theme" ); }
1591 QString
id()
const override {
return u
"maptheme"_s; }
1593 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterMapTheme"_s; }
1595 QString
className()
const override {
return u
"QgsProcessingParameterMapTheme"_s; }
1597 QStringList
acceptedPythonTypes()
const override {
return QStringList() << QObject::tr(
"str: name of an existing map theme" ) << u
"QgsProperty"_s; }
1599 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of an existing map theme" ); }
1617 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A datetime parameter, including datetime, date or time values." ); }
1619 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Datetime" ); }
1621 QString
id()
const override {
return u
"datetime"_s; }
1623 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDateTime"_s; }
1625 QString
className()
const override {
return u
"QgsProcessingParameterDateTime"_s; }
1627 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QDateTime"_s << u
"QDate"_s << u
"QTime"_s << u
"QgsProperty"_s; }
1631 return QStringList()
1632 << QObject::tr(
"A datetime value in ISO format" )
1633 << QObject::tr(
"field:FIELD_NAME to use a data defined value taken from the FIELD_NAME field" )
1634 << QObject::tr(
"expression:SOME EXPRESSION to use a data defined value calculated using a custom QGIS expression" );
1641 QColor
modelColor()
const override {
return QColor( 255, 131, 23 ); };
1655 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A connection name parameter, for registered database connections." ); }
1657 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Connection Name" ); }
1659 QString
id()
const override {
return u
"providerconnection"_s; }
1661 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterProviderConnection"_s; }
1663 QString
className()
const override {
return u
"QgsProcessingParameterProviderConnection"_s; }
1665 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1667 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of registered database connection" ); }
1688 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A database schema parameter." ); }
1690 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Database Schema" ); }
1692 QString
id()
const override {
return u
"databaseschema"_s; }
1694 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDatabaseSchema"_s; }
1696 QString
className()
const override {
return u
"QgsProcessingParameterDatabaseSchema"_s; }
1698 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1700 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of existing database schema" ); }
1721 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A database table parameter." ); }
1723 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Database Table" ); }
1725 QString
id()
const override {
return u
"databasetable"_s; }
1727 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterDatabaseTable"_s; }
1729 QString
className()
const override {
return u
"QgsProcessingParameterDatabaseTable"_s; }
1731 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1733 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Name of existing database table" ); }
1754 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point cloud layer parameter." ); }
1756 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point Cloud Layer" ); }
1758 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPointCloudLayer"_s; }
1760 QString
className()
const override {
return u
"QgsProcessingParameterPointCloudLayer"_s; }
1762 QString
id()
const override {
return u
"pointcloud"_s; }
1766 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"str: layer source" ) << u
"QgsPointCloudLayer"_s;
1769 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path to a point cloud layer" ); }
1773 return QStringList()
1782 return QStringList()
1790 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
1804 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"An annotation layer parameter." ); }
1806 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Annotation Layer" ); }
1808 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterAnnotationLayer"_s; }
1810 QString
className()
const override {
return u
"QgsProcessingParameterAnnotationLayer"_s; }
1812 QString
id()
const override {
return u
"annotation"_s; }
1816 return QStringList() << QObject::tr(
"str: layer ID" ) << QObject::tr(
"str: layer name" ) << QObject::tr(
"\"main\": main annotation layer for a project" ) << u
"QgsAnnotationLayer"_s;
1819 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Layer ID for an annotation layer, or \"main\" for the main annotation layer in a project." ); }
1823 return QStringList()
1835 QColor
modelColor()
const override {
return QColor( 137, 150, 171 ); };
1850 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point cloud layer destination parameter." ); }
1852 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point Cloud Destination" ); }
1854 QString
id()
const override {
return u
"pointCloudDestination"_s; }
1856 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPointCloudDestination"_s; }
1858 QString
className()
const override {
return u
"QgsProcessingParameterPointCloudDestination"_s; }
1867 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
1869 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new point cloud layer" ); }
1871 QColor
modelColor()
const override {
return QColor( 80, 80, 80 ); };
1885 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A point cloud attribute parameter, for selecting an attribute from a point cloud source." ); }
1887 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Point Cloud Attribute" ); }
1889 QString
id()
const override {
return u
"attribute"_s; }
1891 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterPointCloudAttribute"_s; }
1893 QString
className()
const override {
return u
"QgsProcessingParameterPointCloudAttribute"_s; }
1895 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s; }
1897 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"The name of an attribute" ) << QObject::tr(
"; delimited list of attribute names" ); }
1916 QString
description()
const override {
return QCoreApplication::translate(
"Processing",
"A vector tiles layer destination parameter." ); }
1918 QString
name()
const override {
return QCoreApplication::translate(
"Processing",
"Vector Tile Destination" ); }
1920 QString
id()
const override {
return u
"vectorTileDestination"_s; }
1922 QString
pythonImportString()
const override {
return u
"from qgis.core import QgsProcessingParameterVectorTileDestination"_s; }
1924 QString
className()
const override {
return u
"QgsProcessingParameterVectorTileDestination"_s; }
1933 QStringList
acceptedPythonTypes()
const override {
return QStringList() << u
"str"_s << u
"QgsProperty"_s << u
"QgsProcessingOutputLayerDefinition"_s; }
1935 QStringList
acceptedStringValues()
const override {
return QStringList() << QObject::tr(
"Path for new vector tile layer" ); }
1937 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.
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.