84 bool eventFilter( QObject *obj, QEvent *ev )
override;
94 void optionsStackedWidget_CurrentChanged(
int index ) final;
96 void rollback() final;
113 void updateDataDefinedButtons();
126 void updateProperty();
129 void buttonBuildPyramids_clicked();
137 void updateGammaSpinBox(
int value );
143 void updateGammaSlider(
double value );
145 void mRenderTypeComboBox_currentIndexChanged(
int index );
147 void restoreWindowModality();
153 void mResetColorRenderingBtn_clicked();
156 void toggleBuildPyramidsButton();
159 void toggleSaturationControls(
int grayscaleMode );
162 void toggleColorizeControls(
bool colorizeEnabled );
164 void aboutToShowStyleMenu();
167 void syncToLayer() final;
170 void updateMapTipPreview();
175 QAction *mActionLoadMetadata =
nullptr;
176 QAction *mActionSaveMetadataAs =
nullptr;
179 const QString TRSTRING_NOT_SET;
182 QString mDefaultContrastEnhancementAlgorithm;
185 double mDefaultStandardDeviation = 0;
188 int mDefaultRedBand = 0;
189 int mDefaultGreenBand = 0;
190 int mDefaultBlueBand = 0;
193 bool mGrayMinimumMaximumEstimated;
196 bool mRGBMinimumMaximumEstimated;
213 bool rasterIsMultiBandColor();
218 void updateInformationContent();
220 void setRendererWidget( const QString &rendererName );
225 void updateRasterAttributeTableOptionsPage();
229 QLinearGradient greenGradient();
230 QLinearGradient redGradient();
231 QLinearGradient blueGradient();
232 QLinearGradient grayGradient();
233 QLinearGradient highlightGradient();
234 qreal mGradientHeight = 0.0;
235 qreal mGradientWidth = 0.0;
239 bool mDisableRenderTypeComboBoxCurrentIndexChanged = false;
241 bool mMetadataFilled = false;
246 QgsResamplingUtils mResamplingUtils;
258 QgsRasterAttributeTableWidget *mRasterAttributeTableWidget =
nullptr;
260 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...
QgsLayerPropertiesDialog(QgsMapLayer *layer, QgsMapCanvas *canvas, const QString &settingsKey, QWidget *parent=nullptr, Qt::WindowFlags fl=Qt::WindowFlags(), QgsSettings *settings=nullptr)
Constructor for QgsLayerPropertiesDialog.