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