47 const QString &format =
"GTiff",
49 const QString &provider =
"gdal" );
55 void setFormat(
const QString &format );
61 void setProvider(
const QString &provider );
71 void setRasterFileName(
const QString &file ) { mRasterLayer =
nullptr; mRasterFileName = file; }
77 QStringList options()
const;
84 void setOptions(
const QString &options );
97 mPyramidsFormat = format;
113 QString validateOptions(
bool gui =
true,
bool reportOk =
true );
118 void updateProfiles();
122 void mProfileNewButton_clicked()
SIP_FORCE;
123 void mProfileDeleteButton_clicked()
SIP_FORCE;
124 void mProfileResetButton_clicked()
SIP_FORCE;
125 void mOptionsAddButton_clicked()
SIP_FORCE;
126 void mOptionsDeleteButton_clicked()
SIP_FORCE;
127 void mOptionsLineEdit_editingFinished()
SIP_FORCE;
129 void optionsTableEnableDeleteButton()
SIP_FORCE;
131 void swapOptionsUI(
int newIndex = -1 )
SIP_FORCE;
135 void showEvent( QShowEvent *event ) override;
142 void optionsChanged();
149 QString mRasterFileName;
150 QMap< QString, QString> mOptionsMap;
151 static QMap< QString, QStringList > sBuiltinProfiles;
152 bool mPyramids = false;
153 Qgis::RasterPyramidFormat mPyramidsFormat =
Qgis::RasterPyramidFormat::GeoTiff;
154 int mBlockOptionUpdates = 0;
156 QString settingsKey( QString profile ) const
SIP_FORCE;
157 QString currentProfileKey() const
SIP_FORCE;
158 QString createOptions( const QString &profile ) const
SIP_FORCE;
159 void deleteCreateOptions( const QString &profile )
SIP_FORCE;
161 void setCreateOptions( const QString &profile, const QString &options )
SIP_FORCE;
162 void setCreateOptions( const QString &profile, const QStringList &list )
SIP_FORCE;
164 bool eventFilter( QObject *obj, QEvent *event ) override
SIP_FORCE;