Skip to content

Commit

Permalink
auto sipify 🍺
Browse files Browse the repository at this point in the history
  • Loading branch information
qgis-bot committed Aug 16, 2024
1 parent 9d87ecf commit 1d361ed
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 22 deletions.
2 changes: 2 additions & 0 deletions python/PyQt6/core/auto_additions/qgsmapboxglstyleconverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
QgsMapBoxGlStyleConverter.parseLabelStops = staticmethod(QgsMapBoxGlStyleConverter.parseLabelStops)
QgsMapBoxGlStyleConverter.parseValueList = staticmethod(QgsMapBoxGlStyleConverter.parseValueList)
QgsMapBoxGlStyleConverter.parseMatchList = staticmethod(QgsMapBoxGlStyleConverter.parseMatchList)
QgsMapBoxGlStyleConverter.parseStepList = staticmethod(QgsMapBoxGlStyleConverter.parseStepList)
QgsMapBoxGlStyleConverter.parseInterpolateListByZoom = staticmethod(QgsMapBoxGlStyleConverter.parseInterpolateListByZoom)
QgsMapBoxGlStyleConverter.parseColorExpression = staticmethod(QgsMapBoxGlStyleConverter.parseColorExpression)
QgsMapBoxGlStyleConverter.parseColor = staticmethod(QgsMapBoxGlStyleConverter.parseColor)
Expand All @@ -37,3 +38,4 @@
QgsMapBoxGlStyleConverter.parseExpression = staticmethod(QgsMapBoxGlStyleConverter.parseExpression)
QgsMapBoxGlStyleConverter.retrieveSprite = staticmethod(QgsMapBoxGlStyleConverter.retrieveSprite)
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64 = staticmethod(QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64)
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64WithProperties = staticmethod(QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64WithProperties)
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,8 @@ Interpolates a list which starts with the interpolate function.
.. warning::

This is private API only, and may change in future QGIS versions

.. versionadded:: 3.40
%End

