Skip to content
Permalink
Browse files

add other supported parameter types to the list

  • Loading branch information
alexbruy committed Nov 2, 2020
1 parent 5a155f7 commit 3651365787842b51876fa35139e11d18ff7d0a80
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/core/processing/qgsprocessingparameterdxflayers.h
@@ -108,7 +108,15 @@ class CORE_EXPORT QgsProcessingParameterTypeDxfLayers : public QgsProcessingPara

QStringList acceptedPythonTypes() const override
{
return QStringList() << QObject::tr( "list[dict]: list of input layers as dictionaries, see QgsProcessingParameterDxfLayers docs" );
return QStringList() << QObject::tr( "list[dict]: list of input layers as dictionaries, see QgsProcessingParameterDxfLayers docs" )
<< QObject::tr( "list[str]: list of layer IDs" )
<< QObject::tr( "list[str]: list of layer names" )
<< QObject::tr( "list[str]: list of layer sources" )
<< QObject::tr( "str: layer ID" )
<< QObject::tr( "str: layer name" )
<< QObject::tr( "str: layer source" )
<< QStringLiteral( "list[QgsMapLayer]" )
<< QStringLiteral( "QgsVectorLayer" );
}
};

0 comments on commit 3651365

Please sign in to comment.
You can’t perform that action at this time.