36 setFromRenderer( layer->
renderer() );
48 return new QgsPointCloudExtentRendererWidget( layer, style );
58 std::unique_ptr< QgsPointCloudExtentRenderer > renderer = std::make_unique< QgsPointCloudExtentRenderer >();
59 renderer->setFillSymbol( mSymbolButton->clonedSymbol<
QgsFillSymbol >() );
60 return renderer.release();
63 void QgsPointCloudExtentRendererWidget::emitWidgetChanged()
65 if ( !mBlockChangedSignal )
71 mBlockChangedSignal =
true;
74 mSymbolButton->setSymbol( mbcr->fillSymbol()->clone() );
80 mBlockChangedSignal =
false;
A fill symbol type, for rendering Polygon and MultiPolygon geometries.
A renderer for 2d visualisation of point clouds which shows the dataset's extents using a fill symbol...
static QgsFillSymbol * defaultFillSymbol()
Returns a new instance of the default fill symbol to use for showing point cloud extents.
Represents a map layer supporting display of point clouds.
QgsPointCloudRenderer * renderer()
Returns the 2D renderer for the point cloud.
Abstract base class for 2d point cloud renderers.