15 #ifndef QGSRASTERLAYERSAVEASDIALOG_H
16 #define QGSRASTERLAYERSAVEASDIALOG_H
18 #include "ui_qgsrasterlayersaveasdialogbase.h"
25 class QgsRasterFormatOptionsWidget;
57 QWidget* parent = 0, Qt::WindowFlags f = 0 );
63 double xResolution()
const;
64 double yResolution()
const;
65 int maximumTileSizeX()
const;
66 int maximumTileSizeY()
const;
67 bool tileMode()
const;
68 QString outputFileName()
const;
69 QString outputFormat()
const;
71 QStringList createOptions()
const;
75 QList< int > pyramidsList()
const;
85 virtual void accept() {
if ( validate() )
return QDialog::accept(); }
88 void on_mRawModeRadioButton_toggled(
bool );
89 void on_mBrowseButton_clicked();
90 void on_mSaveAsLineEdit_textChanged(
const QString& text );
91 void on_mCurrentExtentButton_clicked();
92 void on_mOriginalExtentButton_clicked();
93 void on_mFormatComboBox_currentIndexChanged(
const QString& text );
108 void on_mChangeCrsPushButton_clicked();
112 void on_mAddNoDataManuallyToolButton_clicked();
113 void on_mLoadTransparentNoDataToolButton_clicked();
114 void on_mRemoveSelectedNoDataToolButton_clicked();
115 void on_mRemoveAllNoDataToolButton_clicked();
116 void noDataCellTextEdited(
const QString & text );
117 void on_mTileModeCheckBox_toggled(
bool toggled );
118 void on_mPyramidsGroupBox_toggled(
bool toggled );
119 void populatePyramidsLevels();
133 void setValidators();
135 void extentChanged();
136 void updateExtentStateMsg();
137 void toggleResolutionSize();
139 void setOriginalResolution();
140 void setOriginalSize();
142 void recalcResolution();
143 void updateResolutionStateMsg();
144 void recalcResolutionSize();
146 void updateCrsGroup();
148 void addNoDataRow(
double min,
double max );
149 void setNoDataToEdited(
int row );
150 double noDataCellValue(
int row,
int column )
const;
151 void adjustNoDataCellWidth(
int row,
int column );
152 bool validate()
const;
156 #endif // QGSRASTERLAYERSAVEASDIALOG_H
void on_mXResolutionLineEdit_textEdited(const QString &)
QgsCoordinateReferenceSystem mCurrentCrs
void on_mYMaxLineEdit_textEdited(const QString &)
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_mYMinLineEdit_textEdited(const QString &)
void on_mResolutionRadioButton_toggled(bool)
QgsCoordinateReferenceSystem mUserCrs
QgsRasterLayer * mRasterLayer
QStringList pyramidsConfigOptions() const
QgsRasterDataProvider * mDataProvider
void on_mXMaxLineEdit_textEdited(const QString &)
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_mXMinLineEdit_textEdited(const QString &)
void on_mOriginalSizePushButton_clicked()
QVector< bool > mNoDataToEdited
ResolutionState mResolutionState
Base class for raster data providers.