18#ifndef QGSSINGLEBANDCOLORRENDERERWIDGET_H
19#define QGSSINGLEBANDCOLORRENDERERWIDGET_H
25#include "ui_qgssinglebandpseudocolorrendererwidgetbase.h"
51 void doComputations() override;
59 QString min(
int index = 0 )
override
62 return mMinLineEdit->text();
64 QString
max(
int index = 0 )
override
67 return mMaxLineEdit->text();
69 void setMin(
const QString &value,
int index = 0 )
override;
70 void setMax(
const QString &value,
int index = 0 )
override;
74 return mBandComboBox->currentBand();
79 void loadMinMax(
int bandNo,
double min,
double max );
81 void loadMinMaxFromTree(
double min,
double max );
85 void mMinLineEdit_textChanged(
const QString & );
86 void mMaxLineEdit_textChanged(
const QString & );
87 void mMinLineEdit_textEdited(
const QString &text );
88 void mMaxLineEdit_textEdited(
const QString &text );
91 void setLineEditValue( QLineEdit *lineEdit,
double value );
92 double lineEditValue(
const QLineEdit *lineEdit )
const;
97 void minMaxModified();
100 QString displayValueWithMaxPrecision(
const double value );
102 friend class TestQgsSingleBandPseudoColorRendererWidget;
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.