18#ifndef QGSSINGLEBANDCOLORRENDERERWIDGET_H
19#define QGSSINGLEBANDCOLORRENDERERWIDGET_H
25#include "ui_qgssinglebandpseudocolorrendererwidgetbase.h"
55 void doComputations() override;
63 QString min(
int index = 0 )
override
66 return mMinLineEdit->text();
63 QString min(
int index = 0 )
override {
…}
68 QString
max(
int index = 0 )
override
71 return mMaxLineEdit->text();
68 QString
max(
int index = 0 )
override {
…}
73 void setMin(
const QString &value,
int index = 0 )
override;
74 void setMax(
const QString &value,
int index = 0 )
override;
78 return mBandComboBox->currentBand();
83 void loadMinMax(
int bandNo,
double min,
double max );
85 void loadMinMaxFromTree(
double min,
double max );
89 void mMinLineEdit_textChanged(
const QString & );
90 void mMaxLineEdit_textChanged(
const QString & );
91 void mMinLineEdit_textEdited(
const QString &text );
92 void mMaxLineEdit_textEdited(
const QString &text );
95 void setLineEditValue( QLineEdit *lineEdit,
double value );
96 double lineEditValue(
const QLineEdit *lineEdit )
const;
101 void minMaxModified();
104 QString displayValueWithMaxPrecision(
const double value );
106 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.