26#include "moc_qgspointcloudextentrendererwidget.cpp"
39 setFromRenderer( layer->
renderer() );
51 return new QgsPointCloudExtentRendererWidget( layer, style );
61 auto renderer = std::make_unique<QgsPointCloudExtentRenderer>();
62 renderer->setFillSymbol( mSymbolButton->clonedSymbol<
QgsFillSymbol>() );
63 return renderer.release();
66void QgsPointCloudExtentRendererWidget::emitWidgetChanged()
68 if ( !mBlockChangedSignal )
74 mBlockChangedSignal =
true;
77 mSymbolButton->setSymbol( mbcr->fillSymbol()->clone() );
83 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.
A database of saved style entities, including symbols, color ramps, text formats and others.