QGIS/python/gui/qgsrasterpyramidsoptionswidget.sip
Nyall Dawson c49b5b777f Change a lot of arguments to const references in core/gui
Rationale:
- there was a lot of large objects passed by value, so potentially
there's a speed bump from this
- even for implicitly shared classes like QString/QList there's still
a (small) cost for copying the objects when there's no reason to
- it's the right thing to do!
2015-10-07 12:02:04 +11:00

39 lines
1.1 KiB
Plaintext

/** \ingroup gui
* A widget to select format-specific raster saving options
*/
class QgsRasterPyramidsOptionsWidget: QWidget
{
%TypeHeaderCode
#include <qgsrasterpyramidsoptionswidget.h>
%End
public:
QgsRasterPyramidsOptionsWidget( QWidget* parent /TransferThis/ = 0, const QString& provider = "gdal" );
~QgsRasterPyramidsOptionsWidget();
QStringList configOptions() const;
QgsRasterFormatSaveOptionsWidget* createOptionsWidget() /Factory/;
const QList<int> overviewList() const;
QgsRaster::RasterPyramidsFormat pyramidsFormat() const;
QString resamplingMethod() const;
void setRasterLayer( QgsRasterLayer* rasterLayer );
void setRasterFileName( const QString& file );
public slots:
void apply();
void checkAllLevels( bool checked );
private slots:
void on_cbxPyramidsLevelsCustom_toggled( bool toggled );
void on_cbxPyramidsFormat_currentIndexChanged( int index );
void setOverviewList();
void updateUi();
signals:
void overviewListChanged();
void someValueChanged(); /* emitted when any other setting changes */
};