18 #ifndef QGSRASTERFORMATSAVEOPTIONSWIDGET_H
19 #define QGSRASTERFORMATSAVEOPTIONSWIDGET_H
21 #include "ui_qgsrasterformatsaveoptionswidgetbase.h"
31 private Ui::QgsRasterFormatSaveOptionsWidgetBase
48 QString provider =
"gdal" );
51 void setFormat( QString format );
52 void setProvider( QString provider );
55 QStringList options()
const;
58 { mPyramids =
true; mPyramidsFormat = format; }
64 QString validateOptions(
bool gui =
true,
bool reportOk =
true );
65 void updateProfiles();
69 void on_mProfileNewButton_clicked();
70 void on_mProfileDeleteButton_clicked();
71 void on_mProfileResetButton_clicked();
72 void on_mOptionsAddButton_clicked();
73 void on_mOptionsDeleteButton_clicked();
74 void on_mOptionsLineEdit_editingFinished();
75 void optionsTableChanged();
76 void optionsTableEnableDeleteButton();
78 void swapOptionsUI(
int newIndex = -1 );
79 void updateControls();
82 virtual void showEvent( QShowEvent * event );
85 void optionsChanged();
98 QString settingsKey( QString profile )
const;
99 QString currentProfileKey()
const;
100 QString createOptions( QString profile )
const;
101 void deleteCreateOptions( QString profile );
102 void setCreateOptions( );
103 void setCreateOptions( QString profile, QString options );
104 void setCreateOptions( QString profile, QStringList list );
105 QStringList profiles()
const;
106 bool eventFilter( QObject *obj, QEvent *event );
110 #endif // QGSRASTERLAYERSAVEASDIALOG_H