18 #ifndef QGSPROCESSINGPARAMETERTYPEIMPL_H
19 #define QGSPROCESSINGPARAMETERTYPEIMPL_H
24 #include <QCoreApplication>
44 return QCoreApplication::translate(
"Processing",
"A raster layer parameter." );
47 QString
name()
const override
49 return QCoreApplication::translate(
"Processing",
"Raster Layer" );
54 return QStringLiteral(
"from qgis.core import QgsProcessingParameterRasterLayer" );
59 return QStringLiteral(
"QgsProcessingParameterRasterLayer" );
62 QString
id()
const override
64 return QStringLiteral(
"raster" );
69 return QStringList() << QObject::tr(
"str: layer ID" )
70 << QObject::tr(
"str: layer name" )
71 << QObject::tr(
"str: layer source" )
72 << QStringLiteral(
"QgsProperty" )
73 << QStringLiteral(
"QgsRasterLayer" );
78 return QStringList() << QObject::tr(
"Path to a raster layer" );
98 return QCoreApplication::translate(
"Processing",
"A mesh layer parameter." );
101 QString
name()
const override
103 return QCoreApplication::translate(
"Processing",
"Mesh Layer" );
108 return QStringLiteral(
"from qgis.core import QgsProcessingParameterMeshLayer" );
113 return QStringLiteral(
"QgsProcessingParameterMeshLayer" );
116 QString
id()
const override
118 return QStringLiteral(
"mesh" );
123 return QStringList() << QObject::tr(
"str: layer ID" )
124 << QObject::tr(
"str: layer name" )
125 << QObject::tr(
"str: layer source" )
126 << QStringLiteral(
"QgsMeshLayer" );
131 return QStringList() << QObject::tr(
"Path to a mesh layer" );
151 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." );
154 QString
name()
const override
156 return QCoreApplication::translate(
"Processing",
"Vector Layer" );
161 return QStringLiteral(
"from qgis.core import QgsProcessingParameterVectorLayer" );
166 return QStringLiteral(
"QgsProcessingParameterVectorLayer" );
169 QString
id()
const override
171 return QStringLiteral(
"vector" );
176 return QStringList() << QObject::tr(
"str: layer ID" )
177 << QObject::tr(
"str: layer name" )
178 << QObject::tr(
"str: layer source" )
179 << QStringLiteral(
"QgsProperty" )
180 << QStringLiteral(
"QgsVectorLayer" );
185 return QStringList() << QObject::tr(
"Path to a vector layer" );
205 return QCoreApplication::translate(
"Processing",
"A generic map layer parameter, which accepts either vector or raster layers." );
208 QString
name()
const override
210 return QCoreApplication::translate(
"Processing",
"Map Layer" );
213 QString
id()
const override
215 return QStringLiteral(
"layer" );
220 return QStringLiteral(
"from qgis.core import QgsProcessingParameterMapLayer" );
225 return QStringLiteral(
"QgsProcessingParameterMapLayer" );
230 return QStringList() << QObject::tr(
"str: layer ID" )
231 << QObject::tr(
"str: layer name" )
232 << QObject::tr(
"str: layer source" )
233 << QStringLiteral(
"QgsMapLayer" )
234 << QStringLiteral(
"QgsProperty" )
235 << QStringLiteral(
"QgsRasterLayer" )
236 << QStringLiteral(
"QgsVectorLayer" );
241 return QStringList() << QObject::tr(
"Path to a vector, raster or mesh layer" );
261 return QCoreApplication::translate(
"Processing",
"A boolean parameter, for true/false values." );
264 QString
name()
const override
266 return QCoreApplication::translate(
"Processing",
"Boolean" );
269 QString
id()
const override
271 return QStringLiteral(
"boolean" );
276 return QStringLiteral(
"from qgis.core import QgsProcessingParameterBoolean" );
281 return QStringLiteral(
"QgsProcessingParameterBoolean" );
286 return QStringList() << QStringLiteral(
"bool" )
287 << QStringLiteral(
"int" )
288 << QStringLiteral(
"str" )
289 << QStringLiteral(
"QgsProperty" );
294 return QStringList() << QObject::tr(
"1 for true/yes" )
295 << QObject::tr(
"0 for false/no" );
315 return QCoreApplication::translate(
"Processing",
"An expression parameter, to add custom expressions based on layer fields." );
318 QString
name()
const override
320 return QCoreApplication::translate(
"Processing",
"Expression" );
323 QString
id()
const override
325 return QStringLiteral(
"expression" );
330 return QStringLiteral(
"from qgis.core import QgsProcessingParameterExpression" );
335 return QStringLiteral(
"QgsProcessingParameterExpression" );
340 return QStringList() << QStringLiteral(
"str" )
341 << QStringLiteral(
"QgsProperty" );
346 return QStringList() << QObject::tr(
"A valid QGIS expression string, e.g \"road_name\" = 'MAIN RD'" );
366 return QCoreApplication::translate(
"Processing",
"A coordinate reference system (CRS) input parameter." );
369 QString
name()
const override
371 return QCoreApplication::translate(
"Processing",
"CRS" );
374 QString
id()
const override
376 return QStringLiteral(
"crs" );
381 return QStringLiteral(
"from qgis.core import QgsProcessingParameterCrs" );
386 return QStringLiteral(
"QgsProcessingParameterCrs" );
392 << QStringLiteral(
"str: 'ProjectCrs'" )
393 << QObject::tr(
"str: CRS auth ID (e.g. 'EPSG:3111')" )
394 << QObject::tr(
"str: CRS PROJ4 (e.g. 'PROJ4:…')" )
395 << QObject::tr(
"str: CRS WKT (e.g. 'WKT:…')" )
396 << QObject::tr(
"str: layer ID. CRS of layer is used." )
397 << QObject::tr(
"str: layer name. CRS of layer is used." )
398 << QObject::tr(
"str: layer source. CRS of layer is used." )
399 << QObject::tr(
"QgsCoordinateReferenceSystem" )
400 << QObject::tr(
"QgsMapLayer: CRS of layer is used" )
401 << QObject::tr(
"QgsProcessingFeatureSourceDefinition: CRS of source is used" )
402 << QStringLiteral(
"QgsProperty" );
407 return QStringList() << 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." ) ;
430 return QCoreApplication::translate(
"Processing",
"A numeric range parameter for processing algorithms." );
433 QString
name()
const override
435 return QCoreApplication::translate(
"Processing",
"Range" );
438 QString
id()
const override
440 return QStringLiteral(
"range" );
445 return QStringLiteral(
"from qgis.core import QgsProcessingParameterRange" );
450 return QStringLiteral(
"QgsProcessingParameterRange" );
455 return QStringList() << QObject::tr(
"list[float]: list of 2 float values" )
456 << QObject::tr(
"list[str]: list of strings representing floats" )
457 << QObject::tr(
"str: as two comma delimited floats, e.g. '1,10'" )
458 << QStringLiteral(
"QgsProperty" );
463 return QStringList() << QObject::tr(
"Two comma separated numeric values, e.g. '1,10'" );
483 return QCoreApplication::translate(
"Processing",
"A geographic point parameter." );
486 QString
name()
const override
488 return QCoreApplication::translate(
"Processing",
"Point" );
491 QString
id()
const override
493 return QStringLiteral(
"point" );
498 return QStringLiteral(
"from qgis.core import QgsProcessingParameterPoint" );
503 return QStringLiteral(
"QgsProcessingParameterPoint" );
508 return QStringList() << QObject::tr(
"str: as an 'x,y' string, e.g. '1.5,10.1'" )
509 << QStringLiteral(
"QgsPointXY" )
510 << QStringLiteral(
"QgsProperty" )
511 << QStringLiteral(
"QgsReferencedPointXY" )
512 << QStringLiteral(
"QgsGeometry: centroid of geometry is used" );
517 return QStringList() << QObject::tr(
"Point coordinate as an 'x,y' string, e.g. '1.5,10.1'" );
537 return QCoreApplication::translate(
"Processing",
"An enumerated type parameter." );
540 QString
name()
const override
542 return QCoreApplication::translate(
"Processing",
"Enum" );
545 QString
id()
const override
547 return QStringLiteral(
"enum" );
552 return QStringLiteral(
"from qgis.core import QgsProcessingParameterEnum" );
557 return QStringLiteral(
"QgsProcessingParameterEnum" );
562 return QStringList() << QStringLiteral(
"int" )
563 << QObject::tr(
"str: as string representation of int, e.g. '1'" )
564 << QStringLiteral(
"QgsProperty" );
569 return QStringList() << QObject::tr(
"Number of selected option, e.g. '1'" )
570 << QObject::tr(
"Comma separated list of options, e.g. '1,3'" );
590 return QCoreApplication::translate(
"Processing",
"A map extent parameter." );
593 QString
name()
const override
595 return QCoreApplication::translate(
"Processing",
"Extent" );
598 QString
id()
const override
600 return QStringLiteral(
"extent" );
605 return QStringLiteral(
"from qgis.core import QgsProcessingParameterExtent" );
610 return QStringLiteral(
"QgsProcessingParameterExtent" );
615 return QStringList() << QObject::tr(
"str: as comma delimited list of x min, x max, y min, y max. E.g. '4,10,101,105'" )
616 << QObject::tr(
"str: layer ID. Extent of layer is used." )
617 << QObject::tr(
"str: layer name. Extent of layer is used." )
618 << QObject::tr(
"str: layer source. Extent of layer is used." )
619 << QObject::tr(
"QgsMapLayer: Extent of layer is used" )
620 << QObject::tr(
"QgsProcessingFeatureSourceDefinition: Extent of source is used" )
621 << QStringLiteral(
"QgsProperty" )
622 << QStringLiteral(
"QgsRectangle" )
623 << QStringLiteral(
"QgsReferencedRectangle" )
624 << QStringLiteral(
"QgsGeometry: bounding box of geometry is used" );;
629 return QStringList() << QObject::tr(
"A comma delimited string of x min, x max, y min, y max. E.g. '4,10,101,105'" )
630 << QObject::tr(
"Path to a layer. The extent of the layer is used." ) ;
650 return QCoreApplication::translate(
"Processing",
"A table (matrix) parameter for processing algorithms." );
653 QString
name()
const override
655 return QCoreApplication::translate(
"Processing",
"Matrix" );
658 QString
id()
const override
660 return QStringLiteral(
"matrix" );
665 return QStringLiteral(
"from qgis.core import QgsProcessingParameterMatrix" );
670 return QStringLiteral(
"QgsProcessingParameterMatrix" );
675 return QStringList() << QObject::tr(
"str: as comma delimited list of values" )
676 << QStringLiteral(
"list" )
677 << QStringLiteral(
"QgsProperty" );
682 return QStringList() << QObject::tr(
"A comma delimited list of values" );
702 return QCoreApplication::translate(
"Processing",
"A file or folder parameter, for use with non-map layer file sources or folders." );
705 QString
name()
const override
707 return QCoreApplication::translate(
"Processing",
"File/Folder" );
710 QString
id()
const override
712 return QStringLiteral(
"file" );
717 return QStringLiteral(
"from qgis.core import QgsProcessingParameterFile" );
722 return QStringLiteral(
"QgsProcessingParameterFile" );
727 return QStringList() << QStringLiteral(
"str" )
728 << QStringLiteral(
"QgsProperty" );
733 return QStringList() << QObject::tr(
"Path to a file" );
753 return QCoreApplication::translate(
"Processing",
"A vector field parameter, for selecting an existing field from a vector source." );
756 QString
name()
const override
758 return QCoreApplication::translate(
"Processing",
"Vector Field" );
761 QString
id()
const override
763 return QStringLiteral(
"field" );
768 return QStringLiteral(
"from qgis.core import QgsProcessingParameterField" );
773 return QStringLiteral(
"QgsProcessingParameterField" );
778 return QStringList() << QStringLiteral(
"str" )
779 << QStringLiteral(
"QgsProperty" );
784 return QStringList() << QObject::tr(
"The name of an existing field" )
785 << QObject::tr(
"; delimited list of existing field names" );
806 return QCoreApplication::translate(
"Processing",
"A vector layer destination parameter." );
809 QString
name()
const override
811 return QCoreApplication::translate(
"Processing",
"Vector Destination" );
814 QString
id()
const override
816 return QStringLiteral(
"vectorDestination" );
821 return QStringLiteral(
"from qgis.core import QgsProcessingParameterVectorDestination" );
826 return QStringLiteral(
"QgsProcessingParameterVectorDestination" );
829 ParameterFlags
flags()
const override
832 flags.setFlag( ParameterFlag::ExposeToModeler,
false );
838 return QStringList() << QStringLiteral(
"str" )
839 << QStringLiteral(
"QgsProperty" )
840 << QStringLiteral(
"QgsProcessingOutputLayerDefinition" );
845 return QStringList() << QObject::tr(
"Path for new vector layer" );
867 return QCoreApplication::translate(
"Processing",
"A generic file based destination parameter." );
870 QString
name()
const override
872 return QCoreApplication::translate(
"Processing",
"File Destination" );
875 QString
id()
const override
877 return QStringLiteral(
"fileDestination" );
882 return QStringLiteral(
"from qgis.core import QgsProcessingParameterFileDestination" );
887 return QStringLiteral(
"QgsProcessingParameterFileDestination" );
890 ParameterFlags
flags()
const override
893 flags.setFlag( ParameterFlag::ExposeToModeler,
false );
899 return QStringList() << QStringLiteral(
"str" )
900 << QStringLiteral(
"QgsProperty" );
905 return QStringList() << QObject::tr(
"Path for new file" );
928 return QCoreApplication::translate(
"Processing",
"A folder destination parameter." );
931 QString
name()
const override
933 return QCoreApplication::translate(
"Processing",
"Folder Destination" );
936 QString
id()
const override
938 return QStringLiteral(
"folderDestination" );
943 return QStringLiteral(
"from qgis.core import QgsProcessingParameterFolderDestination" );
948 return QStringLiteral(
"QgsProcessingParameterFolderDestination" );
951 ParameterFlags
flags()
const override
954 flags.setFlag( ParameterFlag::ExposeToModeler,
false );
960 return QStringList() << QStringLiteral(
"str" )
961 << QStringLiteral(
"QgsProperty" );
966 return QStringList() << QObject::tr(
"Path for an existing or new folder" );
988 return QCoreApplication::translate(
"Processing",
"A raster layer destination parameter." );
991 QString
name()
const override
993 return QCoreApplication::translate(
"Processing",
"Raster Destination" );
996 QString
id()
const override
998 return QStringLiteral(
"rasterDestination" );
1003 return QStringLiteral(
"from qgis.core import QgsProcessingParameterRasterDestination" );
1008 return QStringLiteral(
"QgsProcessingParameterRasterDestination" );
1011 ParameterFlags
flags()
const override
1014 flags.setFlag( ParameterFlag::ExposeToModeler,
false );
1020 return QStringList() << QStringLiteral(
"str" )
1021 << QStringLiteral(
"QgsProperty" )
1022 << QStringLiteral(
"QgsProcessingOutputLayerDefinition" );
1027 return QStringList() << QObject::tr(
"Path for new raster layer" );
1048 return QCoreApplication::translate(
"Processing",
"A freeform string parameter." );
1051 QString
name()
const override
1053 return QCoreApplication::translate(
"Processing",
"String" );
1056 QString
id()
const override
1058 return QStringLiteral(
"string" );
1063 return QStringLiteral(
"from qgis.core import QgsProcessingParameterString" );
1068 return QStringLiteral(
"QgsProcessingParameterString" );
1073 return QStringList() << QStringLiteral(
"str" )
1074 << QStringLiteral(
"QgsProperty" );
1079 return QStringList() << QObject::tr(
"String value" );
1100 return QCoreApplication::translate(
"Processing",
"A authentication configuration parameter." );
1103 QString
name()
const override
1105 return QCoreApplication::translate(
"Processing",
"Authentication Configuration" );
1108 QString
id()
const override
1110 return QStringLiteral(
"authcfg" );
1115 return QStringLiteral(
"from qgis.core import QgsProcessingParameterAuthConfig" );
1120 return QStringLiteral(
"QgsProcessingParameterAuthConfig" );
1125 return QStringList() << QStringLiteral(
"str" );
1130 return QStringList() << QObject::tr(
"An existing QGIS authentication ID string" );
1151 return QCoreApplication::translate(
"Processing",
"An input allowing selection of multiple sources, including multiple map layers or file sources." );
1154 QString
name()
const override
1156 return QCoreApplication::translate(
"Processing",
"Multiple Input" );
1159 QString
id()
const override
1161 return QStringLiteral(
"multilayer" );
1166 return QStringLiteral(
"from qgis.core import QgsProcessingParameterMultipleLayers" );
1171 return QStringLiteral(
"QgsProcessingParameterMultipleLayers" );
1176 return QStringList() << QObject::tr(
"list[str]: list of layer IDs" )
1177 << QObject::tr(
"list[str]: list of layer names" )
1178 << QObject::tr(
"list[str]: list of layer sources" )
1179 << QStringLiteral(
"list[QgsMapLayer]" )
1180 << QStringLiteral(
"QgsProperty" );
1200 return QCoreApplication::translate(
"Processing",
"A vector feature parameter, e.g. for algorithms which operate on the features within a layer." );
1203 QString
name()
const override
1205 return QCoreApplication::translate(
"Processing",
"Vector Features" );
1208 QString
id()
const override
1210 return QStringLiteral(
"source" );
1215 return QStringLiteral(
"from qgis.core import QgsProcessingParameterFeatureSource" );
1220 return QStringLiteral(
"QgsProcessingParameterFeatureSource" );
1225 return QStringList() << QObject::tr(
"str: layer ID" )
1226 << QObject::tr(
"str: layer name" )
1227 << QObject::tr(
"str: layer source" )
1228 << QStringLiteral(
"QgsProcessingFeatureSourceDefinition" )
1229 << QStringLiteral(
"QgsProperty" )
1230 << QStringLiteral(
"QgsVectorLayer" );
1235 return QStringList() << QObject::tr(
"Path to a vector layer" );
1256 return QCoreApplication::translate(
"Processing",
"A numeric parameter, including float or integer values." );
1259 QString
name()
const override
1261 return QCoreApplication::translate(
"Processing",
"Number" );
1264 QString
id()
const override
1266 return QStringLiteral(
"number" );
1271 return QStringLiteral(
"from qgis.core import QgsProcessingParameterNumber" );
1276 return QStringLiteral(
"QgsProcessingParameterNumber" );
1281 return QStringList() << QStringLiteral(
"int" )
1282 << QStringLiteral(
"float" )
1283 << QStringLiteral(
"QgsProperty" );
1288 return QStringList() << QObject::tr(
"A numeric value" );
1309 return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a distance measure." );
1312 QString
name()
const override
1314 return QCoreApplication::translate(
"Processing",
"Distance" );
1317 QString
id()
const override
1319 return QStringLiteral(
"distance" );
1324 return QStringLiteral(
"from qgis.core import QgsProcessingParameterDistance" );
1329 return QStringLiteral(
"QgsProcessingParameterDistance" );
1334 return QStringList() << QStringLiteral(
"int" )
1335 << QStringLiteral(
"float" )
1336 << QStringLiteral(
"QgsProperty" );
1341 return QStringList() << QObject::tr(
"A numeric value" );
1364 return QCoreApplication::translate(
"Processing",
"A numeric parameter representing a map scale." );
1367 QString
name()
const override
1369 return QCoreApplication::translate(
"Processing",
"Scale" );
1372 QString
id()
const override
1374 return QStringLiteral(
"scale" );
1379 return QStringLiteral(
"from qgis.core import QgsProcessingParameterScale" );
1384 return QStringLiteral(
"QgsProcessingParameterScale" );
1389 return QStringList() << QStringLiteral(
"int: scale denominator" )
1390 << QStringLiteral(
"float: scale denominator" )
1391 << QStringLiteral(
"QgsProperty" );
1396 return QStringList() << QObject::tr(
"A numeric value representing the scale denominator" );
1418 return QCoreApplication::translate(
"Processing",
"A raster band parameter, for selecting an existing band from a raster source." );
1421 QString
name()
const override
1423 return QCoreApplication::translate(
"Processing",
"Raster Band" );
1426 QString
id()
const override
1428 return QStringLiteral(
"band" );
1433 return QStringLiteral(
"from qgis.core import QgsProcessingParameterBand" );
1438 return QStringLiteral(
"QgsProcessingParameterBand" );
1443 return QStringList() << QStringLiteral(
"int" )
1444 << QStringLiteral(
"QgsProperty" );
1449 return QStringList() << QObject::tr(
"Integer value representing an existing raster band number" );
1469 ParameterFlags
flags()
const override
1472 flags.setFlag( ParameterFlag::ExposeToModeler,
false );
1478 return QCoreApplication::translate(
"Processing",
"A feature sink destination parameter." );
1481 QString
name()
const override
1483 return QCoreApplication::translate(
"Processing",
"Feature Sink" );
1486 QString
id()
const override
1488 return QStringLiteral(
"sink" );
1493 return QStringLiteral(
"from qgis.core import QgsProcessingParameterFeatureSink" );
1498 return QStringLiteral(
"QgsProcessingParameterFeatureSink" );
1503 return QStringList() << QObject::tr(
"str: destination vector file, e.g. 'd:/test.shp'" )
1504 << QObject::tr(
"str: 'memory:' to store result in temporary memory layer" )
1505 << QObject::tr(
"str: using vector provider ID prefix and destination URI, e.g. 'postgres:…' to store result in PostGIS table" )
1506 << QStringLiteral(
"QgsProcessingOutputLayerDefinition" )
1507 << QStringLiteral(
"QgsProperty" );
1512 return QStringList() << QObject::tr(
"Path for new vector layer" );
1535 return QCoreApplication::translate(
"Processing",
"A print layout parameter." );
1538 QString
name()
const override
1540 return QCoreApplication::translate(
"Processing",
"Print Layout" );
1543 QString
id()
const override
1545 return QStringLiteral(
"layout" );
1550 return QStringLiteral(
"from qgis.core import QgsProcessingParameterLayout" );
1555 return QStringLiteral(
"QgsProcessingParameterLayout" );
1560 return QStringList() << QObject::tr(
"str: name of print layout in current project" )
1561 << QStringLiteral(
"QgsProperty" );
1566 return QStringList() << QObject::tr(
"Name of print layout in current project" );
1590 return QCoreApplication::translate(
"Processing",
"A print layout item parameter." );
1593 QString
name()
const override
1595 return QCoreApplication::translate(
"Processing",
"Print Layout Item" );
1598 QString
id()
const override
1600 return QStringLiteral(
"layoutitem" );
1605 return QStringLiteral(
"from qgis.core import QgsProcessingParameterLayoutItem" );
1610 return QStringLiteral(
"QgsProcessingParameterLayoutItem" );
1615 return QStringList() << QObject::tr(
"str: UUID of print layout item" )
1616 << QObject::tr(
"str: id of print layout item" )
1617 << QStringLiteral(
"QgsProperty" );
1622 return QStringList() << QObject::tr(
"UUID or item id of layout item" );
1645 return QCoreApplication::translate(
"Processing",
"A color parameter." );
1648 QString
name()
const override
1650 return QCoreApplication::translate(
"Processing",
"Color" );
1653 QString
id()
const override
1655 return QStringLiteral(
"color" );
1660 return QStringLiteral(
"from qgis.core import QgsProcessingParameterColor" );
1665 return QStringLiteral(
"QgsProcessingParameterColor" );
1670 return QStringList() << QObject::tr(
"str: string representation of color, e.g #ff0000 or rgba(200,100,50,0.8)" )
1671 << QStringLiteral(
"QColor" )
1672 << QStringLiteral(
"QgsProperty" );
1677 return QStringList() << QObject::tr(
"String representation of color, e.g #ff0000 or rgba(200,100,50,0.8)" );
1699 return QCoreApplication::translate(
"Processing",
"A coordinate operation parameter." );
1702 QString
name()
const override
1704 return QCoreApplication::translate(
"Processing",
"Coordinate Operation" );
1707 QString
id()
const override
1709 return QStringLiteral(
"coordinateoperation" );
1714 return QStringLiteral(
"from qgis.core import QgsProcessingParameterCoordinateOperation" );
1719 return QStringLiteral(
"QgsProcessingParameterCoordinateOperation" );
1724 return QStringList() << QObject::tr(
"str: string representation of a Proj coordinate operation" );
1729 return QStringList() << QObject::tr(
"String representation of Proj coordinate operation" );
1752 return QCoreApplication::translate(
"Processing",
"A map theme parameter." );
1755 QString
name()
const override
1757 return QCoreApplication::translate(
"Processing",
"Map Theme" );
1760 QString
id()
const override
1762 return QStringLiteral(
"maptheme" );
1767 return QStringLiteral(
"from qgis.core import QgsProcessingParameterMapTheme" );
1772 return QStringLiteral(
"QgsProcessingParameterMapTheme" );
1777 return QStringList() << QObject::tr(
"str: name of an existing map theme" )
1778 << QStringLiteral(
"QgsProperty" );
1783 return QStringList() << QObject::tr(
"Name of an existing map theme" );
1804 return QCoreApplication::translate(
"Processing",
"A datetime parameter, including datetime, date or time values." );
1807 QString
name()
const override
1809 return QCoreApplication::translate(
"Processing",
"Datetime" );
1812 QString
id()
const override
1814 return QStringLiteral(
"datetime" );
1819 return QStringLiteral(
"from qgis.core import QgsProcessingParameterDateTime" );
1824 return QStringLiteral(
"QgsProcessingParameterDateTime" );
1829 return QStringList() << QStringLiteral(
"str" )
1830 << QStringLiteral(
"QDateTime" )
1831 << QStringLiteral(
"QDate" )
1832 << QStringLiteral(
"QTime" )
1833 << QStringLiteral(
"QgsProperty" );
1838 return QStringList() << QObject::tr(
"A datetime value in ISO format" );
1860 return QCoreApplication::translate(
"Processing",
"A connection name parameter, for registered database connections." );
1863 QString
name()
const override
1865 return QCoreApplication::translate(
"Processing",
"Connection Name" );
1868 QString
id()
const override
1870 return QStringLiteral(
"providerconnection" );
1875 return QStringLiteral(
"from qgis.core import QgsProcessingParameterProviderConnection" );
1880 return QStringLiteral(
"QgsProcessingParameterProviderConnection" );
1885 return QStringList() << QStringLiteral(
"str" )
1886 << QStringLiteral(
"QgsProperty" );
1891 return QStringList() << QObject::tr(
"Name of registered database connection" );
1912 return QCoreApplication::translate(
"Processing",
"A database schema parameter." );
1915 QString
name()
const override
1917 return QCoreApplication::translate(
"Processing",
"Database Schema" );
1920 QString
id()
const override
1922 return QStringLiteral(
"databaseschema" );
1927 return QStringLiteral(
"from qgis.core import QgsProcessingParameterDatabaseSchema" );
1932 return QStringLiteral(
"QgsProcessingParameterDatabaseSchema" );
1937 return QStringList() << QStringLiteral(
"str" )
1938 << QStringLiteral(
"QgsProperty" );
1943 return QStringList() << QObject::tr(
"Name of existing database schema" );
1965 return QCoreApplication::translate(
"Processing",
"A database table parameter." );
1968 QString
name()
const override
1970 return QCoreApplication::translate(
"Processing",
"Database Table" );
1973 QString
id()
const override
1975 return QStringLiteral(
"databasetable" );
1980 return QStringLiteral(
"from qgis.core import QgsProcessingParameterDatabaseTable" );
1985 return QStringLiteral(
"QgsProcessingParameterDatabaseTable" );
1990 return QStringList() << QStringLiteral(
"str" )
1991 << QStringLiteral(
"QgsProperty" );
1996 return QStringList() << QObject::tr(
"Name of existing database table" );
2000 #endif // QGSPROCESSINGPARAMETERTYPEIMPL_H