Skip to content

Commit

Permalink
Add a help text to the contour_level_list parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and github-actions[bot] committed Feb 13, 2022
1 parent 155295e commit 1c06465
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/analysis/processing/qgsalgorithmexportmesh.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -970,8 +970,10 @@ void QgsMeshContoursAlgorithm::initAlgorithm( const QVariantMap &configuration )
addParameter( new QgsProcessingParameterNumber(
QStringLiteral( "MAXIMUM" ), QObject::tr( "Maximum contour level" ), QgsProcessingParameterNumber::Double, QVariant(), true ) );

addParameter( new QgsProcessingParameterString(
QStringLiteral( "CONTOUR_LEVEL_LIST" ), QObject::tr( "List of contours level" ), QVariant(), false, true ) );
std::unique_ptr< QgsProcessingParameterString > contourLevelList = std::make_unique < QgsProcessingParameterString >(
QStringLiteral( "CONTOUR_LEVEL_LIST" ), QObject::tr( "List of contours level" ), QVariant(), false, true );
contourLevelList->setHelp( QObject::tr( "Comma separated list of values to export. If filled, the increment, minimum and maximum settings are ignored." ) );
addParameter( contourLevelList.release() );

addParameter( new QgsProcessingParameterCrs( QStringLiteral( "CRS_OUTPUT" ), QObject::tr( "Output coordinate system" ), QVariant(), true ) );

Expand Down

0 comments on commit 1c06465

Please sign in to comment.