Class: QgsRasterLayerSaveAsDialog

class qgis.gui.QgsRasterLayerSaveAsDialog(rasterLayer: QgsRasterLayer, sourceProvider: QgsRasterDataProvider, currentExtent: QgsRectangle, layerCrs: QgsCoordinateReferenceSystem, currentCrs: QgsCoordinateReferenceSystem, parent: QWidget = None, f: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags())

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsRasterLayerSaveAsDialog

Methods

accept

actionEvent

addToCanvas

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

buildPyramidsFlag

rtype

QgsRaster.RasterBuildPyramids

changeEvent

childEvent

closeEvent

connectNotify

contextMenuEvent

create

createOptions

rtype

List[str]

customEvent

destroy

disconnectNotify

dragEnterEvent

dragLeaveEvent

dragMoveEvent

dropEvent

enterEvent

event

eventFilter

focusInEvent

focusNextChild

focusNextPrevChild

focusOutEvent

focusPreviousChild

hideEvent

hideFormat

hideOutput

initPainter

inputMethodEvent

isSignalConnected

keyPressEvent

keyReleaseEvent

leaveEvent

maximumTileSizeX

rtype

int

maximumTileSizeY

rtype

int

metric

mode

rtype

QgsRasterLayerSaveAsDialog.Mode

mouseDoubleClickEvent

mouseMoveEvent

mousePressEvent

mouseReleaseEvent

moveEvent

nColumns

rtype

int

nRows

rtype

int

nativeEvent

noData

rtype

List[QgsRasterRange]

outputCrs

rtype

QgsCoordinateReferenceSystem

outputFileName

rtype

str

outputFormat

rtype

str

outputLayerName

Name of the output layer within GeoPackage file

outputRectangle

rtype

QgsRectangle

paintEvent

pyramidsConfigOptions

rtype

List[str]

pyramidsFormat

rtype

QgsRaster.RasterPyramidsFormat

pyramidsList

rtype

List[int]

pyramidsResamplingMethod

rtype

str

receivers

resizeEvent

sender

senderSignalIndex

setAddToCanvas

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

sharedPainter

showEvent

tabletEvent

tileMode

rtype

bool

timerEvent

updateMicroFocus

wheelEvent

xResolution

rtype

float

yResolution

rtype

float

Attributes

CurrentCrs

OriginalCrs

OriginalResolution

RawDataMode

RenderedImageMode

UserCrs

UserResolution

class CrsState

Bases: int

CurrentCrs = 1
class Mode

Bases: int

OriginalCrs = 0
OriginalResolution = 0
RawDataMode = 0
RenderedImageMode = 1
class ResolutionState

Bases: int

UserCrs = 2
UserResolution = 1
accept(self)
actionEvent(self, QActionEvent)
addToCanvas(self) bool

Returns True if the “add to canvas” checkbox is checked.

See also

setAddToCanvas()

Return type

bool

buildPyramidsFlag(self) QgsRaster.RasterBuildPyramids
Return type

QgsRaster.RasterBuildPyramids

changeEvent(self, QEvent)
childEvent(self, QChildEvent)
closeEvent(self, QCloseEvent)
connectNotify(self, QMetaMethod)
contextMenuEvent(self, QContextMenuEvent)
create(self, window: PyQt5.sip.voidptr = 0, initializeWindow: bool = True, destroyOldWindow: bool = True)
createOptions(self) List[str]
Return type

List[str]

customEvent(self, QEvent)
destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)
disconnectNotify(self, QMetaMethod)
dragEnterEvent(self, QDragEnterEvent)
dragLeaveEvent(self, QDragLeaveEvent)
dragMoveEvent(self, QDragMoveEvent)
dropEvent(self, QDropEvent)
enterEvent(self, QEvent)
event(self, QEvent) bool
eventFilter(self, QObject, QEvent) bool
focusInEvent(self, QFocusEvent)
focusNextChild(self) bool
focusNextPrevChild(self, bool) bool
focusOutEvent(self, QFocusEvent)
focusPreviousChild(self) bool
hideEvent(self, QHideEvent)
hideFormat(self)
hideOutput(self)
initPainter(self, QPainter)
inputMethodEvent(self, QInputMethodEvent)
isSignalConnected(self, QMetaMethod) bool
keyPressEvent(self, QKeyEvent)
keyReleaseEvent(self, QKeyEvent)
leaveEvent(self, QEvent)
maximumTileSizeX(self) int
Return type

int

maximumTileSizeY(self) int
Return type

int

metric(self, QPaintDevice.PaintDeviceMetric) int
mode(self) QgsRasterLayerSaveAsDialog.Mode
Return type

QgsRasterLayerSaveAsDialog.Mode

mouseDoubleClickEvent(self, QMouseEvent)
mouseMoveEvent(self, QMouseEvent)
mousePressEvent(self, QMouseEvent)
mouseReleaseEvent(self, QMouseEvent)
moveEvent(self, QMoveEvent)
nColumns(self) int
Return type

int

nRows(self) int
Return type

int

nativeEvent(self, Union[QByteArray, bytes, bytearray], PyQt5.sip.voidptr) Tuple[bool, int]
noData(self) List[QgsRasterRange]
Return type

List[QgsRasterRange]

outputCrs(self) QgsCoordinateReferenceSystem
Return type

QgsCoordinateReferenceSystem

outputFileName(self) str
Return type

str

outputFormat(self) str
Return type

str

outputLayerName(self) str

Name of the output layer within GeoPackage file

New in version 3.4.

Return type

str

outputRectangle(self) QgsRectangle
Return type

QgsRectangle

paintEvent(self, QPaintEvent)
pyramidsConfigOptions(self) List[str]
Return type

List[str]

pyramidsFormat(self) QgsRaster.RasterPyramidsFormat
Return type

QgsRaster.RasterPyramidsFormat

pyramidsList(self) List[int]
Return type

List[int]

pyramidsResamplingMethod(self) str
Return type

str

receivers(self, PYQT_SIGNAL) int
resizeEvent(self, QResizeEvent)
sender(self) QObject
senderSignalIndex(self) int
setAddToCanvas(self, checked: bool)

Sets whether the “add to canvas” checkbox should be checked.

See also

addToCanvas()

New in version 3.6.

Parameters

checked (bool) –

sharedPainter(self) QPainter
showEvent(self, QShowEvent)
tabletEvent(self, QTabletEvent)
tileMode(self) bool
Return type

bool

timerEvent(self, QTimerEvent)
updateMicroFocus(self)
wheelEvent(self, QWheelEvent)
xResolution(self) float
Return type

float

yResolution(self) float
Return type

float