Skip to content
Permalink
Browse files

[processing] Fix compatible model input/output types for multiinput p…

…arameters
  • Loading branch information
nyalldawson committed Jun 17, 2020
1 parent 0b92727 commit 5d98ad178b5149acd3fe7eb3e019ebf55aa6f167
Showing with 13 additions and 4 deletions.
  1. +13 −4 src/gui/processing/qgsprocessingwidgetwrapperimpl.cpp
@@ -6510,15 +6510,24 @@ QVariant QgsProcessingMultipleLayerWidgetWrapper::widgetValue() const
QStringList QgsProcessingMultipleLayerWidgetWrapper::compatibleParameterTypes() const
{
return QStringList()
<< QgsProcessingParameterBand::typeName()
<< QgsProcessingParameterNumber::typeName()
<< QgsProcessingOutputFolder::typeName();
<< QgsProcessingParameterMultipleLayers::typeName()
<< QgsProcessingParameterMapLayer::typeName()
<< QgsProcessingParameterVectorLayer::typeName()
<< QgsProcessingParameterMeshLayer::typeName()
<< QgsProcessingParameterRasterLayer::typeName()
<< QgsProcessingParameterFile::typeName()
<< QgsProcessingParameterString::typeName();
}

QStringList QgsProcessingMultipleLayerWidgetWrapper::compatibleOutputTypes() const
{
return QStringList()
<< QgsProcessingOutputNumber::typeName();
<< QgsProcessingOutputMapLayer::typeName()
<< QgsProcessingOutputRasterLayer::typeName()
<< QgsProcessingOutputVectorLayer::typeName()
<< QgsProcessingOutputMultipleLayers::typeName()
<< QgsProcessingOutputFile::typeName()
<< QgsProcessingOutputString::typeName();
}

QString QgsProcessingMultipleLayerWidgetWrapper::modelerExpressionFormatString() const

0 comments on commit 5d98ad1

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