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: setSymbol(), symbol(), symbolType()

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.gui.Qgs3DSymbolWidget

Base classes

QWidget

QObject

QPaintDevice

Abstract Methods

setSymbol

Sets the symbol to show in the widget.

symbol

Returns a new instance of the symbol defined by the widget.

symbolType

Returns the symbol type handled by the widget.

Signals

changed

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])

signal changed[source]

Emitted when the symbol is changed.

abstract setSymbol(self, symbol: QgsAbstract3DSymbol | None, layer: QgsVectorLayer | None)[source]

Sets the symbol to show in the widget.

Parameters:
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:

Optional[QgsAbstract3DSymbol]

abstract symbolType(self) str[source]

Returns the symbol type handled by the widget.

Return type:

str