mirror of
				https://github.com/qgis/QGIS.git
				synced 2025-11-04 00:04:25 -05:00 
			
		
		
		
	
		
			
				
	
	
		
			127 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			127 lines
		
	
	
		
			3.4 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
/************************************************************************
 | 
						|
 * This file has been generated automatically from                      *
 | 
						|
 *                                                                      *
 | 
						|
 * src/gui/qgsrasterlayersaveasdialog.h                                 *
 | 
						|
 *                                                                      *
 | 
						|
 * Do not edit manually ! Edit header and run scripts/sipify.py again   *
 | 
						|
 ************************************************************************/
 | 
						|
 | 
						|
 | 
						|
 | 
						|
class QgsRasterLayerSaveAsDialog : QDialog
 | 
						|
{
 | 
						|
%Docstring(signature="appended")
 | 
						|
A dialog for configuring raster layer export parameters.
 | 
						|
%End
 | 
						|
 | 
						|
%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;
 | 
						|
%Docstring
 | 
						|
.. deprecated:: 3.44
 | 
						|
 | 
						|
   Use :py:func:`~QgsRasterLayerSaveAsDialog.creationOptions` instead.
 | 
						|
%End
 | 
						|
    QStringList creationOptions() const;
 | 
						|
%Docstring
 | 
						|
Raster creation options set for the output layer.
 | 
						|
 | 
						|
.. versionadded:: 3.44
 | 
						|
%End
 | 
						|
    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.py again   *
 | 
						|
 ************************************************************************/
 |