Skip to content

Commit 84c3687

Browse files
andrewharveynyalldawson
authored andcommitted
add a shortDescription to QgsZonalStatisticsAlgorithm to provide a tooltip hint text
1 parent 1a16c85 commit 84c3687

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/analysis/processing/qgsalgorithmzonalstatistics.cpp

+5
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ QString QgsZonalStatisticsAlgorithm::groupId() const
6161
return QStringLiteral( "rasteranalysis" );
6262
}
6363

64+
QString QgsZonalStatisticsAlgorithm::shortDescription() const
65+
{
66+
return QObject::tr( "Calculates statistics for a raster layer's values for each feature of an overlapping polygon vector layer." );
67+
}
68+
6469
QString QgsZonalStatisticsAlgorithm::shortHelpString() const
6570
{
6671
return QObject::tr( "This algorithm calculates statistics of a raster layer for each feature "

0 commit comments

Comments
 (0)