19#include "moc_qgspointcloudextentrendererwidget.cpp"
37 setFromRenderer( layer->
renderer() );
49 return new QgsPointCloudExtentRendererWidget( layer, style );
59 std::unique_ptr< QgsPointCloudExtentRenderer > renderer = std::make_unique< QgsPointCloudExtentRenderer >();
60 renderer->setFillSymbol( mSymbolButton->clonedSymbol<
QgsFillSymbol >() );
61 return renderer.release();
64void QgsPointCloudExtentRendererWidget::emitWidgetChanged()
66 if ( !mBlockChangedSignal )
72 mBlockChangedSignal =
true;
75 mSymbolButton->setSymbol( mbcr->fillSymbol()->clone() );
81 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.