QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
45 mInputBandComboBox->setBand( rcr->
inputBand() );
48 mDownscaleSpinBox->setValue( rcr->
downscale() );
76 renderer->
setInputBand( mInputBandComboBox->currentBand() );
void bandChanged(int band)
Emitted when the currently selected band changes.
void setInputBand(int band)
Sets the number of the input raster band.
void setDownscale(double scale)
Sets by how much the renderer will scale down the request to the data provider.
QgsLineSymbol * clone() const override
Returns a deep copy of this symbol.
QgsLineSymbol * contourSymbol() const
Returns the symbol used for contour lines.
void setContourSymbol(QgsLineSymbol *symbol)
Sets the symbol used for contour lines. Takes ownership of the passed symbol.
double contourInterval() const
Returns the interval of contour lines generation.
void setContourIndexInterval(double interval)
Sets the interval of index contour lines (index contour lines are typical further apart and with a wi...
int inputBand() const
Returns the number of the input raster band.
QgsLineSymbol * contourIndexSymbol() const
Returns the symbol of index contour lines.
void setContourInterval(double interval)
Sets the interval of contour lines generation.
void setContourIndexSymbol(QgsLineSymbol *symbol)
Sets the symbol of index contour lines.
double downscale() const
Returns by how much the renderer will scale down the request to the data provider.
QgsRasterRenderer * renderer() const
Returns the raster's renderer.
double contourIndexInterval() const
Returns the interval of index contour lines (index contour lines are typical further apart and with a...
QgsRasterDataProvider * dataProvider() override
Returns the source data provider.