21 #ifndef QGSRASTERLAYERPROPERTIES_H
22 #define QGSRASTERLAYERPROPERTIES_H
25 #include "ui_qgsrasterlayerpropertiesbase.h"
89 void mLayerOrigNameLineEd_textEdited(
const QString &text );
91 void buttonBuildPyramids_clicked();
93 void pbnAddValuesFromDisplay_clicked();
95 void pbnAddValuesManually_clicked();
99 void pbnDefaultValues_clicked();
101 void pbnExportTransparentPixelValues_clicked();
103 void pbnImportTransparentPixelValues_clicked();
105 void pbnRemoveSelectedRow_clicked();
108 void setEndAsStartStaticButton_clicked();
111 void passProjectTemporalRange_toggled(
bool checked );
114 void staticTemporalRange_toggled(
bool checked );
117 void temporalPropertiesChange();
125 void pixelSelected(
const QgsPointXY &,
const Qt::MouseButton & );
129 void mRenderTypeComboBox_currentIndexChanged(
int index );
131 void loadDefaultStyle_clicked();
133 void saveDefaultStyle_clicked();
135 void loadStyle_clicked();
137 void saveStyleAs_clicked();
139 void restoreWindowModality();
145 void saveMetadataAs();
147 void saveDefaultMetadata();
149 void loadDefaultMetadata();
155 void mResetColorRenderingBtn_clicked();
158 void toggleBuildPyramidsButton();
161 void toggleSaturationControls(
int grayscaleMode );
164 void toggleColorizeControls(
bool colorizeEnabled );
167 void transparencyCellTextEdited(
const QString &text );
169 void aboutToShowStyleMenu();
174 void urlClicked(
const QUrl &url );
177 QPushButton *mBtnStyle =
nullptr;
178 QPushButton *mBtnMetadata =
nullptr;
179 QAction *mActionLoadMetadata =
nullptr;
180 QAction *mActionSaveMetadataAs =
nullptr;
183 const QString TRSTRING_NOT_SET;
186 QString mDefaultContrastEnhancementAlgorithm;
189 double mDefaultStandardDeviation;
193 int mDefaultGreenBand;
194 int mDefaultBlueBand;
197 bool mGrayMinimumMaximumEstimated;
200 bool mRGBMinimumMaximumEstimated;
221 bool rasterIsMultiBandColor();
226 void updateInformationContent();
233 void updateSourceStaticTime();
240 void setSourceStaticTimeState();
242 void setupTransparencyTable(
int nBands );
247 void setTransparencyCell(
int row,
int column,
double value );
248 void setTransparencyCellValue(
int row,
int column,
double value );
249 double transparencyCellValue(
int row,
int column );
250 void setTransparencyToEdited(
int row );
251 void adjustTransparencyCellWidth(
int row,
int column );
253 void setRendererWidget(
const QString &rendererName );
257 QLinearGradient greenGradient();
258 QLinearGradient redGradient();
259 QLinearGradient blueGradient();
260 QLinearGradient grayGradient();
261 QLinearGradient highlightGradient();
262 qreal mGradientHeight;
263 qreal mGradientWidth;
266 std::unique_ptr<QgsMapToolEmitPoint> mPixelSelectorTool;
270 QVector<bool> mTransparencyToEdited;
277 bool mDisableRenderTypeComboBoxCurrentIndexChanged =
false;
279 bool mMetadataFilled;
284 friend class QgsAppScreenShots;