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;
72 bool addToCanvas()
const;
73 QString outputFileName()
const;
74 QString outputFormat()
const;
76 QStringList createOptions()
const;
80 QList< int > pyramidsList()
const;
90 void accept()
override {
if ( validate() ) QDialog::accept(); }
93 void mRawModeRadioButton_toggled(
bool );
94 void mFormatComboBox_currentIndexChanged(
const QString &text );
95 void mResolutionRadioButton_toggled(
bool ) { toggleResolutionSize(); }
96 void mOriginalResolutionPushButton_clicked() { setOriginalResolution(); }
97 void mXResolutionLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcSize(); }
98 void mYResolutionLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcSize(); }
100 void mOriginalSizePushButton_clicked() { setOriginalSize(); }
101 void mColumnsLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
102 void mRowsLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
104 void mAddNoDataManuallyToolButton_clicked();
105 void mLoadTransparentNoDataToolButton_clicked();
106 void mRemoveSelectedNoDataToolButton_clicked();
107 void mRemoveAllNoDataToolButton_clicked();
108 void noDataCellTextEdited(
const QString &text );
109 void mTileModeCheckBox_toggled(
bool toggled );
110 void mPyramidsGroupBox_toggled(
bool toggled );
111 void populatePyramidsLevels();
112 void extentChanged();
124 QVector<bool> mNoDataToEdited;
126 void setValidators();
127 void toggleResolutionSize();
129 void setOriginalResolution();
130 void setOriginalSize();
132 void recalcResolution();
133 void updateResolutionStateMsg();
134 void recalcResolutionSize();
136 void addNoDataRow(
double min,
double max );
137 void setNoDataToEdited(
int row );
138 double noDataCellValue(
int row,
int column )
const;
139 void adjustNoDataCellWidth(
int row,
int column );
140 bool validate()
const;
142 void insertAvailableOutputFormats();
146 #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).
Base class for raster data providers.