15#ifndef QGSRASTERTRANSPARENCYWIDGET_H
16#define QGSRASTERTRANSPARENCYWIDGET_H
20#include "ui_qgsrastertransparencywidget.h"
65#pragma clang diagnostic push
66#pragma clang diagnostic ignored "-Woverloaded-virtual"
74#pragma clang diagnostic pop
80 void apply()
override;
102 void updateDataDefinedButtons();
118 void updateProperty();
120 void pixelSelected(
const QgsPointXY &canvasPoint );
123 void transparencyCellTextEdited(
const QString &text );
126 void pbnAddValuesFromDisplay_clicked();
129 void pbnAddValuesManually_clicked();
132 void pbnDefaultValues_clicked();
135 void pbnExportTransparentPixelValues_clicked();
138 void pbnImportTransparentPixelValues_clicked();
140 void pbnRemoveSelectedRow_clicked();
144 const QString TRSTRING_NOT_SET;
146 bool rasterIsMultiBandColor();
151 void setupTransparencyTable(
int nBands );
153 void setTransparencyCell(
int row,
int column,
double value );
155 void adjustTransparencyCellWidth(
int row,
int column );
157 void setTransparencyToEdited(
int row );
159 double transparencyCellValue(
int row,
int column );
167 QVector<bool> mTransparencyToEdited;
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...
Map canvas is a class for displaying all GIS data types on a canvas.
A class to represent a 2D point.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
Represents a raster layer.
Property
Data definable properties.
Raster renderer pipe that applies colors to a raster.
Contains settings which reflect the context in which a symbol (or renderer) widget is shown,...