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;
138 void optionsChanged();
145 QString mRasterFileName;
146 QMap< QString, QString> mOptionsMap;
147 static QMap< QString, QStringList > sBuiltinProfiles;
148 bool mPyramids = false;
149 Qgis::RasterPyramidFormat mPyramidsFormat =
Qgis::RasterPyramidFormat::GeoTiff;
150 int mBlockOptionUpdates = 0;
152 QString settingsKey( QString profile ) const
SIP_FORCE;
153 QString currentProfileKey() const
SIP_FORCE;
154 QString createOptions( const QString &profile ) const
SIP_FORCE;
155 void deleteCreateOptions( const QString &profile )
SIP_FORCE;
157 void setCreateOptions( const QString &profile, const QString &options )
SIP_FORCE;
158 void setCreateOptions( const QString &profile, const QStringList &list )
SIP_FORCE;
160 bool eventFilter( QObject *obj, QEvent *event ) override
SIP_FORCE;