18 #ifndef QGSSINGLEBANDCOLORRENDERERWIDGET_H 19 #define QGSSINGLEBANDCOLORRENDERERWIDGET_H 25 #include "ui_qgssinglebandpseudocolorrendererwidgetbase.h" 58 void loadMinMax(
int bandNo,
double min,
double max );
60 void loadMinMaxFromTree();
71 void populateColormapTreeWidget(
const QList<QgsColorRampShader::ColorRampItem> &colorRampItems );
81 void setUnitFromLabels();
83 QMenu *contextMenu =
nullptr;
87 void applyColorRamp();
88 void mAddEntryButton_clicked();
89 void mDeleteEntryButton_clicked();
90 void mLoadFromBandButton_clicked();
91 void mLoadFromFileButton_clicked();
92 void mExportToFileButton_clicked();
93 void mUnitLineEdit_textEdited(
const QString &text ) { Q_UNUSED( text ); autoLabel(); }
94 void mColormapTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
95 void mColormapTreeWidget_itemEdited( QTreeWidgetItem *item,
int column );
97 void mColorInterpolationComboBox_currentIndexChanged(
int index );
98 void mMinLineEdit_textChanged(
const QString & ) { resetClassifyButton(); }
99 void mMaxLineEdit_textChanged(
const QString & ) { resetClassifyButton(); }
100 void mMinLineEdit_textEdited(
const QString &text );
101 void mMaxLineEdit_textEdited(
const QString &text );
102 void mClassificationModeComboBox_currentIndexChanged(
int index );
104 void changeOpacity();
108 void setLineEditValue( QLineEdit *lineEdit,
double value );
109 double lineEditValue(
const QLineEdit *lineEdit )
const;
110 void resetClassifyButton();
114 void minMaxModified();
118 #endif // QGSSINGLEBANDCOLORRENDERERWIDGET_H A rectangle specified with double values.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
Map canvas is a class for displaying all GIS data types on a canvas.
Raster renderer pipe that applies colors to a raster.