mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
119 lines
3.3 KiB
Plaintext
119 lines
3.3 KiB
Plaintext
/************************************************************************
|
|
* 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
|
|
{
|
|
|
|
%TypeHeaderCode
|
|
#include "qgsrasterlayersaveasdialog.h"
|
|
%End
|
|
public:
|
|
enum Mode
|
|
{
|
|
RawDataMode,
|
|
RenderedImageMode
|
|
};
|
|
enum CrsState
|
|
{
|
|
OriginalCrs,
|
|
CurrentCrs,
|
|
UserCrs
|
|
};
|
|
enum ResolutionState
|
|
{
|
|
OriginalResolution,
|
|
UserResolution
|
|
};
|
|
|
|
QgsRasterLayerSaveAsDialog( QgsRasterLayer *rasterLayer,
|
|
QgsRasterDataProvider *sourceProvider,
|
|
const QgsRectangle ¤tExtent,
|
|
const QgsCoordinateReferenceSystem &layerCrs,
|
|
const QgsCoordinateReferenceSystem ¤tCrs,
|
|
QWidget *parent /TransferThis/ = 0,
|
|
Qt::WindowFlags f = Qt::WindowFlags() );
|
|
%Docstring
|
|
Constructor for QgsRasterLayerSaveAsDialog
|
|
%End
|
|
|
|
Mode mode() const;
|
|
int nColumns() const;
|
|
int nRows() const;
|
|
double xResolution() const;
|
|
double yResolution() const;
|
|
int maximumTileSizeX() const;
|
|
int maximumTileSizeY() const;
|
|
bool tileMode() const;
|
|
|
|
bool addToCanvas() const;
|
|
%Docstring
|
|
Returns ``True`` if the "add to canvas" checkbox is checked.
|
|
|
|
.. seealso:: :py:func:`setAddToCanvas`
|
|
%End
|
|
|
|
void setAddToCanvas( bool checked );
|
|
%Docstring
|
|
Sets whether the "add to canvas" checkbox should be ``checked``.
|
|
|
|
.. seealso:: :py:func:`addToCanvas`
|
|
|
|
.. versionadded:: 3.6
|
|
%End
|
|
|
|
QString outputFileName() const;
|
|
|
|
QString outputLayerName() const;
|
|
%Docstring
|
|
Name of the output layer within GeoPackage file
|
|
|
|
.. versionadded:: 3.4
|
|
%End
|
|
QString outputFormat() const;
|
|
QgsCoordinateReferenceSystem outputCrs();
|
|
QStringList createOptions() const;
|
|
QgsRectangle outputRectangle() const;
|
|
QgsRasterRangeList noData() const;
|
|
|
|
QList< int > pyramidsList() const;
|
|
|
|
Qgis::RasterBuildPyramidOption buildPyramidsFlag() const;
|
|
%Docstring
|
|
Returns the pyramid building option.
|
|
%End
|
|
|
|
QString pyramidsResamplingMethod() const;
|
|
|
|
Qgis::RasterPyramidFormat pyramidsFormat() const;
|
|
%Docstring
|
|
Returns the selected pyramid format.
|
|
%End
|
|
|
|
QStringList pyramidsConfigOptions() const;
|
|
|
|
void hideFormat();
|
|
void hideOutput();
|
|
|
|
public slots:
|
|
virtual void accept();
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/gui/qgsrasterlayersaveasdialog.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|