QGIS API Documentation 3.29.0-Master (19d7edcfed)
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
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
19
20QgsProcessingParameterType::ParameterFlags QgsProcessingParameterType::flags() const
21{
23}
24
26{
27 return QVariantMap();
28}
29
31{
32 return QStringList();
33}
34
36{
37 return QStringList();
38}
virtual QVariantMap metadata() const
Metadata for this parameter type.
virtual QStringList acceptedPythonTypes() const
Returns a list of the Python data types accepted as values for the parameter.
virtual ParameterFlags flags() const
Determines if this parameter is available in the modeler.
@ ExposeToModeler
Is this parameter available in the modeler. Is set to on by default.
virtual QStringList acceptedStringValues() const
Returns a descriptive list of the possible string values acceptable for the parameter.