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