Skip to content
Permalink
Browse files

Dox++

  • Loading branch information
nyalldawson committed Jan 4, 2021
1 parent 16c4bea commit 72065310f53ae2b02de4efe6a0430a63d6b9d599
@@ -394,7 +394,7 @@ Update the color ramp used and all symbols colors.
%Docstring
creates a QgsCategorizedSymbolRenderer from an existing renderer.

:return: a new renderer if the conversion was possible, otherwise 0.
:return: a new renderer if the conversion was possible, otherwise ``None``.

.. versionadded:: 2.5
%End
@@ -465,7 +465,7 @@ set the method used for graduation (either size or color)
%Docstring
creates a QgsGraduatedSymbolRenderer from an existing renderer.

:return: a new renderer if the conversion was possible, otherwise 0.
:return: a new renderer if the conversion was possible, otherwise ``None``.

.. versionadded:: 2.6
%End
@@ -74,7 +74,7 @@ Creates a renderer out of an XML, for loading
%Docstring
Creates a QgsInvertedPolygonRenderer by a conversion from an existing renderer.

:return: a new renderer if the conversion was possible, otherwise 0.
:return: a new renderer if the conversion was possible, otherwise ``None``.

.. versionadded:: 2.5
%End
@@ -112,9 +112,7 @@ Features collected during :py:func:`~QgsMergedFeatureRenderer.renderFeature` are
%Docstring
Creates a QgsMergedFeatureRenderer by a conversion from an existing renderer.

:return: a new renderer if the conversion was possible, otherwise 0.

.. versionadded:: 2.5
:return: a new renderer if the conversion was possible, otherwise ``None``.
%End

protected:
@@ -544,7 +544,7 @@ take a rule and create a list of new rules with intervals of scales given by the
%Docstring
creates a QgsRuleBasedRenderer from an existing renderer.

:return: a new renderer if the conversion was possible, otherwise 0.
:return: a new renderer if the conversion was possible, otherwise ``None``.

.. versionadded:: 2.5
%End
@@ -380,7 +380,7 @@ class CORE_EXPORT QgsCategorizedSymbolRenderer : public QgsFeatureRenderer

/**
* creates a QgsCategorizedSymbolRenderer from an existing renderer.
* \returns a new renderer if the conversion was possible, otherwise 0.
* \returns a new renderer if the conversion was possible, otherwise NULLPTR.
* \since QGIS 2.5
*/
static QgsCategorizedSymbolRenderer *convertFromRenderer( const QgsFeatureRenderer *renderer ) SIP_FACTORY;
@@ -398,7 +398,7 @@ class CORE_EXPORT QgsGraduatedSymbolRenderer : public QgsFeatureRenderer

/**
* creates a QgsGraduatedSymbolRenderer from an existing renderer.
* \returns a new renderer if the conversion was possible, otherwise 0.
* \returns a new renderer if the conversion was possible, otherwise NULLPTR.
* \since QGIS 2.6
*/
static QgsGraduatedSymbolRenderer *convertFromRenderer( const QgsFeatureRenderer *renderer ) SIP_FACTORY;
@@ -77,7 +77,7 @@ class CORE_EXPORT QgsInvertedPolygonRenderer : public QgsMergedFeatureRenderer

/**
* Creates a QgsInvertedPolygonRenderer by a conversion from an existing renderer.
* \returns a new renderer if the conversion was possible, otherwise 0.
* \returns a new renderer if the conversion was possible, otherwise NULLPTR.
* \since QGIS 2.5
*/
static QgsInvertedPolygonRenderer *convertFromRenderer( const QgsFeatureRenderer *renderer ) SIP_FACTORY;
@@ -98,8 +98,7 @@ class CORE_EXPORT QgsMergedFeatureRenderer : public QgsFeatureRenderer

/**
* Creates a QgsMergedFeatureRenderer by a conversion from an existing renderer.
* \returns a new renderer if the conversion was possible, otherwise 0.
* \since QGIS 2.5
* \returns a new renderer if the conversion was possible, otherwise NULLPTR.
*/
static QgsMergedFeatureRenderer *convertFromRenderer( const QgsFeatureRenderer *renderer ) SIP_FACTORY;

@@ -542,7 +542,7 @@ class CORE_EXPORT QgsRuleBasedRenderer : public QgsFeatureRenderer

/**
* creates a QgsRuleBasedRenderer from an existing renderer.
* \returns a new renderer if the conversion was possible, otherwise 0.
* \returns a new renderer if the conversion was possible, otherwise NULLPTR.
* \since QGIS 2.5
*/
static QgsRuleBasedRenderer *convertFromRenderer( const QgsFeatureRenderer *renderer ) SIP_FACTORY;

0 comments on commit 7206531

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