Class: Qgs3DSymbolWidget¶
Base class for 3D symbol configuration widgets.
Added in version 3.16.
Note
This is an abstract class, with methods which must be implemented by a subclass.
The following methods must be implemented: renderingTechnique(), setSymbol(), symbol(), symbolType()
List of all members, including inherited members
Class Hierarchy¶
Base classes¶
Abstract Methods
Returns associated rendering technique. |
|
Sets the symbol to show in the widget. |
|
Returns a new instance of the symbol defined by the widget. |
|
Returns the symbol type handled by the widget. |
Signals
Emitted when the symbol is changed. |
|
Emitted when the rendering technique associated with the symbol is changed. |
- class qgis.gui.Qgs3DSymbolWidget[source]¶
Bases:
QWidget- __init__(parent: QWidget | None)
Constructor for Qgs3DSymbolWidget with the specified
parentwidget.- Parameters:
parent (Optional[QWidget])
- abstract renderingTechnique(self) Qgis.MaterialRenderingTechnique[source]¶
Returns associated rendering technique.
Warning
This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.
Added in version 4.2.
- Return type:
- signal renderingTechniqueChanged[source]¶
Emitted when the rendering technique associated with the symbol is changed.
Warning
This is not considered stable API, and may change in future QGIS releases. It is exposed to the Python bindings as a tech preview only.
Added in version 4.2.
- abstract setSymbol(self, symbol: QgsAbstract3DSymbol | None, layer: QgsVectorLayer | None)[source]¶
Sets the
symbolto show in the widget.- Parameters:
symbol (Optional[QgsAbstract3DSymbol])
layer (Optional[QgsVectorLayer])
- abstract symbol(self) QgsAbstract3DSymbol | None[source]¶
Returns a new instance of the symbol defined by the widget.
Caller takes ownership of the returned symbol.
- Return type: