Class: Qgs3DSymbolWidget¶
Base class for 3D symbol configuration widgets.
Added in version 3.16.
Class Hierarchy¶
Base classes¶
Methods
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. |
- class qgis.gui.Qgs3DSymbolWidget[source]¶
Bases:
QWidget
- __init__(parent: QWidget | None)
Constructor for Qgs3DSymbolWidget with the specified
parent
widget.- Parameters:
parent (Optional[QWidget])
- setSymbol(self, symbol: QgsAbstract3DSymbol | None, layer: QgsVectorLayer | None)[source]¶
Sets the
symbol
to show in the widget.- Parameters:
symbol (Optional[QgsAbstract3DSymbol])
layer (Optional[QgsVectorLayer])
- 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:
Optional[QgsAbstract3DSymbol]