QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
src
core
processing
qgsprocessingparametertype.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
qgsprocessingparametertype.cpp
3
------------------------
4
begin : March 2018
5
copyright : (C) 2018 by Matthias Kuhn
6
email :
[email protected]
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#include "
qgsprocessingparametertype.h
"
19
20
QgsProcessingParameterType::ParameterFlags
QgsProcessingParameterType::flags
()
const
21
{
22
return
QgsProcessingParameterType::ExposeToModeler
;
23
}
24
25
QVariantMap
QgsProcessingParameterType::metadata
()
const
26
{
27
return
QVariantMap();
28
}
29
30
QStringList
QgsProcessingParameterType::acceptedPythonTypes
()
const
31
{
32
return
QStringList();
33
}
34
35
QStringList
QgsProcessingParameterType::acceptedStringValues
()
const
36
{
37
return
QStringList();
38
}
qgsprocessingparametertype.h
QgsProcessingParameterType::ExposeToModeler
@ ExposeToModeler
Is this parameter available in the modeler. Is set to on by default.
Definition:
qgsprocessingparametertype.h:43
QgsProcessingParameterType::flags
virtual ParameterFlags flags() const
Determines if this parameter is available in the modeler.
Definition:
qgsprocessingparametertype.cpp:20
QgsProcessingParameterType::acceptedStringValues
virtual QStringList acceptedStringValues() const
Returns a descriptive list of the possible string values acceptable for the parameter.
Definition:
qgsprocessingparametertype.cpp:35
QgsProcessingParameterType::metadata
virtual QVariantMap metadata() const
Metadata for this parameter type.
Definition:
qgsprocessingparametertype.cpp:25
QgsProcessingParameterType::acceptedPythonTypes
virtual QStringList acceptedPythonTypes() const
Returns a list of the Python data types accepted as values for the parameter.
Definition:
qgsprocessingparametertype.cpp:30
Generated on Sat Oct 24 2020 17:43:09 for QGIS API Documentation by
1.8.20