15 #ifndef QGSRASTERLAYERSAVEASDIALOG_H
16 #define QGSRASTERLAYERSAVEASDIALOG_H
18 #include "ui_qgsrasterlayersaveasdialogbase.h"
25 class QgsRasterFormatOptionsWidget;
51 QWidget* parent = 0, Qt::WindowFlags f = 0 );
57 double xResolution()
const;
58 double yResolution()
const;
59 int maximumTileSizeX()
const;
60 int maximumTileSizeY()
const;
61 bool tileMode()
const;
62 QString outputFileName()
const;
63 QString outputFormat()
const;
65 QStringList createOptions()
const;
69 QList< int > pyramidsList()
const;
79 virtual void accept() {
if ( validate() )
return QDialog::accept(); }
82 void on_mRawModeRadioButton_toggled(
bool );
83 void on_mBrowseButton_clicked();
84 void on_mSaveAsLineEdit_textChanged(
const QString& text );
85 void on_mFormatComboBox_currentIndexChanged(
const QString& text );
95 void on_mChangeCrsPushButton_clicked();
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();
120 void setValidators();
121 void toggleResolutionSize();
123 void setOriginalResolution();
124 void setOriginalSize();
126 void recalcResolution();
127 void updateResolutionStateMsg();
128 void recalcResolutionSize();
130 void updateCrsGroup();
132 void addNoDataRow(
double min,
double max );
133 void setNoDataToEdited(
int row );
134 double noDataCellValue(
int row,
int column )
const;
135 void adjustNoDataCellWidth(
int row,
int column );
136 bool validate()
const;
140 #endif // QGSRASTERLAYERSAVEASDIALOG_H
void on_mXResolutionLineEdit_textEdited(const QString &)
QgsCoordinateReferenceSystem mCurrentCrs
QgsRectangle mCurrentExtent
QgsCoordinateReferenceSystem mPreviousCrs
A rectangle specified with double values.
This class provides qgis with the ability to render raster datasets onto the mapcanvas.
void on_mColumnsLineEdit_textEdited(const QString &)
void on_mRowsLineEdit_textEdited(const QString &)
void on_mCrsComboBox_currentIndexChanged(int)
void on_mYResolutionLineEdit_textEdited(const QString &)
double ANALYSIS_EXPORT max(double x, double y)
returns the maximum of two doubles or the first argument if both are equal
void on_mResolutionRadioButton_toggled(bool)
QgsCoordinateReferenceSystem mUserCrs
QgsRasterLayer * mRasterLayer
QStringList pyramidsConfigOptions() const
QgsRasterDataProvider * mDataProvider
QList< QgsRasterRange > QgsRasterRangeList
QString pyramidsResamplingMethod() const
void on_mOriginalResolutionPushButton_clicked()
Class for storing a coordinate reference system (CRS)
QgsRaster::RasterPyramidsFormat pyramidsFormat() const
double ANALYSIS_EXPORT min(double x, double y)
returns the minimum of two doubles or the first argument if both are equal
QgsCoordinateReferenceSystem mLayerCrs
void on_mOriginalSizePushButton_clicked()
QVector< bool > mNoDataToEdited
ResolutionState mResolutionState
Base class for raster data providers.