diff --git a/python/core/auto_generated/layout/qgslayoutitemlegend.sip.in b/python/core/auto_generated/layout/qgslayoutitemlegend.sip.in index 769b53985106..acf8de6736ba 100644 --- a/python/core/auto_generated/layout/qgslayoutitemlegend.sip.in +++ b/python/core/auto_generated/layout/qgslayoutitemlegend.sip.in @@ -307,12 +307,17 @@ Sets the legend symbol ``width``. double maxSymbolSize() const; %Docstring Returns the legend maximum symbol size (in mm). 0.0 means there is no maximum set + +.. versionadded:: 3.16 %End void setMaxSymbolSize( double size ); %Docstring set maximum symbol size -@param size maximum size (in mm) or 0.0 if no maximum + +:param size: maximum size (in mm) or 0.0 if no maximum + +.. versionadded:: 3.16 %End double minSymbolSize() const; diff --git a/python/core/auto_generated/symbology/qgssymbol.sip.in b/python/core/auto_generated/symbology/qgssymbol.sip.in index aa23aaef811f..39e114eb9b28 100644 --- a/python/core/auto_generated/symbology/qgssymbol.sip.in +++ b/python/core/auto_generated/symbology/qgssymbol.sip.in @@ -1117,6 +1117,8 @@ will be scaled to maintain their current relative size to the whole symbol size. Sets the width units for the whole symbol (including all symbol layers). :param unit: size units + +.. versionadded:: 3.16 %End diff --git a/src/core/layout/qgslayoutitemlegend.h b/src/core/layout/qgslayoutitemlegend.h index bd6e19507621..ee38475134fd 100644 --- a/src/core/layout/qgslayoutitemlegend.h +++ b/src/core/layout/qgslayoutitemlegend.h @@ -320,12 +320,14 @@ class CORE_EXPORT QgsLayoutItemLegend : public QgsLayoutItem /** * Returns the legend maximum symbol size (in mm). 0.0 means there is no maximum set + * \since QGIS 3.16 */ double maxSymbolSize() const; /** - * @brief set maximum symbol size - * @param size maximum size (in mm) or 0.0 if no maximum + * \brief set maximum symbol size + * \param size maximum size (in mm) or 0.0 if no maximum + * \since QGIS 3.16 */ void setMaxSymbolSize( double size ); diff --git a/src/core/symbology/qgssymbol.h b/src/core/symbology/qgssymbol.h index c80c9da00b10..c124d0a36a09 100644 --- a/src/core/symbology/qgssymbol.h +++ b/src/core/symbology/qgssymbol.h @@ -1142,6 +1142,7 @@ class CORE_EXPORT QgsLineSymbol : public QgsSymbol /** * Sets the width units for the whole symbol (including all symbol layers). * \param unit size units + * \since QGIS 3.16 */ void setWidthUnit( QgsUnitTypes::RenderUnit unit );