2024-08-13 13:47:46 +10:00
# The following has been generated automatically from src/gui/symbology/qgssymbollayerwidget.h
2024-08-14 09:45:06 +10:00
try :
QgsSymbolLayerWidget . __attribute_docs__ = { ' changed ' : ' Should be emitted whenever configuration changes happened on this symbol layer configuration. \n If 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. \n Normally :py:func:`~QgsSymbolLayerWidget.changed` should be preferred. \n \n .. seealso:: :py:func:`changed` \n ' }
2024-08-16 09:08:23 +10:00
QgsSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsSimpleLineSymbolLayerWidget . create = staticmethod ( QgsSimpleLineSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsSimpleLineSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsSimpleMarkerSymbolLayerWidget . create = staticmethod ( QgsSimpleMarkerSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsSimpleMarkerSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsSimpleFillSymbolLayerWidget . create = staticmethod ( QgsSimpleFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsSimpleFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsFilledMarkerSymbolLayerWidget . create = staticmethod ( QgsFilledMarkerSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsFilledMarkerSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsGradientFillSymbolLayerWidget . create = staticmethod ( QgsGradientFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsGradientFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsShapeburstFillSymbolLayerWidget . create = staticmethod ( QgsShapeburstFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsShapeburstFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsMarkerLineSymbolLayerWidget . create = staticmethod ( QgsMarkerLineSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsMarkerLineSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsHashedLineSymbolLayerWidget . create = staticmethod ( QgsHashedLineSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsHashedLineSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsSvgMarkerSymbolLayerWidget . create = staticmethod ( QgsSvgMarkerSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsSvgMarkerSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsRasterMarkerSymbolLayerWidget . create = staticmethod ( QgsRasterMarkerSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsRasterMarkerSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsAnimatedMarkerSymbolLayerWidget . create = staticmethod ( QgsAnimatedMarkerSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsAnimatedMarkerSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsRasterFillSymbolLayerWidget . create = staticmethod ( QgsRasterFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsRasterFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsRasterLineSymbolLayerWidget . create = staticmethod ( QgsRasterLineSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsRasterLineSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsLineburstSymbolLayerWidget . create = staticmethod ( QgsLineburstSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsLineburstSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsFilledLineSymbolLayerWidget . create = staticmethod ( QgsFilledLineSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsFilledLineSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsSVGFillSymbolLayerWidget . create = staticmethod ( QgsSVGFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsSVGFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsLinePatternFillSymbolLayerWidget . create = staticmethod ( QgsLinePatternFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsLinePatternFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsPointPatternFillSymbolLayerWidget . create = staticmethod ( QgsPointPatternFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsPointPatternFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsRandomMarkerFillSymbolLayerWidget . create = staticmethod ( QgsRandomMarkerFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsRandomMarkerFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsFontMarkerSymbolLayerWidget . create = staticmethod ( QgsFontMarkerSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsFontMarkerSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass
try :
2024-09-09 09:54:21 +10:00
QgsCentroidFillSymbolLayerWidget . create = staticmethod ( QgsCentroidFillSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsCentroidFillSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
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 :
2024-09-09 09:54:21 +10:00
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
2024-08-16 09:08:23 +10:00
try :
2024-09-09 09:54:21 +10:00
QgsGeometryGeneratorSymbolLayerWidget . create = staticmethod ( QgsGeometryGeneratorSymbolLayerWidget . create )
2024-08-16 09:08:23 +10:00
QgsGeometryGeneratorSymbolLayerWidget . __group__ = [ ' symbology ' ]
2024-12-03 07:47:10 +00:00
except ( NameError , AttributeError ) :
2024-08-16 09:08:23 +10:00
pass