19#include "moc_qgsrastersinglecolorrendererwidget.cpp"
37 mBandComboBox->setLayer( layer );
68 mBandComboBox->setBand( scr->
inputBand() );
73 mBandComboBox->setBand( 1 );
74 mColorButton->setColor( QColor( 0, 0, 0 ) );
void bandChanged(int band)
Emitted when the currently selected band changes.
Base class for raster data providers.
Represents a raster layer.
QgsRasterRenderer * renderer() const
Returns the raster's renderer.
QgsRasterDataProvider * dataProvider() override
Returns the source data provider.
Raster renderer pipe that applies colors to a raster.
Raster renderer which renders all data pixels using a single color.
int inputBand() const override
Returns the input band for the renderer, or -1 if no input band is available.
QColor color() const
Returns the single color used by the renderer.
void setColor(const QColor &color)
Sets the single color used by the renderer.
A rectangle specified with double values.