21 #ifndef QGSRASTERLAYERPROPERTIES_H 22 #define QGSRASTERLAYERPROPERTIES_H 25 #include "ui_qgsrasterlayerpropertiesbase.h" 88 void mLayerOrigNameLineEd_textEdited(
const QString &text );
90 void buttonBuildPyramids_clicked();
92 void pbnAddValuesFromDisplay_clicked();
94 void pbnAddValuesManually_clicked();
98 void pbnDefaultValues_clicked();
100 void pbnExportTransparentPixelValues_clicked();
102 void pbnImportTransparentPixelValues_clicked();
104 void pbnRemoveSelectedRow_clicked();
112 void pixelSelected(
const QgsPointXY &,
const Qt::MouseButton & );
116 void mRenderTypeComboBox_currentIndexChanged(
int index );
118 void loadDefaultStyle_clicked();
120 void saveDefaultStyle_clicked();
122 void loadStyle_clicked();
124 void saveStyleAs_clicked();
126 void restoreWindowModality();
132 void saveMetadataAs();
134 void saveDefaultMetadata();
136 void loadDefaultMetadata();
142 void mResetColorRenderingBtn_clicked();
145 void toggleBuildPyramidsButton();
148 void toggleSaturationControls(
int grayscaleMode );
151 void toggleColorizeControls(
bool colorizeEnabled );
154 void transparencyCellTextEdited(
const QString &text );
156 void aboutToShowStyleMenu();
161 void urlClicked(
const QUrl &url );
164 QPushButton *mBtnStyle =
nullptr;
165 QPushButton *mBtnMetadata =
nullptr;
166 QAction *mActionLoadMetadata =
nullptr;
167 QAction *mActionSaveMetadataAs =
nullptr;
170 const QString TRSTRING_NOT_SET;
173 QString mDefaultContrastEnhancementAlgorithm;
176 double mDefaultStandardDeviation;
180 int mDefaultGreenBand;
181 int mDefaultBlueBand;
184 bool mGrayMinimumMaximumEstimated;
187 bool mRGBMinimumMaximumEstimated;
203 bool rasterIsMultiBandColor();
208 void updateInformationContent();
210 void setupTransparencyTable(
int nBands );
215 void setTransparencyCell(
int row,
int column,
double value );
216 void setTransparencyCellValue(
int row,
int column,
double value );
217 double transparencyCellValue(
int row,
int column );
218 void setTransparencyToEdited(
int row );
219 void adjustTransparencyCellWidth(
int row,
int column );
221 void setRendererWidget(
const QString &rendererName );
225 QLinearGradient greenGradient();
226 QLinearGradient redGradient();
227 QLinearGradient blueGradient();
228 QLinearGradient grayGradient();
229 QLinearGradient highlightGradient();
230 qreal mGradientHeight;
231 qreal mGradientWidth;
234 std::unique_ptr<QgsMapToolEmitPoint> mPixelSelectorTool;
238 QVector<bool> mTransparencyToEdited;
245 bool mDisableRenderTypeComboBoxCurrentIndexChanged =
false;
247 bool mMetadataFilled;
252 friend class QgsAppScreenShots;
Base class for all map layer types.
Represents a raster layer.
A class to represent a 2D point.
StyleType
enumeration for the different types of style
const QgsCoordinateReferenceSystem & 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...
A base dialog for options and properties dialogs that offers vertical tabs.
The QgsWebView class is a collection of stubs to mimic the API of QWebView on systems where the real ...
This class represents a coordinate reference system (CRS).
Property sheet for a raster map layer.
virtual void optionsStackedWidget_CurrentChanged(int index)
Select relevant tab on current page change.
Raster renderer pipe that applies colors to a raster.