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;
79 {
return mPyramidsOptionsWidget->pyramidsFormat(); }
80 QStringList pyramidsConfigOptions()
const
81 {
return mPyramidsOptionsWidget->configOptions(); }
87 virtual void accept() {
if ( validate() )
return QDialog::accept(); }
90 void on_mRawModeRadioButton_toggled(
bool );
91 void on_mBrowseButton_clicked();
92 void on_mSaveAsLineEdit_textChanged(
const QString& text );
93 void on_mCurrentExtentButton_clicked();
94 void on_mOriginalExtentButton_clicked();
95 void on_mFormatComboBox_currentIndexChanged(
const QString& text );
110 void on_mChangeCrsPushButton_clicked();
114 void on_mAddNoDataManuallyToolButton_clicked();
115 void on_mLoadTransparentNoDataToolButton_clicked();
116 void on_mRemoveSelectedNoDataToolButton_clicked();
117 void on_mRemoveAllNoDataToolButton_clicked();
118 void noDataCellTextEdited(
const QString & text );
119 void on_mTileModeCheckBox_toggled(
bool toggled );
120 void on_mPyramidsGroupBox_toggled(
bool toggled );
121 void populatePyramidsLevels();
135 void setValidators();
137 void extentChanged();
138 void updateExtentStateMsg();
139 void toggleResolutionSize();
141 void setOriginalResolution();
142 void setOriginalSize();
144 void recalcResolution();
145 void updateResolutionStateMsg();
146 void recalcResolutionSize();
148 void updateCrsGroup();
150 void addNoDataRow(
double min,
double max );
151 void setNoDataToEdited(
int row );
152 double noDataCellValue(
int row,
int column )
const;
153 void adjustNoDataCellWidth(
int row,
int column );
154 bool validate()
const;
158 #endif // QGSRASTERLAYERSAVEASDIALOG_H