Class: QgsTemplatedLineSymbolLayerWidget¶
A widget for controlling the properties of a templated line symbol layer (hash or markers).
Added in version 4.0.
Class Hierarchy¶
Base classes¶
Abstract base class for widgets used to configure |
|
Subclasses¶
A widget for controlling the properties of a |
|
A widget for controlling the properties of a |
Enums
Templated symbol type |
Methods
Set templated line interval |
|
Set offset along line |
- class qgis.gui.QgsTemplatedLineSymbolLayerWidget[source]¶
Bases:
QgsSymbolLayerWidget- __init__(symbolType: QgsTemplatedLineSymbolLayerWidget.TemplatedSymbolType, vl: QgsVectorLayer | None, parent: QWidget | None = None)
Constructor for QgsTemplatedLineSymbolLayerWidget.
- Parameters:
symbolType (QgsTemplatedLineSymbolLayerWidget.TemplatedSymbolType) – templated symbol type
vl (Optional[QgsVectorLayer]) – associated vector layer
parent (Optional[QWidget] = None) – parent widget
- class TemplatedSymbolType(*values)¶
Bases:
IntEnumTemplated symbol type
Hash: Hash symbol typeMarker: Marker symbol type
- Hash = 0¶
- Marker = 1¶