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] = 0)

Bases: PyQt5.QtWidgets.QDialog

Constructor for QgsRasterLayerSaveAsDialog

Enums

Methods

accept
actionEvent
addToCanvas Returns True if the “add to canvas” checkbox is checked.
buildPyramidsFlag
changeEvent
childEvent
closeEvent
connectNotify
contextMenuEvent
create
createOptions
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
maximumTileSizeY
metric
mode
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nColumns
nRows
nativeEvent
noData
outputCrs
outputFileName
outputFormat
outputLayerName Name of the output layer within GeoPackage file
outputRectangle
paintEvent
pyramidsConfigOptions
pyramidsFormat
pyramidsList
pyramidsResamplingMethod
receivers
resizeEvent
sender
senderSignalIndex
setAddToCanvas Sets whether the “add to canvas” checkbox should be checked.
sharedPainter
showEvent
tabletEvent
tileMode
timerEvent
updateMicroFocus
wheelEvent
xResolution
yResolution

Signals

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()
addToCanvas(self) → bool

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

See also

setAddToCanvas()

buildPyramidsFlag(self) → QgsRaster.RasterBuildPyramids
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
createOptions(self) → List[str]
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
eventFilter()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
hideFormat(self)
hideOutput(self)
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
maximumTileSizeX(self) → int
maximumTileSizeY(self) → int
metric()
mode(self) → QgsRasterLayerSaveAsDialog.Mode
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nColumns(self) → int
nRows(self) → int
nativeEvent()
noData(self) → object
outputCrs(self) → QgsCoordinateReferenceSystem
outputFileName(self) → str
outputFormat(self) → str
outputLayerName(self) → str

Name of the output layer within GeoPackage file

New in version 3.4.

outputRectangle(self) → QgsRectangle
paintEvent()
pyramidsConfigOptions(self) → List[str]
pyramidsFormat(self) → QgsRaster.RasterPyramidsFormat
pyramidsList(self) → List[int]
pyramidsResamplingMethod(self) → str
receivers()
resizeEvent()
sender()
senderSignalIndex()
setAddToCanvas(self, checked: bool)

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

See also

addToCanvas()

New in version 3.6.

sharedPainter()
showEvent()
tabletEvent()
tileMode(self) → bool
timerEvent()
updateMicroFocus()
wheelEvent()
xResolution(self) → float
yResolution(self) → float