18#ifndef QGSSINGLEBANDCOLORRENDERERWIDGET_H
19#define QGSSINGLEBANDCOLORRENDERERWIDGET_H
25#include "ui_qgssinglebandpseudocolorrendererwidgetbase.h"
53 void doComputations() override;
61 QString min(
int index = 0 )
override { Q_UNUSED( index )
return mMinLineEdit->text(); }
62 QString
max(
int index = 0 )
override { Q_UNUSED( index )
return mMaxLineEdit->text(); }
63 void setMin(
const QString &value,
int index = 0 )
override;
64 void setMax(
const QString &value,
int index = 0 )
override;
65 int selectedBand(
int index = 0 )
override { Q_UNUSED( index )
return mBandComboBox->currentBand(); }
69 void loadMinMax(
int bandNo,
double min,
double max );
71 void loadMinMaxFromTree(
double min,
double max );
75 void mMinLineEdit_textChanged(
const QString & );
76 void mMaxLineEdit_textChanged(
const QString & );
77 void mMinLineEdit_textEdited(
const QString &text );
78 void mMaxLineEdit_textEdited(
const QString &text );
81 void setLineEditValue( QLineEdit *lineEdit,
double value );
82 double lineEditValue(
const QLineEdit *lineEdit )
const;
87 void minMaxModified();
90 QString displayValueWithMaxPrecision(
const double value );
92 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.