QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
Loading...
Searching...
No Matches
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 SIP_TRANSFERTHIS=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
 Constructor for QgsRasterLayerSaveAsDialog.
 
bool addToCanvas () const
 Returns true if the "add to canvas" checkbox is checked.
 
Qgis::RasterBuildPyramidOption buildPyramidsFlag () const
 Returns the pyramid building option.
 
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.
 
QgsRectangle outputRectangle () const
 
QStringList pyramidsConfigOptions () const
 
Qgis::RasterPyramidFormat pyramidsFormat () const
 Returns the selected pyramid format.
 
QList< int > pyramidsList () const
 
QString pyramidsResamplingMethod () const
 
void setAddToCanvas (bool checked)
 Sets whether the "add to canvas" checkbox should be checked.
 
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

◆ CrsState

Enumerator
OriginalCrs 
CurrentCrs 
UserCrs 

Definition at line 42 of file qgsrasterlayersaveasdialog.h.

◆ Mode

Enumerator
RawDataMode 
RenderedImageMode 

Definition at line 37 of file qgsrasterlayersaveasdialog.h.

◆ ResolutionState

Enumerator
OriginalResolution 
UserResolution 

Definition at line 48 of file qgsrasterlayersaveasdialog.h.

Constructor & Destructor Documentation

◆ QgsRasterLayerSaveAsDialog()

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

Constructor for QgsRasterLayerSaveAsDialog.

Definition at line 40 of file qgsrasterlayersaveasdialog.cpp.

Member Function Documentation

◆ accept

void QgsRasterLayerSaveAsDialog::accept ( )
overrideslot

Definition at line 961 of file qgsrasterlayersaveasdialog.cpp.

◆ addToCanvas()

bool QgsRasterLayerSaveAsDialog::addToCanvas ( ) const

Returns true if the "add to canvas" checkbox is checked.

See also
setAddToCanvas()

Definition at line 396 of file qgsrasterlayersaveasdialog.cpp.

◆ buildPyramidsFlag()

Qgis::RasterBuildPyramidOption QgsRasterLayerSaveAsDialog::buildPyramidsFlag ( ) const

Returns the pyramid building option.

Definition at line 908 of file qgsrasterlayersaveasdialog.cpp.

◆ createOptions()

QStringList QgsRasterLayerSaveAsDialog::createOptions ( ) const

Definition at line 448 of file qgsrasterlayersaveasdialog.cpp.

◆ hideFormat()

void QgsRasterLayerSaveAsDialog::hideFormat ( )

Definition at line 486 of file qgsrasterlayersaveasdialog.cpp.

◆ hideOutput()

void QgsRasterLayerSaveAsDialog::hideOutput ( )

Definition at line 492 of file qgsrasterlayersaveasdialog.cpp.

◆ maximumTileSizeX()

int QgsRasterLayerSaveAsDialog::maximumTileSizeX ( ) const

Definition at line 381 of file qgsrasterlayersaveasdialog.cpp.

◆ maximumTileSizeY()

int QgsRasterLayerSaveAsDialog::maximumTileSizeY ( ) const

Definition at line 386 of file qgsrasterlayersaveasdialog.cpp.

◆ mode()

QgsRasterLayerSaveAsDialog::Mode QgsRasterLayerSaveAsDialog::mode ( ) const

Definition at line 659 of file qgsrasterlayersaveasdialog.cpp.

◆ nColumns()

int QgsRasterLayerSaveAsDialog::nColumns ( ) const

Definition at line 361 of file qgsrasterlayersaveasdialog.cpp.

◆ noData()

QgsRasterRangeList QgsRasterLayerSaveAsDialog::noData ( ) const

Definition at line 886 of file qgsrasterlayersaveasdialog.cpp.

◆ nRows()

int QgsRasterLayerSaveAsDialog::nRows ( ) const

Definition at line 366 of file qgsrasterlayersaveasdialog.cpp.

◆ outputCrs()

QgsCoordinateReferenceSystem QgsRasterLayerSaveAsDialog::outputCrs ( )

Definition at line 654 of file qgsrasterlayersaveasdialog.cpp.

◆ outputFileName()

QString QgsRasterLayerSaveAsDialog::outputFileName ( ) const

Definition at line 406 of file qgsrasterlayersaveasdialog.cpp.

◆ outputFormat()

QString QgsRasterLayerSaveAsDialog::outputFormat ( ) const

Definition at line 443 of file qgsrasterlayersaveasdialog.cpp.

◆ outputLayerName()

QString QgsRasterLayerSaveAsDialog::outputLayerName ( ) const

Name of the output layer within GeoPackage file.

Since
QGIS 3.4

Definition at line 430 of file qgsrasterlayersaveasdialog.cpp.

◆ outputRectangle()

QgsRectangle QgsRasterLayerSaveAsDialog::outputRectangle ( ) const

Definition at line 481 of file qgsrasterlayersaveasdialog.cpp.

◆ pyramidsConfigOptions()

QStringList QgsRasterLayerSaveAsDialog::pyramidsConfigOptions ( ) const
inline

Definition at line 114 of file qgsrasterlayersaveasdialog.h.

◆ pyramidsFormat()

Qgis::RasterPyramidFormat QgsRasterLayerSaveAsDialog::pyramidsFormat ( ) const
inline

Returns the selected pyramid format.

Definition at line 112 of file qgsrasterlayersaveasdialog.h.

◆ pyramidsList()

QList< int > QgsRasterLayerSaveAsDialog::pyramidsList ( ) const

Definition at line 903 of file qgsrasterlayersaveasdialog.cpp.

◆ pyramidsResamplingMethod()

QString QgsRasterLayerSaveAsDialog::pyramidsResamplingMethod ( ) const
inline

Definition at line 107 of file qgsrasterlayersaveasdialog.h.

◆ setAddToCanvas()

void QgsRasterLayerSaveAsDialog::setAddToCanvas ( bool  checked)

Sets whether the "add to canvas" checkbox should be checked.

See also
addToCanvas()
Since
QGIS 3.6

Definition at line 401 of file qgsrasterlayersaveasdialog.cpp.

◆ tileMode()

bool QgsRasterLayerSaveAsDialog::tileMode ( ) const

Definition at line 391 of file qgsrasterlayersaveasdialog.cpp.

◆ xResolution()

double QgsRasterLayerSaveAsDialog::xResolution ( ) const

Definition at line 371 of file qgsrasterlayersaveasdialog.cpp.

◆ yResolution()

double QgsRasterLayerSaveAsDialog::yResolution ( ) const

Definition at line 376 of file qgsrasterlayersaveasdialog.cpp.

Friends And Related Symbol Documentation

◆ TestQgsRasterLayerSaveAsDialog

friend class TestQgsRasterLayerSaveAsDialog
friend

Definition at line 176 of file qgsrasterlayersaveasdialog.h.


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