21 #ifndef QGSRASTERLAYERPROPERTIES_H
22 #define QGSRASTERLAYERPROPERTIES_H
25 #include "ui_qgsrasterlayerpropertiesbase.h"
90 void mLayerOrigNameLineEd_textEdited(
const QString &text );
92 void buttonBuildPyramids_clicked();
94 void pbnAddValuesFromDisplay_clicked();
96 void pbnAddValuesManually_clicked();
100 void pbnDefaultValues_clicked();
102 void pbnExportTransparentPixelValues_clicked();
104 void pbnImportTransparentPixelValues_clicked();
106 void pbnRemoveSelectedRow_clicked();
109 void setEndAsStartStaticButton_clicked();
112 void passProjectTemporalRange_toggled(
bool checked );
115 void staticTemporalRange_toggled(
bool checked );
118 void temporalPropertiesChange();
126 void pixelSelected(
const QgsPointXY &,
const Qt::MouseButton & );
132 void updateGammaSpinBox(
int value );
138 void updateGammaSlider(
double value );
140 void mRenderTypeComboBox_currentIndexChanged(
int index );
142 void loadDefaultStyle_clicked();
144 void saveDefaultStyle_clicked();
146 void loadStyle_clicked();
148 void saveStyleAs_clicked();
150 void restoreWindowModality();
156 void saveMetadataAs();
158 void saveDefaultMetadata();
160 void loadDefaultMetadata();
166 void mResetColorRenderingBtn_clicked();
169 void toggleBuildPyramidsButton();
172 void toggleSaturationControls(
int grayscaleMode );
175 void toggleColorizeControls(
bool colorizeEnabled );
178 void transparencyCellTextEdited(
const QString &text );
180 void aboutToShowStyleMenu();
185 void urlClicked(
const QUrl &url );
188 QPushButton *mBtnStyle =
nullptr;
189 QPushButton *mBtnMetadata =
nullptr;
190 QAction *mActionLoadMetadata =
nullptr;
191 QAction *mActionSaveMetadataAs =
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;
232 bool rasterIsMultiBandColor();
237 void updateInformationContent();
244 void updateSourceStaticTime();
251 void setSourceStaticTimeState();
253 void setupTransparencyTable(
int nBands );
258 void setTransparencyCell(
int row,
int column,
double value );
259 void setTransparencyCellValue(
int row,
int column,
double value );
260 double transparencyCellValue(
int row,
int column );
261 void setTransparencyToEdited(
int row );
262 void adjustTransparencyCellWidth(
int row,
int column );
264 void setRendererWidget(
const QString &rendererName );
268 QLinearGradient greenGradient();
269 QLinearGradient redGradient();
270 QLinearGradient blueGradient();
271 QLinearGradient grayGradient();
272 QLinearGradient highlightGradient();
273 qreal mGradientHeight;
274 qreal mGradientWidth;
277 std::unique_ptr<QgsMapToolEmitPoint> mPixelSelectorTool;
281 QVector<bool> mTransparencyToEdited;
289 bool mDisableRenderTypeComboBoxCurrentIndexChanged =
false;
291 bool mMetadataFilled;
296 QgsResamplingUtils mResamplingUtils;
298 friend class QgsAppScreenShots;