QGIS/python/gui/auto_additions/qgssymbollayerwidget.py

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

122 lines
5.4 KiB
Python
Raw Permalink Normal View History

# The following has been generated automatically from src/gui/symbology/qgssymbollayerwidget.h
try:
QgsSymbolLayerWidget.__attribute_docs__ = {'changed': 'Should be emitted whenever configuration changes happened on this symbol layer configuration.\nIf the subsymbol is changed, :py:func:`~QgsSymbolLayerWidget.symbolChanged` should be emitted instead.\n', 'symbolChanged': 'Should be emitted whenever the sub symbol changed on this symbol layer configuration.\nNormally :py:func:`~QgsSymbolLayerWidget.changed` should be preferred.\n\n.. seealso:: :py:func:`changed`\n'}
QgsSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsSimpleLineSymbolLayerWidget.create = staticmethod(QgsSimpleLineSymbolLayerWidget.create)
QgsSimpleLineSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsSimpleMarkerSymbolLayerWidget.create = staticmethod(QgsSimpleMarkerSymbolLayerWidget.create)
QgsSimpleMarkerSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsSimpleFillSymbolLayerWidget.create = staticmethod(QgsSimpleFillSymbolLayerWidget.create)
QgsSimpleFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsFilledMarkerSymbolLayerWidget.create = staticmethod(QgsFilledMarkerSymbolLayerWidget.create)
QgsFilledMarkerSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsGradientFillSymbolLayerWidget.create = staticmethod(QgsGradientFillSymbolLayerWidget.create)
QgsGradientFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsShapeburstFillSymbolLayerWidget.create = staticmethod(QgsShapeburstFillSymbolLayerWidget.create)
QgsShapeburstFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsMarkerLineSymbolLayerWidget.create = staticmethod(QgsMarkerLineSymbolLayerWidget.create)
QgsMarkerLineSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsHashedLineSymbolLayerWidget.create = staticmethod(QgsHashedLineSymbolLayerWidget.create)
QgsHashedLineSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsSvgMarkerSymbolLayerWidget.create = staticmethod(QgsSvgMarkerSymbolLayerWidget.create)
QgsSvgMarkerSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsRasterMarkerSymbolLayerWidget.create = staticmethod(QgsRasterMarkerSymbolLayerWidget.create)
QgsRasterMarkerSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsAnimatedMarkerSymbolLayerWidget.create = staticmethod(QgsAnimatedMarkerSymbolLayerWidget.create)
QgsAnimatedMarkerSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsRasterFillSymbolLayerWidget.create = staticmethod(QgsRasterFillSymbolLayerWidget.create)
QgsRasterFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsRasterLineSymbolLayerWidget.create = staticmethod(QgsRasterLineSymbolLayerWidget.create)
QgsRasterLineSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsLineburstSymbolLayerWidget.create = staticmethod(QgsLineburstSymbolLayerWidget.create)
QgsLineburstSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsFilledLineSymbolLayerWidget.create = staticmethod(QgsFilledLineSymbolLayerWidget.create)
QgsFilledLineSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsSVGFillSymbolLayerWidget.create = staticmethod(QgsSVGFillSymbolLayerWidget.create)
QgsSVGFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsLinePatternFillSymbolLayerWidget.create = staticmethod(QgsLinePatternFillSymbolLayerWidget.create)
QgsLinePatternFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsPointPatternFillSymbolLayerWidget.create = staticmethod(QgsPointPatternFillSymbolLayerWidget.create)
QgsPointPatternFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsRandomMarkerFillSymbolLayerWidget.create = staticmethod(QgsRandomMarkerFillSymbolLayerWidget.create)
QgsRandomMarkerFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsFontMarkerSymbolLayerWidget.create = staticmethod(QgsFontMarkerSymbolLayerWidget.create)
QgsFontMarkerSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
try:
QgsCentroidFillSymbolLayerWidget.create = staticmethod(QgsCentroidFillSymbolLayerWidget.create)
QgsCentroidFillSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass
[feature] Add "Linear Referencing" symbol layer type This new symbol layer type allows placing text labels at regular intervals along a line (or at positions corresponding to existing vertices). Positions can be calculated using Cartesian distances, or interpolated from z/m values. Functionality includes: - Labels can be placed using fixed cartesian 2d distances, at regular linearly interpolated spacing calculated using the Z or M values in geometries, or at existing vertices - Labels can show either the running total distance, or the linearly interpolated Z/M value - Uses text rendered to draw labels, so the full range of functionality is available for the labels (including buffers, shadows, etc) - Uses the QGIS numeric format classes to format numbers as strings, so users have full range of customisation options for eg decimal places - An optional "skip multiples of" setting. If set, then labels which are a multiple of this value will be skipped over. This allows construction of complex referencing labels, eg where a symbol has two linear referencing symbol layers, one set to label every 100m in a small font, skipping multiples of 1000, and a second set to label every 1000m in a big bold font - Labels are rendered using an angle calculated by averaging the linestring, so sharp tiny jaggies don't result in unslightly label rotation - Optionally, markers can be placed at referenced points in the line string, using a full QGIS marker symbol (this allows eg showing a cross-hatch at the labeled point, for a "ruler" style line) - Data defined control over the placement intervals, skip multiples setting, marker visibility and average angle calculation length Notes: - When using the distance-based placement or labels, the distances are calculated using 2D only, Cartesian calculations based on the original layer CRS. This could potentially be extended in future to expose options for 3D Cartesian distances, or ellipsoidal distance calculations. Sponsored by the Swiss QGIS User Group
2024-08-21 15:02:00 +10:00
try:
QgsLinearReferencingSymbolLayerWidget.create = staticmethod(QgsLinearReferencingSymbolLayerWidget.create)
[feature] Add "Linear Referencing" symbol layer type This new symbol layer type allows placing text labels at regular intervals along a line (or at positions corresponding to existing vertices). Positions can be calculated using Cartesian distances, or interpolated from z/m values. Functionality includes: - Labels can be placed using fixed cartesian 2d distances, at regular linearly interpolated spacing calculated using the Z or M values in geometries, or at existing vertices - Labels can show either the running total distance, or the linearly interpolated Z/M value - Uses text rendered to draw labels, so the full range of functionality is available for the labels (including buffers, shadows, etc) - Uses the QGIS numeric format classes to format numbers as strings, so users have full range of customisation options for eg decimal places - An optional "skip multiples of" setting. If set, then labels which are a multiple of this value will be skipped over. This allows construction of complex referencing labels, eg where a symbol has two linear referencing symbol layers, one set to label every 100m in a small font, skipping multiples of 1000, and a second set to label every 1000m in a big bold font - Labels are rendered using an angle calculated by averaging the linestring, so sharp tiny jaggies don't result in unslightly label rotation - Optionally, markers can be placed at referenced points in the line string, using a full QGIS marker symbol (this allows eg showing a cross-hatch at the labeled point, for a "ruler" style line) - Data defined control over the placement intervals, skip multiples setting, marker visibility and average angle calculation length Notes: - When using the distance-based placement or labels, the distances are calculated using 2D only, Cartesian calculations based on the original layer CRS. This could potentially be extended in future to expose options for 3D Cartesian distances, or ellipsoidal distance calculations. Sponsored by the Swiss QGIS User Group
2024-08-21 15:02:00 +10:00
QgsLinearReferencingSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
[feature] Add "Linear Referencing" symbol layer type This new symbol layer type allows placing text labels at regular intervals along a line (or at positions corresponding to existing vertices). Positions can be calculated using Cartesian distances, or interpolated from z/m values. Functionality includes: - Labels can be placed using fixed cartesian 2d distances, at regular linearly interpolated spacing calculated using the Z or M values in geometries, or at existing vertices - Labels can show either the running total distance, or the linearly interpolated Z/M value - Uses text rendered to draw labels, so the full range of functionality is available for the labels (including buffers, shadows, etc) - Uses the QGIS numeric format classes to format numbers as strings, so users have full range of customisation options for eg decimal places - An optional "skip multiples of" setting. If set, then labels which are a multiple of this value will be skipped over. This allows construction of complex referencing labels, eg where a symbol has two linear referencing symbol layers, one set to label every 100m in a small font, skipping multiples of 1000, and a second set to label every 1000m in a big bold font - Labels are rendered using an angle calculated by averaging the linestring, so sharp tiny jaggies don't result in unslightly label rotation - Optionally, markers can be placed at referenced points in the line string, using a full QGIS marker symbol (this allows eg showing a cross-hatch at the labeled point, for a "ruler" style line) - Data defined control over the placement intervals, skip multiples setting, marker visibility and average angle calculation length Notes: - When using the distance-based placement or labels, the distances are calculated using 2D only, Cartesian calculations based on the original layer CRS. This could potentially be extended in future to expose options for 3D Cartesian distances, or ellipsoidal distance calculations. Sponsored by the Swiss QGIS User Group
2024-08-21 15:02:00 +10:00
pass
try:
QgsGeometryGeneratorSymbolLayerWidget.create = staticmethod(QgsGeometryGeneratorSymbolLayerWidget.create)
QgsGeometryGeneratorSymbolLayerWidget.__group__ = ['symbology']
2024-12-03 07:47:10 +00:00
except (NameError, AttributeError):
pass