mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Extend documentation
This commit is contained in:
parent
18854dc7b6
commit
80c12b590a
@ -25,9 +25,15 @@ Represents an individual raster layer/band number entry within a raster calculat
|
||||
|
||||
static QList<QgsRasterCalculatorEntry> rasterEntries();
|
||||
%Docstring
|
||||
Creates a list of raster entries from the current project
|
||||
Creates a list of raster entries from the current project.
|
||||
|
||||
If there are more than one layers with the same data source
|
||||
only one of them is added to the list, duplicate names are
|
||||
also handled by appending an _n integer to the base name.
|
||||
|
||||
:return: the list of raster entries form the current project
|
||||
|
||||
.. versionadded:: 3.6
|
||||
%End
|
||||
|
||||
QString ref;
|
||||
|
@ -41,8 +41,14 @@ class ANALYSIS_EXPORT QgsRasterCalculatorEntry
|
||||
public:
|
||||
|
||||
/**
|
||||
* Creates a list of raster entries from the current project
|
||||
* Creates a list of raster entries from the current project.
|
||||
*
|
||||
* If there are more than one layers with the same data source
|
||||
* only one of them is added to the list, duplicate names are
|
||||
* also handled by appending an _n integer to the base name.
|
||||
*
|
||||
* \return the list of raster entries form the current project
|
||||
* \since QGIS 3.6
|
||||
*/
|
||||
static QList<QgsRasterCalculatorEntry> rasterEntries();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user