55 void initializeForUseWithRasterLayer();
61 void setRasterBand(
int band );
67 void setMinimumMaximumAndClassify(
double minimum,
double maximum );
70 void setMinimumMaximum(
double minimum,
double maximum );
73 double minimum()
const;
76 double maximum()
const;
102 void loadMinimumMaximumFromTree();
106 void populateColormapTreeWidget(
const QList<QgsColorRampShader::ColorRampItem> &colorRampItems );
124 bool colormapMinMax(
double &min,
double &max )
const;
127 void setUnitFromLabels();
129 QMenu *contextMenu =
nullptr;
133 void applyColorRamp();
134 void updateColorRamp();
135 void mAddEntryButton_clicked();
136 void mDeleteEntryButton_clicked();
137 void mLoadFromBandButton_clicked();
138 void mLoadFromFileButton_clicked();
139 void mExportToFileButton_clicked();
140 void mUnitLineEdit_textEdited(
const QString &text );
141 void mColormapTreeWidget_itemDoubleClicked( QTreeWidgetItem *item,
int column );
142 void mColormapTreeWidget_itemEdited( QTreeWidgetItem *item,
int column );
143 void mColorInterpolationComboBox_currentIndexChanged(
int index );
144 void mClassificationModeComboBox_currentIndexChanged(
int index );
146 void changeOpacity();
147 void showLegendSettings();
150 void setLineEditValue( QLineEdit *lineEdit,
double value );
151 double lineEditValue(
const QLineEdit *lineEdit )
const;
152 void resetClassifyButton();
154 QString createLabel( QTreeWidgetItem *item,
int row,
const QString unit );
161 double mMin = std::numeric_limits<double>::quiet_NaN();
162 double mMax = std::numeric_limits<double>::quiet_NaN();
165 QPointer<QgsRasterDataProvider> mRasterDataProvider;
168 QgsLocaleAwareNumericLineEditDelegate *mValueDelegate =
nullptr;
171 int mBlockChanges = 0;