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();
118 void setEndAsStartStaticButton_clicked();
121 void passProjectTemporalRange_toggled(
bool checked );
124 void staticTemporalRange_toggled(
bool checked );
127 void temporalPropertiesChange();
135 void pixelSelected(
const QgsPointXY &,
const Qt::MouseButton & );
141 void updateGammaSpinBox(
int value );
147 void updateGammaSlider(
double value );
149 void mRenderTypeComboBox_currentIndexChanged(
int index );
151 void loadDefaultStyle_clicked();
153 void saveDefaultStyle_clicked();
155 void loadStyle_clicked();
157 void saveStyleAs_clicked();
159 void restoreWindowModality();
165 void saveMetadataAs();
167 void saveDefaultMetadata();
169 void loadDefaultMetadata();
175 void mResetColorRenderingBtn_clicked();
178 void toggleBuildPyramidsButton();
181 void toggleSaturationControls(
int grayscaleMode );
184 void toggleColorizeControls(
bool colorizeEnabled );
187 void transparencyCellTextEdited(
const QString &text );
189 void aboutToShowStyleMenu();
194 void urlClicked(
const QUrl &url );
197 QPushButton *mBtnStyle =
nullptr;
198 QPushButton *mBtnMetadata =
nullptr;
199 QAction *mActionLoadMetadata =
nullptr;
200 QAction *mActionSaveMetadataAs =
nullptr;
203 QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
206 const QString TRSTRING_NOT_SET;
209 QString mDefaultContrastEnhancementAlgorithm;
212 double mDefaultStandardDeviation;
216 int mDefaultGreenBand;
217 int mDefaultBlueBand;
220 bool mGrayMinimumMaximumEstimated;
223 bool mRGBMinimumMaximumEstimated;
244 bool rasterIsMultiBandColor();
249 void updateInformationContent();
256 void updateSourceStaticTime();
263 void setSourceStaticTimeState();
265 void setupTransparencyTable(
int nBands );
270 void setTransparencyCell(
int row,
int column,
double value );
271 void setTransparencyCellValue(
int row,
int column,
double value );
272 double transparencyCellValue(
int row,
int column );
273 void setTransparencyToEdited(
int row );
274 void adjustTransparencyCellWidth(
int row,
int column );
276 void setRendererWidget(
const QString &rendererName );
280 QLinearGradient greenGradient();
281 QLinearGradient redGradient();
282 QLinearGradient blueGradient();
283 QLinearGradient grayGradient();
284 QLinearGradient highlightGradient();
285 qreal mGradientHeight;
286 qreal mGradientWidth;
289 std::unique_ptr<QgsMapToolEmitPoint> mPixelSelectorTool;
293 QVector<bool> mTransparencyToEdited;
301 bool mDisableRenderTypeComboBoxCurrentIndexChanged =
false;
303 bool mMetadataFilled;
308 QgsResamplingUtils mResamplingUtils;
312 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