Class: QgsPointCloudRendererWidget

Base class for point cloud 2D renderer settings widgets.

Added in version 3.18.

Class Hierarchy

Inheritance diagram of qgis.gui.QgsPointCloudRendererWidget

Base classes

QgsPanelWidget

Base class for any widget that can be shown as a inline panel

QWidget

QObject

QPaintDevice

Methods

context

Returns the context in which the renderer widget is shown, e.g., the associated map canvas and expression contexts.

layer

Returns the point cloud layer associated with the widget.

renderer

Returns a new instance of a renderer as defined by the settings in the widget.

setContext

Sets the context in which the renderer widget is shown, e.g., the associated map canvas and expression contexts.

class qgis.gui.QgsPointCloudRendererWidget[source]

Bases: QgsPanelWidget

__init__(layer: QgsPointCloudLayer | None, style: QgsStyle | None)

Constructor for QgsPointCloudRendererWidget, associated with the specified layer and style database.

Parameters:
context(self) QgsSymbolWidgetContext[source]

Returns the context in which the renderer widget is shown, e.g., the associated map canvas and expression contexts.

See also

setContext()

Return type:

QgsSymbolWidgetContext

layer(self) QgsPointCloudLayer | None[source]

Returns the point cloud layer associated with the widget.

Return type:

Optional[QgsPointCloudLayer]

renderer(self) QgsPointCloudRenderer | None[source]

Returns a new instance of a renderer as defined by the settings in the widget.

Caller takes ownership of the returned object.

Return type:

Optional[QgsPointCloudRenderer]

setContext(self, context: QgsSymbolWidgetContext)[source]

Sets the context in which the renderer widget is shown, e.g., the associated map canvas and expression contexts.

See also

context()

Parameters:

context (QgsSymbolWidgetContext)