18#ifndef QGSPROCESSING_H
19#define QGSPROCESSING_H
49 TypeVectorAnyGeometry = -1,
52 TypeVectorPolygon = 2,
78 return QStringLiteral(
"TypeMapLayer" );
80 return QStringLiteral(
"TypeVectorAnyGeometry" );
82 return QStringLiteral(
"TypeVectorPoint" );
84 return QStringLiteral(
"TypeVectorLine" );
86 return QStringLiteral(
"TypeVectorPolygon" );
88 return QStringLiteral(
"TypeRaster" );
90 return QStringLiteral(
"TypeFile" );
92 return QStringLiteral(
"TypeVector" );
94 return QStringLiteral(
"TypeMesh" );
96 return QStringLiteral(
"TypePlugin" );
98 return QStringLiteral(
"TypePointCloud" );
100 return QStringLiteral(
"TypeAnnotation" );
Contains enumerations and other constants for use in processing algorithms and parameters.
static const QgsSettingsEntryInteger * settingsDefaultOutputRasterLayerExt
Settings entry default output raster layer ext.
static const QgsSettingsEntryInteger * settingsDefaultOutputVectorLayerExt
Settings entry default output vector layer ext.
static const QgsSettingsEntryString * settingsTempPath
Settings entry temp path.
static const QString TEMPORARY_OUTPUT
Constant used to indicate that a Processing algorithm output should be a temporary layer/file.
static const QgsSettingsEntryBool * settingsPreferFilenameAsLayerName
Settings entry prefer filename as layer name.
PythonOutputType
Available Python output types.
@ PythonQgsProcessingAlgorithmSubclass
Full Python QgsProcessingAlgorithm subclass.
SourceType
Data source types enum.
@ TypePlugin
Plugin layers.
@ TypeVectorLine
Vector line layers.
@ TypeMapLayer
Any map layer type (raster, vector, mesh, point cloud, annotation or plugin layer)
@ TypeVectorPolygon
Vector polygon layers.
@ TypeFile
Files (i.e. non map layer sources, such as text files)
@ TypeAnnotation
Annotation layers.
@ TypePointCloud
Point cloud layers.
@ TypeVector
Tables (i.e. vector layers with or without geometry). When used for a sink this indicates the sink ha...
@ TypeRaster
Raster layers.
@ TypeVectorPoint
Vector point layers.
@ TypeVectorAnyGeometry
Any vector layer with geometry.
static QString sourceTypeToString(SourceType type)
Converts a source type to a string representation.
A boolean settings entry.
An integer settings entry.
QgsSettingsTreeNode is a tree node for the settings tree to help organizing and introspecting the tre...
QgsSettingsTreeNode * createChildNode(const QString &key) SIP_THROW(QgsSettingsException)
Creates a normal tree node It will return the existing child node if it exists at the given key.
static QgsSettingsTreeNode * sTreeQgis