static QString parseColorExpression( const QVariant &colorExpression, QgsMapBoxGlStyleConversionContext &context );
Expand All @@ -708,7 +710,8 @@ Converts an expression representing a color to a string (can be color string or
:param context: the style conversion context

:return: the QGIS expression string
since QGIS 3.22

.. versionadded:: 3.22
%End

static QColor parseColor( const QVariant &color, QgsMapBoxGlStyleConversionContext &context );
Expand Down
22 changes: 12 additions & 10 deletions python/PyQt6/core/class_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8419,26 +8419,26 @@ QgsMapBoxGlStyleConversionContext.spriteImage: src/core/vectortile/qgsmapboxglst
QgsMapBoxGlStyleConversionContext.targetUnit: src/core/vectortile/qgsmapboxglstyleconverter.h#L70
QgsMapBoxGlStyleConversionContext.warnings: src/core/vectortile/qgsmapboxglstyleconverter.h#L53
QgsMapBoxGlStyleConversionContext: src/core/vectortile/qgsmapboxglstyleconverter.h#L41
QgsMapBoxGlStyleConverter.colorAsHslaComponents: src/core/vectortile/qgsmapboxglstyleconverter.h#L712
QgsMapBoxGlStyleConverter.colorAsHslaComponents: src/core/vectortile/qgsmapboxglstyleconverter.h#L722
QgsMapBoxGlStyleConverter.convert: src/core/vectortile/qgsmapboxglstyleconverter.h#L388
QgsMapBoxGlStyleConverter.convert: src/core/vectortile/qgsmapboxglstyleconverter.h#L401
QgsMapBoxGlStyleConverter.errorMessage: src/core/vectortile/qgsmapboxglstyleconverter.h#L409
QgsMapBoxGlStyleConverter.interpolateExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L720
QgsMapBoxGlStyleConverter.interpolateExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L730
QgsMapBoxGlStyleConverter.labeling: src/core/vectortile/qgsmapboxglstyleconverter.h#L429
QgsMapBoxGlStyleConverter.parseArrayStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L618
QgsMapBoxGlStyleConverter.parseCapStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L727
QgsMapBoxGlStyleConverter.parseCapStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L737
QgsMapBoxGlStyleConverter.parseCircleLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L513
QgsMapBoxGlStyleConverter.parseColor: src/core/vectortile/qgsmapboxglstyleconverter.h#L700
QgsMapBoxGlStyleConverter.parseColorExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L687
QgsMapBoxGlStyleConverter.parseExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L741
QgsMapBoxGlStyleConverter.parseColor: src/core/vectortile/qgsmapboxglstyleconverter.h#L710
QgsMapBoxGlStyleConverter.parseColorExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L697
QgsMapBoxGlStyleConverter.parseExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L751
QgsMapBoxGlStyleConverter.parseFillLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L489
QgsMapBoxGlStyleConverter.parseInterpolateByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L568
QgsMapBoxGlStyleConverter.parseInterpolateColorByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L556
QgsMapBoxGlStyleConverter.parseInterpolateListByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L677
QgsMapBoxGlStyleConverter.parseInterpolateListByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L687
QgsMapBoxGlStyleConverter.parseInterpolateOpacityByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L577
QgsMapBoxGlStyleConverter.parseInterpolatePointByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L593
QgsMapBoxGlStyleConverter.parseInterpolateStringByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L601
QgsMapBoxGlStyleConverter.parseJoinStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L734
QgsMapBoxGlStyleConverter.parseJoinStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L744
QgsMapBoxGlStyleConverter.parseLabelStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L653
QgsMapBoxGlStyleConverter.parseLayers: src/core/vectortile/qgsmapboxglstyleconverter.h#L476
QgsMapBoxGlStyleConverter.parseLineLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L501
Expand All @@ -8447,14 +8447,16 @@ QgsMapBoxGlStyleConverter.parseOpacityStops: src/core/vectortile/qgsmapboxglstyl
QgsMapBoxGlStyleConverter.parsePointStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L611
QgsMapBoxGlStyleConverter.parseRasterSource: src/core/vectortile/qgsmapboxglstyleconverter.h#L470
QgsMapBoxGlStyleConverter.parseSources: src/core/vectortile/qgsmapboxglstyleconverter.h#L462
QgsMapBoxGlStyleConverter.parseStepList: src/core/vectortile/qgsmapboxglstyleconverter.h#L677
QgsMapBoxGlStyleConverter.parseStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L628
QgsMapBoxGlStyleConverter.parseStringStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L640
QgsMapBoxGlStyleConverter.parseSymbolLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L527
QgsMapBoxGlStyleConverter.parseSymbolLayerAsRenderer: src/core/vectortile/qgsmapboxglstyleconverter.h#L544
QgsMapBoxGlStyleConverter.parseValueList: src/core/vectortile/qgsmapboxglstyleconverter.h#L660
QgsMapBoxGlStyleConverter.renderer: src/core/vectortile/qgsmapboxglstyleconverter.h#L423
QgsMapBoxGlStyleConverter.retrieveSprite: src/core/vectortile/qgsmapboxglstyleconverter.h#L749
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64: src/core/vectortile/qgsmapboxglstyleconverter.h#L757
QgsMapBoxGlStyleConverter.retrieveSprite: src/core/vectortile/qgsmapboxglstyleconverter.h#L759
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64: src/core/vectortile/qgsmapboxglstyleconverter.h#L773
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64WithProperties: src/core/vectortile/qgsmapboxglstyleconverter.h#L783
QgsMapBoxGlStyleConverter.warnings: src/core/vectortile/qgsmapboxglstyleconverter.h#L417
QgsMapBoxGlStyleConverter: src/core/vectortile/qgsmapboxglstyleconverter.h#L341
QgsMapBoxGlStyleRasterSource.attribution: src/core/vectortile/qgsmapboxglstyleconverter.h#L242
Expand Down
2 changes: 2 additions & 0 deletions python/core/auto_additions/qgsmapboxglstyleconverter.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
QgsMapBoxGlStyleConverter.parseLabelStops = staticmethod(QgsMapBoxGlStyleConverter.parseLabelStops)
QgsMapBoxGlStyleConverter.parseValueList = staticmethod(QgsMapBoxGlStyleConverter.parseValueList)
QgsMapBoxGlStyleConverter.parseMatchList = staticmethod(QgsMapBoxGlStyleConverter.parseMatchList)
QgsMapBoxGlStyleConverter.parseStepList = staticmethod(QgsMapBoxGlStyleConverter.parseStepList)
QgsMapBoxGlStyleConverter.parseInterpolateListByZoom = staticmethod(QgsMapBoxGlStyleConverter.parseInterpolateListByZoom)
QgsMapBoxGlStyleConverter.parseColorExpression = staticmethod(QgsMapBoxGlStyleConverter.parseColorExpression)
QgsMapBoxGlStyleConverter.parseColor = staticmethod(QgsMapBoxGlStyleConverter.parseColor)
Expand All @@ -35,3 +36,4 @@
QgsMapBoxGlStyleConverter.parseExpression = staticmethod(QgsMapBoxGlStyleConverter.parseExpression)
QgsMapBoxGlStyleConverter.retrieveSprite = staticmethod(QgsMapBoxGlStyleConverter.retrieveSprite)
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64 = staticmethod(QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64)
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64WithProperties = staticmethod(QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64WithProperties)
Original file line number Diff line number Diff line change
Expand Up @@ -698,6 +698,8 @@ Interpolates a list which starts with the interpolate function.
.. warning::

This is private API only, and may change in future QGIS versions

.. versionadded:: 3.40
%End

static QString parseColorExpression( const QVariant &colorExpression, QgsMapBoxGlStyleConversionContext &context );
Expand All @@ -708,7 +710,8 @@ Converts an expression representing a color to a string (can be color string or
:param context: the style conversion context

:return: the QGIS expression string
since QGIS 3.22

.. versionadded:: 3.22
%End

static QColor parseColor( const QVariant &color, QgsMapBoxGlStyleConversionContext &context );
Expand Down
22 changes: 12 additions & 10 deletions python/core/class_map.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8419,26 +8419,26 @@ QgsMapBoxGlStyleConversionContext.spriteImage: src/core/vectortile/qgsmapboxglst
QgsMapBoxGlStyleConversionContext.targetUnit: src/core/vectortile/qgsmapboxglstyleconverter.h#L70
QgsMapBoxGlStyleConversionContext.warnings: src/core/vectortile/qgsmapboxglstyleconverter.h#L53
QgsMapBoxGlStyleConversionContext: src/core/vectortile/qgsmapboxglstyleconverter.h#L41
QgsMapBoxGlStyleConverter.colorAsHslaComponents: src/core/vectortile/qgsmapboxglstyleconverter.h#L712
QgsMapBoxGlStyleConverter.colorAsHslaComponents: src/core/vectortile/qgsmapboxglstyleconverter.h#L722
QgsMapBoxGlStyleConverter.convert: src/core/vectortile/qgsmapboxglstyleconverter.h#L388
QgsMapBoxGlStyleConverter.convert: src/core/vectortile/qgsmapboxglstyleconverter.h#L401
QgsMapBoxGlStyleConverter.errorMessage: src/core/vectortile/qgsmapboxglstyleconverter.h#L409
QgsMapBoxGlStyleConverter.interpolateExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L720
QgsMapBoxGlStyleConverter.interpolateExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L730
QgsMapBoxGlStyleConverter.labeling: src/core/vectortile/qgsmapboxglstyleconverter.h#L429
QgsMapBoxGlStyleConverter.parseArrayStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L618
QgsMapBoxGlStyleConverter.parseCapStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L727
QgsMapBoxGlStyleConverter.parseCapStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L737
QgsMapBoxGlStyleConverter.parseCircleLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L513
QgsMapBoxGlStyleConverter.parseColor: src/core/vectortile/qgsmapboxglstyleconverter.h#L700
QgsMapBoxGlStyleConverter.parseColorExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L687
QgsMapBoxGlStyleConverter.parseExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L741
QgsMapBoxGlStyleConverter.parseColor: src/core/vectortile/qgsmapboxglstyleconverter.h#L710
QgsMapBoxGlStyleConverter.parseColorExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L697
QgsMapBoxGlStyleConverter.parseExpression: src/core/vectortile/qgsmapboxglstyleconverter.h#L751
QgsMapBoxGlStyleConverter.parseFillLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L489
QgsMapBoxGlStyleConverter.parseInterpolateByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L568
QgsMapBoxGlStyleConverter.parseInterpolateColorByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L556
QgsMapBoxGlStyleConverter.parseInterpolateListByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L677
QgsMapBoxGlStyleConverter.parseInterpolateListByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L687
QgsMapBoxGlStyleConverter.parseInterpolateOpacityByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L577
QgsMapBoxGlStyleConverter.parseInterpolatePointByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L593
QgsMapBoxGlStyleConverter.parseInterpolateStringByZoom: src/core/vectortile/qgsmapboxglstyleconverter.h#L601
QgsMapBoxGlStyleConverter.parseJoinStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L734
QgsMapBoxGlStyleConverter.parseJoinStyle: src/core/vectortile/qgsmapboxglstyleconverter.h#L744
QgsMapBoxGlStyleConverter.parseLabelStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L653
QgsMapBoxGlStyleConverter.parseLayers: src/core/vectortile/qgsmapboxglstyleconverter.h#L476
QgsMapBoxGlStyleConverter.parseLineLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L501
Expand All @@ -8447,14 +8447,16 @@ QgsMapBoxGlStyleConverter.parseOpacityStops: src/core/vectortile/qgsmapboxglstyl
QgsMapBoxGlStyleConverter.parsePointStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L611
QgsMapBoxGlStyleConverter.parseRasterSource: src/core/vectortile/qgsmapboxglstyleconverter.h#L470
QgsMapBoxGlStyleConverter.parseSources: src/core/vectortile/qgsmapboxglstyleconverter.h#L462
QgsMapBoxGlStyleConverter.parseStepList: src/core/vectortile/qgsmapboxglstyleconverter.h#L677
QgsMapBoxGlStyleConverter.parseStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L628
QgsMapBoxGlStyleConverter.parseStringStops: src/core/vectortile/qgsmapboxglstyleconverter.h#L640
QgsMapBoxGlStyleConverter.parseSymbolLayer: src/core/vectortile/qgsmapboxglstyleconverter.h#L527
QgsMapBoxGlStyleConverter.parseSymbolLayerAsRenderer: src/core/vectortile/qgsmapboxglstyleconverter.h#L544
QgsMapBoxGlStyleConverter.parseValueList: src/core/vectortile/qgsmapboxglstyleconverter.h#L660
QgsMapBoxGlStyleConverter.renderer: src/core/vectortile/qgsmapboxglstyleconverter.h#L423
QgsMapBoxGlStyleConverter.retrieveSprite: src/core/vectortile/qgsmapboxglstyleconverter.h#L749
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64: src/core/vectortile/qgsmapboxglstyleconverter.h#L757
QgsMapBoxGlStyleConverter.retrieveSprite: src/core/vectortile/qgsmapboxglstyleconverter.h#L759
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64: src/core/vectortile/qgsmapboxglstyleconverter.h#L773
QgsMapBoxGlStyleConverter.retrieveSpriteAsBase64WithProperties: src/core/vectortile/qgsmapboxglstyleconverter.h#L783
QgsMapBoxGlStyleConverter.warnings: src/core/vectortile/qgsmapboxglstyleconverter.h#L417
QgsMapBoxGlStyleConverter: src/core/vectortile/qgsmapboxglstyleconverter.h#L341
QgsMapBoxGlStyleRasterSource.attribution: src/core/vectortile/qgsmapboxglstyleconverter.h#L242
Expand Down

0 comments on commit 1d361ed

Please sign in to comment.