2017-06-08 11:26:03 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsrasterpyramidsoptionswidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
class QgsRasterPyramidsOptionsWidget: QWidget
|
|
|
|
{
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
2017-12-15 10:36:55 -04:00
|
|
|
A widget to select format-specific raster saving options
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
|
2017-06-08 11:26:03 +02:00
|
|
|
%TypeHeaderCode
|
|
|
|
#include "qgsrasterpyramidsoptionswidget.h"
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
public:
|
|
|
|
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsRasterPyramidsOptionsWidget( QWidget *parent /TransferThis/ = 0, const QString &provider = "gdal" );
|
2017-12-12 11:44:10 +10:00
|
|
|
%Docstring
|
|
|
|
Constructor for QgsRasterPyramidsOptionsWidget
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2013-01-18 18:18:47 -02:00
|
|
|
QStringList configOptions() const;
|
2017-05-01 16:42:33 +02:00
|
|
|
QgsRasterFormatSaveOptionsWidget *createOptionsWidget() /Factory/;
|
2012-09-24 02:28:15 +02:00
|
|
|
const QList<int> overviewList() const;
|
2013-04-24 17:18:15 +02:00
|
|
|
QgsRaster::RasterPyramidsFormat pyramidsFormat() const;
|
2012-09-24 02:28:15 +02:00
|
|
|
QString resamplingMethod() const;
|
2017-05-01 16:42:33 +02:00
|
|
|
void setRasterLayer( QgsRasterLayer *rasterLayer );
|
|
|
|
void setRasterFileName( const QString &file );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
public slots:
|
|
|
|
|
|
|
|
void apply();
|
|
|
|
void checkAllLevels( bool checked );
|
|
|
|
|
2013-01-18 18:18:47 -02:00
|
|
|
private slots:
|
2018-01-16 11:41:23 -04:00
|
|
|
void cbxPyramidsLevelsCustom_toggled( bool toggled );
|
|
|
|
void cbxPyramidsFormat_currentIndexChanged( int index );
|
|
|
|
void setOverviewList();
|
|
|
|
void updateUi();
|
2012-09-24 02:28:15 +02:00
|
|
|
signals:
|
|
|
|
void overviewListChanged();
|
2014-01-27 09:22:24 +01:00
|
|
|
void someValueChanged(); /* emitted when any other setting changes */
|
2017-06-08 11:26:03 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2017-06-08 11:26:03 +02:00
|
|
|
|
2017-09-25 14:20:39 +10:00
|
|
|
|
2017-06-08 11:26:03 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsrasterpyramidsoptionswidget.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|