21#ifndef QGSRASTERLAYERPROPERTIES_H
22#define QGSRASTERLAYERPROPERTIES_H
25#include "ui_qgsrasterlayerpropertiesbase.h"
88 bool eventFilter( QObject *obj, QEvent *ev )
override;
98 void optionsStackedWidget_CurrentChanged(
int index )
FINAL;
100 void rollback()
FINAL;
118 void updateDataDefinedButtons();
131 void updateProperty();
134 void buttonBuildPyramids_clicked();
139 void addMetadataUrl();
140 void removeSelectedMetadataUrl();
146 void updateGammaSpinBox(
int value );
152 void updateGammaSlider(
double value );
154 void mRenderTypeComboBox_currentIndexChanged(
int index );
156 void restoreWindowModality();
162 void mResetColorRenderingBtn_clicked();
165 void toggleBuildPyramidsButton();
168 void toggleSaturationControls(
int grayscaleMode );
171 void toggleColorizeControls(
bool colorizeEnabled );
174 void transparencyCellTextEdited( const QString &text );
176 void aboutToShowStyleMenu();
179 void syncToLayer()
FINAL;
182 void updateMapTipPreview();
188 QAction *mActionLoadMetadata =
nullptr;
189 QAction *mActionSaveMetadataAs =
nullptr;
191 QStandardItemModel *mMetadataUrlModel =
nullptr;
194 const QString TRSTRING_NOT_SET;
197 QString mDefaultContrastEnhancementAlgorithm;
200 double mDefaultStandardDeviation;
204 int mDefaultGreenBand;
205 int mDefaultBlueBand;
208 bool mGrayMinimumMaximumEstimated;
211 bool mRGBMinimumMaximumEstimated;
226 bool rasterIsMultiBandColor();
231 void updateInformationContent();
233 void setTransparencyCell(
int row,
int column,
double value );
234 void setTransparencyCellValue(
int row,
int column,
double value );
235 double transparencyCellValue(
int row,
int column );
236 void setTransparencyToEdited(
int row );
237 void adjustTransparencyCellWidth(
int row,
int column );
239 void setRendererWidget( const QString &rendererName );
244 void updateRasterAttributeTableOptionsPage();
248 QLinearGradient greenGradient();
249 QLinearGradient redGradient();
250 QLinearGradient blueGradient();
251 QLinearGradient grayGradient();
252 QLinearGradient highlightGradient();
253 qreal mGradientHeight;
254 qreal mGradientWidth;
258 QVector<
bool> mTransparencyToEdited;
260 bool mDisableRenderTypeComboBoxCurrentIndexChanged = false;
262 bool mMetadataFilled;
267 QgsResamplingUtils mResamplingUtils;
275 friend class QgsAppScreenShots;
281 void initMapTipPreview();
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...
Base class for "layer properties" dialogs, containing common utilities for handling functionality in ...
StyleType
Style storage type.
void saveDefaultStyle()
Saves the default style when appropriate button is pressed.
virtual void addPropertiesPageFactory(const QgsMapLayerConfigWidgetFactory *factory)
Adds properties page from a factory.
Map canvas is a class for displaying all GIS data types on a canvas.
Base class for all map layer types.
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.
Represents a raster layer.
Contains a pipeline of raster interfaces for sequential raster processing.
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