Add context in doc

This commit is contained in:
Blottiere Paul 2019-03-20 09:56:30 +00:00
parent 2aeac0d321
commit 90b46f6a38
2 changed files with 4 additions and 0 deletions

View File

@ -102,6 +102,7 @@ Entry point called from QgsLegendRenderer to do the rendering in a
JSON object.
:param settings: Legend layout configuration
:param context: Rendering context
:param json: The json object to update
.. versionadded:: 3.8
@ -123,6 +124,7 @@ Draws symbol on the left side of the item
Adds a symbol in base64 string within a JSON object with the key "icon".
:param settings: Legend layout configuration
:param context: Rendering context
:param json: The json object to update
.. versionadded:: 3.8

View File

@ -114,6 +114,7 @@ class CORE_EXPORT QgsLayerTreeModelLegendNode : public QObject
* Entry point called from QgsLegendRenderer to do the rendering in a
* JSON object.
* \param settings Legend layout configuration
* \param context Rendering context
* \param json The json object to update
* \since QGIS 3.8
*/
@ -131,6 +132,7 @@ class CORE_EXPORT QgsLayerTreeModelLegendNode : public QObject
/**
* Adds a symbol in base64 string within a JSON object with the key "icon".
* \param settings Legend layout configuration
* \param context Rendering context
* \param json The json object to update
* \since QGIS 3.8
*/