57 void initializeForUseWithRasterLayer();
63 void setRasterBand(
int band );
69 void setMinimumMaximumAndClassify(
double minimum,
double maximum );
72 void setMinimumMaximum(
double minimum,
double maximum );
75 double minimum()
const;
78 double maximum()
const;
104 void loadMinimumMaximumFromTree();
109 void populateColormapTreeWidget(
const QList<QgsColorRampShader::ColorRampItem> &colorRampItems );
128 bool colormapMinMax(
double &min,
double &max )
const;
131 void setUnitFromLabels();
133 QMenu *contextMenu =
nullptr;
137 void applyColorRamp();
138 void updateColorRamp();
139 void mAddEntryButton_clicked();
140 void mDeleteEntryButton_clicked();
141 void mLoadFromBandButton_clicked();
142 void mLoadFromFileButton_clicked();
143 void mExportToFileButton_clicked();
144 void mUnitLineEdit_textEdited(
const QString &text );
145 void mColormapTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
146 void mColormapTreeWidget_itemEdited( QTreeWidgetItem *item,
int column );
147 void mColorInterpolationComboBox_currentIndexChanged(
int index );
148 void mClassificationModeComboBox_currentIndexChanged(
int index );
150 void changeOpacity();
151 void showLegendSettings();
154 void setLineEditValue( QLineEdit *lineEdit,
double value );
155 double lineEditValue(
const QLineEdit *lineEdit )
const;
156 void resetClassifyButton();
158 QString createLabel( QTreeWidgetItem *item,
int row,
const QString unit );
165 double mMin = std::numeric_limits<double>::quiet_NaN();
166 double mMax = std::numeric_limits<double>::quiet_NaN();
169 QPointer< QgsRasterDataProvider > mRasterDataProvider;
172 QgsLocaleAwareNumericLineEditDelegate *mValueDelegate =
nullptr;
175 int mBlockChanges = 0;