18#ifndef QGSSINGLEBANDGRAYRENDERERWIDGET_H
19#define QGSSINGLEBANDGRAYRENDERERWIDGET_H
23#include "ui_qgssinglebandgrayrendererwidgetbase.h"
49 QString min(
int index = 0 )
override { Q_UNUSED( index )
return mMinLineEdit->text(); }
50 QString
max(
int index = 0 )
override { Q_UNUSED( index )
return mMaxLineEdit->text(); }
51 void setMin(
const QString &value,
int index = 0 )
override;
52 void setMax(
const QString &value,
int index = 0 )
override;
53 int selectedBand(
int index = 0 )
override { Q_UNUSED( index )
return mGrayBandComboBox->currentBand(); }
63 void loadMinMax(
int bandNo,
double min,
double max );
67 void mMinLineEdit_textChanged(
const QString & );
68 void mMaxLineEdit_textChanged(
const QString & );
69 void showLegendSettings();
73 bool mDisableMinMaxWidgetRefresh;
76 void minMaxModified();
Settings for a color ramp legend node.
ContrastEnhancementAlgorithm
This enumerator describes the types of contrast enhancement algorithms that can be used.
Map canvas is a class for displaying all GIS data types on a canvas.
Represents a raster layer.
Raster renderer pipe that applies colors to a raster.
A rectangle specified with double values.
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into allowing algorithms to be written in pure substantial changes are required in order to port existing x Processing algorithms for QGIS x The most significant changes are outlined not GeoAlgorithm For algorithms which operate on features one by consider subclassing the QgsProcessingFeatureBasedAlgorithm class This class allows much of the boilerplate code for looping over features from a vector layer to be bypassed and instead requires implementation of a processFeature method Ensure that your algorithm(or algorithm 's parent class) implements the new pure virtual createInstance(self) call