1/************************************************************************ 2 * This file has been generated automatically from * 3 * * 4 * src/gui/qgsrasterlayersaveasdialog.h * 5 * * 6 * Do not edit manually ! Edit header and run scripts/sipify.pl again * 7 ************************************************************************/ 8 9 10 11class QgsRasterLayerSaveAsDialog: QDialog 12{ 13 14%TypeHeaderCode 15#include "qgsrasterlayersaveasdialog.h" 16%End 17 public: 18 enum Mode 19 { 20 RawDataMode, 21 RenderedImageMode 22 }; 23 enum CrsState 24 { 25 OriginalCrs, 26 CurrentCrs, 27 UserCrs 28 }; 29 enum ResolutionState 30 { 31 OriginalResolution, 32 UserResolution 33 }; 34 35 QgsRasterLayerSaveAsDialog( QgsRasterLayer *rasterLayer, 36 QgsRasterDataProvider *sourceProvider, 37 const QgsRectangle ¤tExtent, 38 const QgsCoordinateReferenceSystem &layerCrs, 39 const QgsCoordinateReferenceSystem ¤tCrs, 40 QWidget *parent /TransferThis/ = 0, 41 Qt::WindowFlags f = Qt::WindowFlags() ); 42%Docstring 43Constructor for QgsRasterLayerSaveAsDialog 44%End 45 46 Mode mode() const; 47 int nColumns() const; 48 int nRows() const; 49 double xResolution() const; 50 double yResolution() const; 51 int maximumTileSizeX() const; 52 int maximumTileSizeY() const; 53 bool tileMode() const; 54 55 bool addToCanvas() const; 56%Docstring 57Returns ``True`` if the "add to canvas" checkbox is checked. 58 59.. seealso:: :py:func:`setAddToCanvas` 60%End 61 62 void setAddToCanvas( bool checked ); 63%Docstring 64Sets whether the "add to canvas" checkbox should be ``checked``. 65 66.. seealso:: :py:func:`addToCanvas` 67 68.. versionadded:: 3.6 69%End 70 71 QString outputFileName() const; 72 73 QString outputLayerName() const; 74%Docstring 75Name of the output layer within GeoPackage file 76 77.. versionadded:: 3.4 78%End 79 QString outputFormat() const; 80 QgsCoordinateReferenceSystem outputCrs(); 81 QStringList createOptions() const; 82 QgsRectangle outputRectangle() const; 83 QgsRasterRangeList noData() const; 84 85 QList< int > pyramidsList() const; 86 QgsRaster::RasterBuildPyramids buildPyramidsFlag() const; 87 QString pyramidsResamplingMethod() const; 88 QgsRaster::RasterPyramidsFormat pyramidsFormat() const; 89 QStringList pyramidsConfigOptions() const; 90 91 void hideFormat(); 92 void hideOutput(); 93 94 public slots: 95 virtual void accept(); 96 97 98}; 99 100 101 102/************************************************************************ 103 * This file has been generated automatically from * 104 * * 105 * src/gui/qgsrasterlayersaveasdialog.h * 106 * * 107 * Do not edit manually ! Edit header and run scripts/sipify.pl again * 108 ************************************************************************/ 109