15 #ifndef QGSRASTERLAYERSAVEASDIALOG_H 16 #define QGSRASTERLAYERSAVEASDIALOG_H 18 #include "ui_qgsrasterlayersaveasdialogbase.h" 25 class QgsRasterFormatOptionsWidget;
60 double xResolution()
const;
61 double yResolution()
const;
62 int maximumTileSizeX()
const;
63 int maximumTileSizeY()
const;
64 bool tileMode()
const;
65 bool addToCanvas()
const;
86 void on_mRawModeRadioButton_toggled(
bool );
87 void on_mBrowseButton_clicked();
88 void on_mSaveAsLineEdit_textChanged(
const QString& text );
89 void on_mFormatComboBox_currentIndexChanged(
const QString& text );
90 void on_mResolutionRadioButton_toggled(
bool ) { toggleResolutionSize(); }
91 void on_mOriginalResolutionPushButton_clicked() { setOriginalResolution(); }
92 void on_mXResolutionLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcSize(); }
93 void on_mYResolutionLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcSize(); }
95 void on_mOriginalSizePushButton_clicked() { setOriginalSize(); }
96 void on_mColumnsLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
97 void on_mRowsLineEdit_textEdited(
const QString & ) { mResolutionState = UserResolution; recalcResolution(); }
99 void on_mAddNoDataManuallyToolButton_clicked();
100 void on_mLoadTransparentNoDataToolButton_clicked();
101 void on_mRemoveSelectedNoDataToolButton_clicked();
102 void on_mRemoveAllNoDataToolButton_clicked();
103 void noDataCellTextEdited(
const QString & text );
104 void on_mTileModeCheckBox_toggled(
bool toggled );
105 void on_mPyramidsGroupBox_toggled(
bool toggled );
106 void populatePyramidsLevels();
107 void extentChanged();
119 void setValidators();
120 void toggleResolutionSize();
122 void setOriginalResolution();
123 void setOriginalSize();
125 void recalcResolution();
126 void updateResolutionStateMsg();
127 void recalcResolutionSize();
129 void addNoDataRow(
double min,
double max );
130 void setNoDataToEdited(
int row );
131 double noDataCellValue(
int row,
int column )
const;
132 void adjustNoDataCellWidth(
int row,
int column );
133 bool validate()
const;
140 #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
double ANALYSIS_EXPORT max(double x, double y)
Returns the maximum of two doubles or the first argument if both are equal.
QString pyramidsResamplingMethod() const
virtual void accept() override
Class for storing a coordinate reference system (CRS)
double ANALYSIS_EXPORT min(double x, double y)
Returns the minimum of two doubles or the first argument if both are equal.
Base class for raster data providers.