83 bool eventFilter( QObject *obj, QEvent *ev )
override;
93 void optionsStackedWidget_CurrentChanged(
int index )
FINAL;
95 void rollback()
FINAL;
112 void updateDataDefinedButtons();
125 void updateProperty();
128 void buttonBuildPyramids_clicked();
136 void updateGammaSpinBox(
int value );
142 void updateGammaSlider(
double value );
144 void mRenderTypeComboBox_currentIndexChanged(
int index );
146 void restoreWindowModality();
152 void mResetColorRenderingBtn_clicked();
155 void toggleBuildPyramidsButton();
158 void toggleSaturationControls(
int grayscaleMode );
161 void toggleColorizeControls(
bool colorizeEnabled );
163 void aboutToShowStyleMenu();
166 void syncToLayer()
FINAL;
169 void updateMapTipPreview();
174 QAction *mActionLoadMetadata =
nullptr;
175 QAction *mActionSaveMetadataAs =
nullptr;
178 const QString TRSTRING_NOT_SET;
181 QString mDefaultContrastEnhancementAlgorithm;
184 double mDefaultStandardDeviation;
188 int mDefaultGreenBand;
189 int mDefaultBlueBand;
192 bool mGrayMinimumMaximumEstimated;
195 bool mRGBMinimumMaximumEstimated;
212 bool rasterIsMultiBandColor();
217 void updateInformationContent();
219 void setRendererWidget( const QString &rendererName );
224 void updateRasterAttributeTableOptionsPage();
228 QLinearGradient greenGradient();
229 QLinearGradient redGradient();
230 QLinearGradient blueGradient();
231 QLinearGradient grayGradient();
232 QLinearGradient highlightGradient();
233 qreal mGradientHeight;
234 qreal mGradientWidth;
238 bool mDisableRenderTypeComboBoxCurrentIndexChanged = false;
240 bool mMetadataFilled;
245 QgsResamplingUtils mResamplingUtils;
253 friend class QgsAppScreenShots;
257 QgsRasterAttributeTableWidget *mRasterAttributeTableWidget =
nullptr;
259 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...