2017-06-08 11:26:03 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsrasterlayersaveasdialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class QgsRasterLayerSaveAsDialog: QDialog
|
2012-09-24 02:28:15 +02:00
|
|
|
{
|
2017-06-08 11:26:03 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-08 11:26:03 +02:00
|
|
|
#include "qgsrasterlayersaveasdialog.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
enum Mode
|
|
|
|
{
|
|
|
|
RawDataMode,
|
|
|
|
RenderedImageMode
|
|
|
|
};
|
|
|
|
enum CrsState
|
|
|
|
{
|
|
|
|
OriginalCrs,
|
|
|
|
CurrentCrs,
|
|
|
|
UserCrs
|
|
|
|
};
|
|
|
|
enum ResolutionState
|
|
|
|
{
|
|
|
|
OriginalResolution,
|
|
|
|
UserResolution
|
|
|
|
};
|
|
|
|
|
2017-06-08 11:26:03 +02:00
|
|
|
QgsRasterLayerSaveAsDialog( QgsRasterLayer *rasterLayer,
|
|
|
|
QgsRasterDataProvider *sourceProvider,
|
|
|
|
const QgsRectangle ¤tExtent,
|
|
|
|
const QgsCoordinateReferenceSystem &layerCrs,
|
|
|
|
const QgsCoordinateReferenceSystem ¤tCrs,
|
|
|
|
QWidget *parent /TransferThis/ = 0,
|
|
|
|
Qt::WindowFlags f = 0 );
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
Mode mode() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: Mode
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
int nColumns() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: int
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
int nRows() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: int
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
double xResolution() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: float
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
double yResolution() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: float
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
int maximumTileSizeX() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: int
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
int maximumTileSizeY() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: int
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
bool tileMode() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: bool
|
|
|
|
%End
|
2016-01-04 22:51:18 +11:00
|
|
|
bool addToCanvas() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: bool
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
QString outputFileName() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: str
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
QString outputFormat() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: str
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
QgsCoordinateReferenceSystem outputCrs();
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: QgsCoordinateReferenceSystem
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
QStringList createOptions() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: list of str
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
QgsRectangle outputRectangle() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: QgsRectangle
|
|
|
|
%End
|
2013-04-29 13:27:36 +02:00
|
|
|
QgsRasterRangeList noData() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: QgsRasterRangeList
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
2013-01-18 18:18:47 -02:00
|
|
|
QList< int > pyramidsList() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: list of int
|
|
|
|
%End
|
2013-04-24 17:18:15 +02:00
|
|
|
QgsRaster::RasterBuildPyramids buildPyramidsFlag() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: QgsRaster.RasterBuildPyramids
|
|
|
|
%End
|
2013-01-18 18:18:47 -02:00
|
|
|
QString pyramidsResamplingMethod() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: str
|
|
|
|
%End
|
2013-04-24 17:18:15 +02:00
|
|
|
QgsRaster::RasterPyramidsFormat pyramidsFormat() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: QgsRaster.RasterPyramidsFormat
|
|
|
|
%End
|
2013-01-18 18:18:47 -02:00
|
|
|
QStringList pyramidsConfigOptions() const;
|
2017-06-08 11:26:03 +02:00
|
|
|
%Docstring
|
|
|
|
:rtype: list of str
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
|
|
|
|
void hideFormat();
|
|
|
|
void hideOutput();
|
|
|
|
|
|
|
|
public slots:
|
|
|
|
virtual void accept();
|
2017-06-08 11:26:03 +02:00
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2017-06-08 11:26:03 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/gui/qgsrasterlayersaveasdialog.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|