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;
85 void setOptions(
const QString &options );
98 mPyramidsFormat = format;
114 QString validateOptions(
bool gui =
true,
bool reportOk =
true );
119 void updateProfiles();
123 void mProfileNewButton_clicked()
SIP_FORCE;
124 void mProfileDeleteButton_clicked()
SIP_FORCE;
125 void mProfileResetButton_clicked()
SIP_FORCE;
126 void mOptionsAddButton_clicked()
SIP_FORCE;
127 void mOptionsDeleteButton_clicked()
SIP_FORCE;
128 void mOptionsLineEdit_editingFinished()
SIP_FORCE;
130 void optionsTableEnableDeleteButton()
SIP_FORCE;
132 void swapOptionsUI(
int newIndex = -1 )
SIP_FORCE;
136 void showEvent( QShowEvent *event ) override;
139 void optionsChanged();
146 QString mRasterFileName;
147 QMap< QString, QString> mOptionsMap;
148 static QMap< QString, QStringList > sBuiltinProfiles;
149 bool mPyramids = false;
150 Qgis::RasterPyramidFormat mPyramidsFormat =
Qgis::RasterPyramidFormat::GeoTiff;
151 int mBlockOptionUpdates = 0;
153 QString settingsKey( QString profile ) const
SIP_FORCE;
154 QString currentProfileKey() const
SIP_FORCE;
155 QString createOptions( const QString &profile ) const
SIP_FORCE;
156 void deleteCreateOptions( const QString &profile )
SIP_FORCE;
158 void setCreateOptions( const QString &profile, const QString &options )
SIP_FORCE;
159 void setCreateOptions( const QString &profile, const QStringList &list )
SIP_FORCE;
161 bool eventFilter( QObject *obj, QEvent *event ) override
SIP_FORCE;