Class: QgsRasterLayerSaveAsDialog¶
- class qgis.gui.QgsRasterLayerSaveAsDialog(rasterLayer: QgsRasterLayer | None, sourceProvider: QgsRasterDataProvider | None, currentExtent: QgsRectangle, layerCrs: QgsCoordinateReferenceSystem, currentCrs: QgsCoordinateReferenceSystem, parent: QWidget | None = None, f: Qt.WindowFlags | Qt.WindowType = Qt.WindowFlags())¶
Bases:
PyQt5.QtWidgets.QDialog
Constructor for QgsRasterLayerSaveAsDialog
Methods
Returns
True
if the "add to canvas" checkbox is checked.Returns the pyramid building option.
- rtype:
List[str]
- rtype:
int
- rtype:
int
- rtype:
QgsRasterLayerSaveAsDialog.Mode
- rtype:
int
- rtype:
int
- rtype:
List[QgsRasterRange]
- rtype:
QgsCoordinateReferenceSystem
- rtype:
str
- rtype:
str
Name of the output layer within GeoPackage file
- rtype:
QgsRectangle
- rtype:
List[str]
Returns the selected pyramid format.
- rtype:
List[int]
- rtype:
str
Sets whether the "add to canvas" checkbox should be
checked
.- rtype:
bool
- rtype:
float
- rtype:
float
Signals
Attributes
- 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, a0: QActionEvent | None)¶
- addToCanvas(self) bool ¶
Returns
True
if the “add to canvas” checkbox is checked.See also
- Return type:
bool
- buildPyramidsFlag(self) Qgis.RasterBuildPyramidOption ¶
Returns the pyramid building option.
- Return type:
- changeEvent(self, a0: QEvent | None)¶
- childEvent(self, a0: QChildEvent | None)¶
- closeEvent(self, a0: QCloseEvent | None)¶
- connectNotify(self, signal: QMetaMethod)¶
- contextMenuEvent(self, a0: QContextMenuEvent | None)¶
- create(self, window: PyQt5.sip.voidptr = None, initializeWindow: bool = True, destroyOldWindow: bool = True)¶
- createOptions(self) List[str] ¶
- Return type:
List[str]
- customEvent(self, a0: QEvent | None)¶
- destroy(self, destroyWindow: bool = True, destroySubWindows: bool = True)¶
- disconnectNotify(self, signal: QMetaMethod)¶
- dragEnterEvent(self, a0: QDragEnterEvent | None)¶
- dragLeaveEvent(self, a0: QDragLeaveEvent | None)¶
- dragMoveEvent(self, a0: QDragMoveEvent | None)¶
- dropEvent(self, a0: QDropEvent | None)¶
- enterEvent(self, a0: QEvent | None)¶
- event(self, a0: QEvent | None) bool ¶
- eventFilter(self, a0: QObject | None, a1: QEvent | None) bool ¶
- focusInEvent(self, a0: QFocusEvent | None)¶
- focusNextChild(self) bool ¶
- focusNextPrevChild(self, next: bool) bool ¶
- focusOutEvent(self, a0: QFocusEvent | None)¶
- focusPreviousChild(self) bool ¶
- hideEvent(self, a0: QHideEvent | None)¶
- hideFormat(self)¶
- hideOutput(self)¶
- initPainter(self, painter: QPainter | None)¶
- inputMethodEvent(self, a0: QInputMethodEvent | None)¶
- isSignalConnected(self, signal: QMetaMethod) bool ¶
- keyPressEvent(self, a0: QKeyEvent | None)¶
- keyReleaseEvent(self, a0: QKeyEvent | None)¶
- leaveEvent(self, a0: QEvent | None)¶
- maximumTileSizeX(self) int ¶
- Return type:
int
- maximumTileSizeY(self) int ¶
- Return type:
int
- metric(self, a0: QPaintDevice.PaintDeviceMetric) int ¶
- mode(self) QgsRasterLayerSaveAsDialog.Mode ¶
- Return type:
- mouseDoubleClickEvent(self, a0: QMouseEvent | None)¶
- mouseMoveEvent(self, a0: QMouseEvent | None)¶
- mousePressEvent(self, a0: QMouseEvent | None)¶
- mouseReleaseEvent(self, a0: QMouseEvent | None)¶
- moveEvent(self, a0: QMoveEvent | None)¶
- nColumns(self) int ¶
- Return type:
int
- nRows(self) int ¶
- Return type:
int
- nativeEvent(self, eventType: QByteArray | bytes | bytearray, message: PyQt5.sip.voidptr | None)¶
- noData(self) List[QgsRasterRange] ¶
- Return type:
List[QgsRasterRange]
- outputCrs(self) QgsCoordinateReferenceSystem ¶
- Return type:
- outputFileName(self) str ¶
- Return type:
str
- outputFormat(self) str ¶
- Return type:
str
- outputLayerName(self) str ¶
Name of the output layer within GeoPackage file
Added in version 3.4.
- Return type:
str
- outputRectangle(self) QgsRectangle ¶
- Return type:
- paintEvent(self, a0: QPaintEvent | None)¶
- pyramidsConfigOptions(self) List[str] ¶
- Return type:
List[str]
- pyramidsFormat(self) Qgis.RasterPyramidFormat ¶
Returns the selected pyramid format.
- Return type:
- pyramidsList(self) List[int] ¶
- Return type:
List[int]
- pyramidsResamplingMethod(self) str ¶
- Return type:
str
- receivers(self, signal: PYQT_SIGNAL) int ¶
- resizeEvent(self, a0: QResizeEvent | None)¶
- sender(self) QObject | None ¶
- senderSignalIndex(self) int ¶
- setAddToCanvas(self, checked: bool)¶
Sets whether the “add to canvas” checkbox should be
checked
.See also
Added in version 3.6.
- Parameters:
checked (bool)
- showEvent(self, a0: QShowEvent | None)¶
- tabletEvent(self, a0: QTabletEvent | None)¶
- tileMode(self) bool ¶
- Return type:
bool
- timerEvent(self, a0: QTimerEvent | None)¶
- updateMicroFocus(self)¶
- wheelEvent(self, a0: QWheelEvent | None)¶
- xResolution(self) float ¶
- Return type:
float
- yResolution(self) float ¶
- Return type:
float