15 #ifndef QGSRASTERLAYERSAVEASDIALOG_H 16 #define QGSRASTERLAYERSAVEASDIALOG_H 18 #include "ui_qgsrasterlayersaveasdialogbase.h" 27 class QgsRasterFormatOptionsWidget;
61 Qt::WindowFlags f =
nullptr );
67 double xResolution()
const;
68 double yResolution()
const;
69 int maximumTileSizeX()
const;
70 int maximumTileSizeY()
const;
71 bool tileMode()
const;
78 bool addToCanvas()
const;
86 void setAddToCanvas(
bool checked );
88 QString outputFileName()
const;
94 QString outputLayerName()
const;
95 QString outputFormat()
const;
97 QStringList createOptions()
const;
101 QList< int > pyramidsList()
const;
111 void accept()
override;
114 void mRawModeRadioButton_toggled(
bool );
115 void mFormatComboBox_currentIndexChanged(
const QString &text );
116 void mResolutionRadioButton_toggled(
bool ) { toggleResolutionSize(); }
117 void mOriginalResolutionPushButton_clicked() { setOriginalResolution(); }
118 void mXResolutionLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcSize(); }
119 void mYResolutionLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcSize(); }
121 void mOriginalSizePushButton_clicked() { setOriginalSize(); }
122 void mColumnsLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
123 void mRowsLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
125 void mAddNoDataManuallyToolButton_clicked();
126 void mLoadTransparentNoDataToolButton_clicked();
127 void mRemoveSelectedNoDataToolButton_clicked();
128 void mRemoveAllNoDataToolButton_clicked();
129 void noDataCellTextEdited(
const QString &text );
130 void mTileModeCheckBox_toggled(
bool toggled );
131 void mPyramidsGroupBox_toggled(
bool toggled );
132 void populatePyramidsLevels();
133 void extentChanged();
145 QVector<bool> mNoDataToEdited;
147 void setValidators();
148 void toggleResolutionSize();
150 void setOriginalResolution();
151 void setOriginalSize();
153 void recalcResolution();
154 void updateResolutionStateMsg();
155 void recalcResolutionSize();
157 void addNoDataRow(
double min,
double max );
158 void setNoDataToEdited(
int row );
159 double noDataCellValue(
int row,
int column )
const;
160 void adjustNoDataCellWidth(
int row,
int column );
161 bool validate()
const;
163 bool outputLayerExists()
const;
165 void insertAvailableOutputFormats();
169 #endif // QGSRASTERLAYERSAVEASDIALOG_H
A rectangle specified with double values.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
QgsRaster::RasterPyramidsFormat pyramidsFormat() const
QStringList pyramidsConfigOptions() const
QString pyramidsResamplingMethod() const
QList< QgsRasterRange > QgsRasterRangeList
This class represents a coordinate reference system (CRS).
const QgsCoordinateReferenceSystem & outputCrs
Base class for raster data providers.