Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 30, 2020
1 parent 6ff2fe4 commit 9ecded8
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
7 changes: 6 additions & 1 deletion python/core/auto_generated/layout/qgslayoutitemlegend.sip.in
Expand Up @@ -307,12 +307,17 @@ Sets the legend symbol ``width``.
double maxSymbolSize() const; double maxSymbolSize() const;
%Docstring %Docstring
Returns the legend maximum symbol size (in mm). 0.0 means there is no maximum set Returns the legend maximum symbol size (in mm). 0.0 means there is no maximum set

.. versionadded:: 3.16
%End %End


void setMaxSymbolSize( double size ); void setMaxSymbolSize( double size );
%Docstring %Docstring
set maximum symbol size 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 %End


double minSymbolSize() const; double minSymbolSize() const;
Expand Down
2 changes: 2 additions & 0 deletions python/core/auto_generated/symbology/qgssymbol.sip.in
Expand Up @@ -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). Sets the width units for the whole symbol (including all symbol layers).


:param unit: size units :param unit: size units

.. versionadded:: 3.16
%End %End




Expand Down
6 changes: 4 additions & 2 deletions src/core/layout/qgslayoutitemlegend.h
Expand Up @@ -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 * Returns the legend maximum symbol size (in mm). 0.0 means there is no maximum set
* \since QGIS 3.16
*/ */
double maxSymbolSize() const; double maxSymbolSize() const;


/** /**
* @brief set maximum symbol size * \brief 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
* \since QGIS 3.16
*/ */
void setMaxSymbolSize( double size ); void setMaxSymbolSize( double size );


Expand Down
1 change: 1 addition & 0 deletions src/core/symbology/qgssymbol.h
Expand Up @@ -1142,6 +1142,7 @@ class CORE_EXPORT QgsLineSymbol : public QgsSymbol
/** /**
* Sets the width units for the whole symbol (including all symbol layers). * Sets the width units for the whole symbol (including all symbol layers).
* \param unit size units * \param unit size units
* \since QGIS 3.16
*/ */
void setWidthUnit( QgsUnitTypes::RenderUnit unit ); void setWidthUnit( QgsUnitTypes::RenderUnit unit );


Expand Down

0 comments on commit 9ecded8

Please sign in to comment.