21 #ifndef QGSRASTERLAYERPROPERTIES_H
22 #define QGSRASTERLAYERPROPERTIES_H
25 #include "ui_qgsrasterlayerpropertiesbase.h"
99 void mLayerOrigNameLineEd_textEdited(
const QString &text );
101 void buttonBuildPyramids_clicked();
103 void pbnAddValuesFromDisplay_clicked();
105 void pbnAddValuesManually_clicked();
109 void pbnDefaultValues_clicked();
111 void pbnExportTransparentPixelValues_clicked();
113 void pbnImportTransparentPixelValues_clicked();
115 void pbnRemoveSelectedRow_clicked();
123 void pixelSelected(
const QgsPointXY &,
const Qt::MouseButton & );
129 void updateGammaSpinBox(
int value );
135 void updateGammaSlider(
double value );
137 void mRenderTypeComboBox_currentIndexChanged(
int index );
139 void loadDefaultStyle_clicked();
141 void saveDefaultStyle_clicked();
143 void loadStyle_clicked();
145 void saveStyleAs_clicked();
147 void restoreWindowModality();
153 void saveMetadataAs();
155 void saveDefaultMetadata();
157 void loadDefaultMetadata();
163 void mResetColorRenderingBtn_clicked();
166 void toggleBuildPyramidsButton();
169 void toggleSaturationControls(
int grayscaleMode );
172 void toggleColorizeControls(
bool colorizeEnabled );
175 void transparencyCellTextEdited(
const QString &text );
177 void aboutToShowStyleMenu();
182 void urlClicked(
const QUrl &url );
185 QPushButton *mBtnStyle =
nullptr;
186 QPushButton *mBtnMetadata =
nullptr;
187 QAction *mActionLoadMetadata =
nullptr;
188 QAction *mActionSaveMetadataAs =
nullptr;
191 QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
194 const QString TRSTRING_NOT_SET;
197 QString mDefaultContrastEnhancementAlgorithm;
200 double mDefaultStandardDeviation;
204 int mDefaultGreenBand;
205 int mDefaultBlueBand;
208 bool mGrayMinimumMaximumEstimated;
211 bool mRGBMinimumMaximumEstimated;
224 bool rasterIsMultiBandColor();
229 void updateInformationContent();
231 void setupTransparencyTable(
int nBands );
236 void setTransparencyCell(
int row,
int column,
double value );
237 void setTransparencyCellValue(
int row,
int column,
double value );
238 double transparencyCellValue(
int row,
int column );
239 void setTransparencyToEdited(
int row );
240 void adjustTransparencyCellWidth(
int row,
int column );
242 void setRendererWidget(
const QString &rendererName );
246 QLinearGradient greenGradient();
247 QLinearGradient redGradient();
248 QLinearGradient blueGradient();
249 QLinearGradient grayGradient();
250 QLinearGradient highlightGradient();
251 qreal mGradientHeight;
252 qreal mGradientWidth;
255 std::unique_ptr<QgsMapToolEmitPoint> mPixelSelectorTool;
259 QVector<bool> mTransparencyToEdited;
267 bool mDisableRenderTypeComboBoxCurrentIndexChanged =
false;
269 bool mMetadataFilled;
274 QgsResamplingUtils mResamplingUtils;
278 friend class QgsAppScreenShots;
This class represents a coordinate reference system (CRS).
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.
Property sheet for a raster map layer.
StyleType
enumeration for the different types of style
Represents a raster layer.
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