QGIS API Documentation  3.4.15-Madeira (e83d02e274)
Public Types | Public Slots | Public Member Functions | Friends | List of all members
QgsRasterLayerSaveAsDialog Class Reference

#include <qgsrasterlayersaveasdialog.h>

Inheritance diagram for QgsRasterLayerSaveAsDialog:
Inheritance graph
[legend]

Public Types

enum  CrsState { OriginalCrs, CurrentCrs, UserCrs }
 
enum  Mode { RawDataMode, RenderedImageMode }
 
enum  ResolutionState { OriginalResolution, UserResolution }
 

Public Slots

void accept () override
 

Public Member Functions

 QgsRasterLayerSaveAsDialog (QgsRasterLayer *rasterLayer, QgsRasterDataProvider *sourceProvider, const QgsRectangle &currentExtent, const QgsCoordinateReferenceSystem &layerCrs, const QgsCoordinateReferenceSystem &currentCrs, QWidget *parent=nullptr, Qt::WindowFlags f=nullptr)
 Constructor for QgsRasterLayerSaveAsDialog. More...
 
 ~QgsRasterLayerSaveAsDialog () override
 
bool addToCanvas () const
 
QgsRaster::RasterBuildPyramids buildPyramidsFlag () const
 
QStringList createOptions () const
 
void hideFormat ()
 
void hideOutput ()
 
int maximumTileSizeX () const
 
int maximumTileSizeY () const
 
Mode mode () const
 
int nColumns () const
 
QgsRasterRangeList noData () const
 
int nRows () const
 
QgsCoordinateReferenceSystem outputCrs ()
 
QString outputFileName () const
 
QString outputFormat () const
 
QString outputLayerName () const
 Name of the output layer within GeoPackage file. More...
 
QgsRectangle outputRectangle () const
 
QStringList pyramidsConfigOptions () const
 
QgsRaster::RasterPyramidsFormat pyramidsFormat () const
 
QList< int > pyramidsList () const
 
QString pyramidsResamplingMethod () const
 
bool tileMode () const
 
double xResolution () const
 
double yResolution () const
 

Friends

class TestQgsRasterLayerSaveAsDialog
 

Detailed Description

Definition at line 33 of file qgsrasterlayersaveasdialog.h.

Member Enumeration Documentation

Enumerator
OriginalCrs 
CurrentCrs 
UserCrs 

Definition at line 42 of file qgsrasterlayersaveasdialog.h.

Enumerator
RawDataMode 
RenderedImageMode 

Definition at line 37 of file qgsrasterlayersaveasdialog.h.

Enumerator
OriginalResolution 
UserResolution 

Definition at line 48 of file qgsrasterlayersaveasdialog.h.

Constructor & Destructor Documentation

QgsRasterLayerSaveAsDialog::QgsRasterLayerSaveAsDialog ( QgsRasterLayer rasterLayer,
QgsRasterDataProvider sourceProvider,
const QgsRectangle currentExtent,
const QgsCoordinateReferenceSystem layerCrs,
const QgsCoordinateReferenceSystem currentCrs,
QWidget *  parent = nullptr,
Qt::WindowFlags  f = nullptr 
)

Constructor for QgsRasterLayerSaveAsDialog.

Definition at line 37 of file qgsrasterlayersaveasdialog.cpp.

QgsRasterLayerSaveAsDialog::~QgsRasterLayerSaveAsDialog ( )
override

Definition at line 230 of file qgsrasterlayersaveasdialog.cpp.

Member Function Documentation

void QgsRasterLayerSaveAsDialog::accept ( )
overrideslot

Definition at line 939 of file qgsrasterlayersaveasdialog.cpp.

bool QgsRasterLayerSaveAsDialog::addToCanvas ( ) const

Definition at line 378 of file qgsrasterlayersaveasdialog.cpp.

QgsRaster::RasterBuildPyramids QgsRasterLayerSaveAsDialog::buildPyramidsFlag ( ) const

