88 bool eventFilter( QObject *obj, QEvent *ev )
override;
98 void optionsStackedWidget_CurrentChanged(
int index )
FINAL;
100 void rollback()
FINAL;
118 void updateDataDefinedButtons();
131 void updateProperty();
134 void buttonBuildPyramids_clicked();
139 void addMetadataUrl();
140 void removeSelectedMetadataUrl();
146 void updateGammaSpinBox(
int value );
152 void updateGammaSlider(
double value );
154 void mRenderTypeComboBox_currentIndexChanged(
int index );
156 void restoreWindowModality();
162 void mResetColorRenderingBtn_clicked();
165 void toggleBuildPyramidsButton();
168 void toggleSaturationControls(
int grayscaleMode );
171 void toggleColorizeControls(
bool colorizeEnabled );
174 void transparencyCellTextEdited( const QString &text );
176 void aboutToShowStyleMenu();
179 void syncToLayer()
FINAL;
182 void updateMapTipPreview();
188 QAction *mActionLoadMetadata =
nullptr;
189 QAction *mActionSaveMetadataAs =
nullptr;
191 QStandardItemModel *mMetadataUrlModel =
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;
226 bool rasterIsMultiBandColor();
231 void updateInformationContent();
233 void setTransparencyCell(
int row,
int column,
double value );
234 void setTransparencyCellValue(
int row,
int column,
double value );
235 double transparencyCellValue(
int row,
int column );
236 void setTransparencyToEdited(
int row );
237 void adjustTransparencyCellWidth(
int row,
int column );
239 void setRendererWidget( const QString &rendererName );
244 void updateRasterAttributeTableOptionsPage();
248 QLinearGradient greenGradient();
249 QLinearGradient redGradient();
250 QLinearGradient blueGradient();
251 QLinearGradient grayGradient();
252 QLinearGradient highlightGradient();
253 qreal mGradientHeight;
254 qreal mGradientWidth;
258 QVector<
bool> mTransparencyToEdited;
260 bool mDisableRenderTypeComboBoxCurrentIndexChanged = false;
262 bool mMetadataFilled;
267 QgsResamplingUtils mResamplingUtils;
275 friend class QgsAppScreenShots;
279 QgsRasterAttributeTableWidget *mRasterAttributeTableWidget =
nullptr;
281 void initMapTipPreview();
Abstract interface for generating an expression context.
virtual QgsExpressionContext createExpressionContext() const =0
This method needs to be reimplemented in all classes which implement this interface and return an exp...
Expression contexts are used to encapsulate the parameters around which a QgsExpression should be eva...