56 void initializeForUseWithRasterLayer();
62 void setRasterBand(
int band );
68 void setMinimumMaximumAndClassify(
double minimum,
double maximum );
71 void setMinimumMaximum(
double minimum,
double maximum );
74 double minimum()
const;
77 double maximum()
const;
103 void loadMinimumMaximumFromTree();
108 void populateColormapTreeWidget(
const QList<QgsColorRampShader::ColorRampItem> &colorRampItems );
127 bool colormapMinMax(
double &min,
double &max )
const;
130 void setUnitFromLabels();
132 QMenu *contextMenu =
nullptr;
136 void applyColorRamp();
137 void updateColorRamp();
138 void mAddEntryButton_clicked();
139 void mDeleteEntryButton_clicked();
140 void mLoadFromBandButton_clicked();
141 void mLoadFromFileButton_clicked();
142 void mExportToFileButton_clicked();
143 void mUnitLineEdit_textEdited(
const QString &text );
144 void mColormapTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
145 void mColormapTreeWidget_itemEdited( QTreeWidgetItem *item,
int column );
146 void mColorInterpolationComboBox_currentIndexChanged(
int index );
147 void mClassificationModeComboBox_currentIndexChanged(
int index );
149 void changeOpacity();
150 void showLegendSettings();
153 void setLineEditValue( QLineEdit *lineEdit,
double value );
154 double lineEditValue(
const QLineEdit *lineEdit )
const;
155 void resetClassifyButton();
157 QString createLabel( QTreeWidgetItem *item,
int row,
const QString unit );
164 double mMin = std::numeric_limits<double>::quiet_NaN();
165 double mMax = std::numeric_limits<double>::quiet_NaN();
168 QPointer< QgsRasterDataProvider > mRasterDataProvider;
171 QgsLocaleAwareNumericLineEditDelegate *mValueDelegate =
nullptr;
174 int mBlockChanges = 0;