15 #ifndef QGSRASTERTRANSPARENCYWIDGET_H
16 #define QGSRASTERTRANSPARENCYWIDGET_H
20 #include "ui_qgsrastertransparencywidget.h"
56 void apply()
override;
60 void pixelSelected(
const QgsPointXY &canvasPoint );
63 void transparencyCellTextEdited(
const QString &text );
66 void pbnAddValuesFromDisplay_clicked();
69 void pbnAddValuesManually_clicked();
72 void pbnDefaultValues_clicked();
75 void pbnExportTransparentPixelValues_clicked();
78 void pbnImportTransparentPixelValues_clicked();
80 void pbnRemoveSelectedRow_clicked();
84 const QString TRSTRING_NOT_SET;
86 bool rasterIsMultiBandColor();
91 void setupTransparencyTable(
int nBands );
93 void setTransparencyCell(
int row,
int column,
double value );
95 void adjustTransparencyCellWidth(
int row,
int column );
97 void setTransparencyToEdited(
int row );
99 double transparencyCellValue(
int row,
int column );
107 QVector<bool> mTransparencyToEdited;
109 #endif // QGSRASTERTRANSPARENCYWIDGET_H