51 void setFormat(
const QString &format );
57 void setProvider(
const QString &provider );
64 mRasterLayer = rasterLayer;
65 mRasterFileName = QString();
73 mRasterLayer =
nullptr;
74 mRasterFileName = file;
81 QStringList options()
const;
88 void setOptions(
const QString &options );
101 mPyramidsFormat = format;
117 QString validateOptions(
bool gui =
true,
bool reportOk =
true );
122 void updateProfiles();
126 void mProfileNewButton_clicked()
SIP_FORCE;
127 void mProfileDeleteButton_clicked()
SIP_FORCE;
128 void mProfileResetButton_clicked()
SIP_FORCE;
129 void mOptionsAddButton_clicked()
SIP_FORCE;
130 void mOptionsDeleteButton_clicked()
SIP_FORCE;
131 void mOptionsLineEdit_editingFinished()
SIP_FORCE;
133 void optionsTableEnableDeleteButton()
SIP_FORCE;
135 void swapOptionsUI(
int newIndex = -1 )
SIP_FORCE;
139 void showEvent( QShowEvent *event ) override;
146 void optionsChanged();
152 QString mRasterFileName;
153 QMap<QString, QString> mOptionsMap;
154 static QMap<QString, QStringList> sBuiltinProfiles;
155 bool mPyramids = false;
156 Qgis::RasterPyramidFormat mPyramidsFormat =
Qgis::RasterPyramidFormat::GeoTiff;
157 int mBlockOptionUpdates = 0;
159 QString settingsKey( QString profile ) const
SIP_FORCE;
160 QString currentProfileKey() const
SIP_FORCE;
161 QString createOptions( const QString &profile ) const
SIP_FORCE;
162 void deleteCreateOptions( const QString &profile )
SIP_FORCE;
164 void setCreateOptions( const QString &profile, const QString &options )
SIP_FORCE;
165 void setCreateOptions( const QString &profile, const QStringList &list )
SIP_FORCE;
167 bool eventFilter( QObject *obj, QEvent *event ) override
SIP_FORCE;