Skip to content

Commit

Permalink
add other supported parameter types to the list
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Nov 2, 2020
1 parent 5a155f7 commit 3651365
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/core/processing/qgsprocessingparameterdxflayers.h
Expand Up @@ -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" );
}
};

Expand Down

0 comments on commit 3651365

Please sign in to comment.