21#ifndef QGSRASTERLAYERPROPERTIES_H 
   22#define QGSRASTERLAYERPROPERTIES_H 
   25#include "ui_qgsrasterlayerpropertiesbase.h" 
  113    void updateDataDefinedButtons();
 
  126    void updateProperty();
 
  133    void buttonBuildPyramids_clicked();
 
  138    void addMetadataUrl();
 
  139    void removeSelectedMetadataUrl();
 
  145    void updateGammaSpinBox( 
int value );
 
  151    void updateGammaSlider( 
double value );
 
  153    void mRenderTypeComboBox_currentIndexChanged( 
int index );
 
  155    void loadDefaultStyle_clicked();
 
  157    void saveDefaultStyle_clicked();
 
  159    void loadStyle_clicked();
 
  161    void saveStyleAs_clicked();
 
  163    void restoreWindowModality();
 
  169    void saveMetadataAs();
 
  171    void saveDefaultMetadata();
 
  173    void loadDefaultMetadata();
 
  179    void mResetColorRenderingBtn_clicked();
 
  182    void toggleBuildPyramidsButton();
 
  185    void toggleSaturationControls( 
int grayscaleMode );
 
  188    void toggleColorizeControls( 
bool colorizeEnabled );
 
  191    void transparencyCellTextEdited( 
const QString &text );
 
  193    void aboutToShowStyleMenu();
 
  198    void urlClicked( 
const QUrl &url );
 
  201    QPushButton *mBtnStyle = 
nullptr;
 
  202    QPushButton *mBtnMetadata = 
nullptr;
 
  203    QAction *mActionLoadMetadata = 
nullptr;
 
  204    QAction *mActionSaveMetadataAs = 
nullptr;
 
  206    QStandardItemModel *mMetadataUrlModel = 
nullptr;
 
  209    QList<QgsMapLayerConfigWidget *> mLayerPropertiesPages;
 
  212    const QString TRSTRING_NOT_SET;
 
  215    QString mDefaultContrastEnhancementAlgorithm;
 
  218    double mDefaultStandardDeviation;
 
  222    int mDefaultGreenBand;
 
  223    int mDefaultBlueBand;
 
  226    bool mGrayMinimumMaximumEstimated;
 
  229    bool mRGBMinimumMaximumEstimated;
 
  244    bool rasterIsMultiBandColor();
 
  249    void updateInformationContent();
 
  251    void setTransparencyCell( 
int row, 
int column, 
double value );
 
  252    void setTransparencyCellValue( 
int row, 
int column, 
double value );
 
  253    double transparencyCellValue( 
int row, 
int column );
 
  254    void setTransparencyToEdited( 
int row );
 
  255    void adjustTransparencyCellWidth( 
int row, 
int column );
 
  257    void setRendererWidget( 
const QString &rendererName );
 
  261    QLinearGradient greenGradient();
 
  262    QLinearGradient redGradient();
 
  263    QLinearGradient blueGradient();
 
  264    QLinearGradient grayGradient();
 
  265    QLinearGradient highlightGradient();
 
  266    qreal mGradientHeight;
 
  267    qreal mGradientWidth;
 
  273    QVector<bool> mTransparencyToEdited;
 
  281    bool mDisableRenderTypeComboBoxCurrentIndexChanged = 
false;
 
  283    bool mMetadataFilled;
 
  288    QgsResamplingUtils mResamplingUtils;
 
  296    friend class QgsAppScreenShots;
 
This class represents a coordinate reference system (CRS).
 
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...
 
Map canvas is a class for displaying all GIS data types on a canvas.
 
Stores style information (renderer, opacity, labeling, diagrams etc.) applicable to a map layer.
 
Base class for all map layer types.
 
A base dialog for options and properties dialogs that offers vertical tabs.
 
virtual void optionsStackedWidget_CurrentChanged(int index)
Select relevant tab on current page change.
 
A class to represent a 2D point.
 
A grouped map of multiple QgsProperty objects, each referenced by a integer key value.
 
Property sheet for a raster map layer.
 
StyleType
enumeration for the different types of style
 
Represents a raster layer.
 
Property
Data definable properties.
 
Raster renderer pipe that applies colors to a raster.
 
The QgsWebView class is a collection of stubs to mimic the API of QWebView on systems where the real ...
 
const QgsCoordinateReferenceSystem & crs