21#ifndef QGSRASTERLAYERPROPERTIES_H
22#define QGSRASTERLAYERPROPERTIES_H
25#include "ui_qgsrasterlayerpropertiesbase.h"
115 void updateDataDefinedButtons();
128 void updateProperty();
135 void buttonBuildPyramids_clicked();
140 void addMetadataUrl();
141 void removeSelectedMetadataUrl();
147 void updateGammaSpinBox(
int value );
153 void updateGammaSlider(
double value );
155 void mRenderTypeComboBox_currentIndexChanged(
int index );
157 void loadDefaultStyle_clicked();
159 void saveDefaultStyle_clicked();
161 void loadStyle_clicked();
163 void saveStyleAs_clicked();
165 void restoreWindowModality();
171 void saveMetadataAs();
173 void saveDefaultMetadata();
175 void loadDefaultMetadata();
181 void mResetColorRenderingBtn_clicked();
184 void toggleBuildPyramidsButton();
187 void toggleSaturationControls(
int grayscaleMode );
190 void toggleColorizeControls(
bool colorizeEnabled );
193 void transparencyCellTextEdited(
const QString &text );
195 void aboutToShowStyleMenu();
200 void urlClicked(
const QUrl &url );
203 QPushButton *mBtnStyle =
nullptr;
204 QPushButton *mBtnMetadata =
nullptr;
205 QAction *mActionLoadMetadata =
nullptr;
206 QAction *mActionSaveMetadataAs =
nullptr;
208 QStandardItemModel *mMetadataUrlModel =
nullptr;
211 QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
214 const QString TRSTRING_NOT_SET;
217 QString mDefaultContrastEnhancementAlgorithm;
220 double mDefaultStandardDeviation;
224 int mDefaultGreenBand;
225 int mDefaultBlueBand;
228 bool mGrayMinimumMaximumEstimated;
231 bool mRGBMinimumMaximumEstimated;
246 bool rasterIsMultiBandColor();
251 void updateInformationContent();
253 void setTransparencyCell(
int row,
int column,
double value );
254 void setTransparencyCellValue(
int row,
int column,
double value );
255 double transparencyCellValue(
int row,
int column );
256 void setTransparencyToEdited(
int row );
257 void adjustTransparencyCellWidth(
int row,
int column );
259 void setRendererWidget(
const QString &rendererName );
264 void updateRasterAttributeTableOptionsPage();
268 QLinearGradient greenGradient();
269 QLinearGradient redGradient();
270 QLinearGradient blueGradient();
271 QLinearGradient grayGradient();
272 QLinearGradient highlightGradient();
273 qreal mGradientHeight;
274 qreal mGradientWidth;
280 QVector<bool> mTransparencyToEdited;
288 bool mDisableRenderTypeComboBoxCurrentIndexChanged =
false;
290 bool mMetadataFilled;
295 QgsResamplingUtils mResamplingUtils;
303 friend class QgsAppScreenShots;
This class represents a coordinate reference system (CRS).
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.
Stores style information (renderer, opacity, labeling, diagrams etc.) applicable to a map layer.
Base class for all map layer types.
A base dialog for options and properties dialogs that offers vertical tabs.
virtual void optionsStackedWidget_CurrentChanged(int index)
Select relevant tab on current page change.
A class to represent a 2D point.
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
Property sheet for a raster map layer.
StyleType
enumeration for the different types of style
Represents a raster layer.
Property
Data definable properties.
Raster renderer pipe that applies colors to a raster.
The QgsWebView class is a collection of stubs to mimic the API of QWebView on systems where the real ...
const QgsCoordinateReferenceSystem & crs