Definition at line 886 of file qgsrasterlayersaveasdialog.cpp.

QStringList QgsRasterLayerSaveAsDialog::createOptions ( ) const

Definition at line 425 of file qgsrasterlayersaveasdialog.cpp.

void QgsRasterLayerSaveAsDialog::hideFormat ( )

Definition at line 463 of file qgsrasterlayersaveasdialog.cpp.

void QgsRasterLayerSaveAsDialog::hideOutput ( )

Definition at line 469 of file qgsrasterlayersaveasdialog.cpp.

int QgsRasterLayerSaveAsDialog::maximumTileSizeX ( ) const

Definition at line 363 of file qgsrasterlayersaveasdialog.cpp.

int QgsRasterLayerSaveAsDialog::maximumTileSizeY ( ) const

Definition at line 368 of file qgsrasterlayersaveasdialog.cpp.

QgsRasterLayerSaveAsDialog::Mode QgsRasterLayerSaveAsDialog::mode ( ) const

Definition at line 636 of file qgsrasterlayersaveasdialog.cpp.

int QgsRasterLayerSaveAsDialog::nColumns ( ) const

Definition at line 343 of file qgsrasterlayersaveasdialog.cpp.

QgsRasterRangeList QgsRasterLayerSaveAsDialog::noData ( ) const

Definition at line 864 of file qgsrasterlayersaveasdialog.cpp.

int QgsRasterLayerSaveAsDialog::nRows ( ) const

Definition at line 348 of file qgsrasterlayersaveasdialog.cpp.

QgsCoordinateReferenceSystem QgsRasterLayerSaveAsDialog::outputCrs ( )

Definition at line 631 of file qgsrasterlayersaveasdialog.cpp.

QString QgsRasterLayerSaveAsDialog::outputFileName ( ) const

Definition at line 383 of file qgsrasterlayersaveasdialog.cpp.

QString QgsRasterLayerSaveAsDialog::outputFormat ( ) const

Definition at line 420 of file qgsrasterlayersaveasdialog.cpp.

QString QgsRasterLayerSaveAsDialog::outputLayerName ( ) const

Name of the output layer within GeoPackage file.

Since
QGIS 3.4

Definition at line 407 of file qgsrasterlayersaveasdialog.cpp.

QgsRectangle QgsRasterLayerSaveAsDialog::outputRectangle ( ) const

Definition at line 458 of file qgsrasterlayersaveasdialog.cpp.

QStringList QgsRasterLayerSaveAsDialog::pyramidsConfigOptions ( ) const
inline

Definition at line 90 of file qgsrasterlayersaveasdialog.h.

QgsRaster::RasterPyramidsFormat QgsRasterLayerSaveAsDialog::pyramidsFormat ( ) const
inline

Definition at line 89 of file qgsrasterlayersaveasdialog.h.

QList< int > QgsRasterLayerSaveAsDialog::pyramidsList ( ) const

Definition at line 881 of file qgsrasterlayersaveasdialog.cpp.

QString QgsRasterLayerSaveAsDialog::pyramidsResamplingMethod ( ) const
inline

Definition at line 88 of file qgsrasterlayersaveasdialog.h.

bool QgsRasterLayerSaveAsDialog::tileMode ( ) const

Definition at line 373 of file qgsrasterlayersaveasdialog.cpp.

double QgsRasterLayerSaveAsDialog::xResolution ( ) const

Definition at line 353 of file qgsrasterlayersaveasdialog.cpp.

double QgsRasterLayerSaveAsDialog::yResolution ( ) const

Definition at line 358 of file qgsrasterlayersaveasdialog.cpp.

Friends And Related Function Documentation

friend class TestQgsRasterLayerSaveAsDialog
friend

Definition at line 152 of file qgsrasterlayersaveasdialog.h.


The documentation for this class was generated from the following files: