Class: QgsRasterPyramidsOptionsWidget

class qgis.gui.QgsRasterPyramidsOptionsWidget

Bases: PyQt5.QtWidgets.QWidget

A widget to select format-specific raster saving options

QgsRasterPyramidsOptionsWidget(parent: Optional[QWidget] = None, provider: Optional[str] = ‘’) Constructor for QgsRasterPyramidsOptionsWidget

Methods

actionEvent

apply

cbxPyramidsFormat_currentIndexChanged

cbxPyramidsLevelsCustom_toggled

changeEvent

checkAllLevels

param checked:

childEvent

closeEvent

configOptions

rtype:

List[str]

connectNotify

contextMenuEvent

create

createOptionsWidget

rtype:

Optional[QgsRasterFormatSaveOptionsWidget]

customEvent

destroy

disconnectNotify

dragEnterEvent

dragLeaveEvent

dragMoveEvent

dropEvent

enterEvent

event

focusInEvent

focusNextChild

focusNextPrevChild

focusOutEvent

focusPreviousChild

hideEvent

initPainter

inputMethodEvent

isSignalConnected

keyPressEvent

keyReleaseEvent

leaveEvent

metric

mouseDoubleClickEvent

mouseMoveEvent

mousePressEvent

mouseReleaseEvent

moveEvent

nativeEvent

overviewList

rtype:

List[int]

paintEvent

pyramidsFormat

Returns the selected pyramid format.

receivers

resamplingMethod

rtype:

str

resizeEvent

sender

senderSignalIndex

setOverviewList

setRasterFileName

param file:

setRasterLayer

param rasterLayer:

sharedPainter

showEvent

tabletEvent

timerEvent

updateMicroFocus

updateUi

wheelEvent

Signals

overviewListChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

someValueChanged

pyqtSignal(*types, name: str = ..., revision: int = ..., arguments: Sequence = ...) -> PYQT_SIGNAL

actionEvent(self, a0: QActionEvent | None)
apply(self)
cbxPyramidsFormat_currentIndexChanged()
cbxPyramidsLevelsCustom_toggled()
changeEvent(self, a0: QEvent | None)
checkAllLevels(self, checked: bool)
Parameters:

checked (bool)

childEvent(self, a0: QChildEvent | None)
closeEvent(self, a0: QCloseEvent | None)
configOptions(self) List[str]
Return type:

List[str]

connectNotify(self, signal: QMetaMethod)
contextMenuEvent(self, a0: QContextMenuEvent | None)
create(self, window: PyQt5.sip.voidptr = None, initializeWindow: bool = True, destroyOldWindow: bool = True)
createOptionsWidget(self) QgsRasterFormatSaveOptionsWidget | None
Return type:

Optional[QgsRasterFormatSaveOptionsWidget]

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
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)
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)
metric(self, a0: QPaintDevice.PaintDeviceMetric) int
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)
nativeEvent(self, eventType: QByteArray | bytes | bytearray, message: PyQt5.sip.voidptr | None)
overviewList(self) List[int]
Return type:

List[int]

overviewListChanged

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Parameters:
  • name (str = ...)

  • revision (int = ...)

  • arguments (Sequence = ...)

Return type:

PYQT_SIGNAL

paintEvent(self, a0: QPaintEvent | None)
pyramidsFormat(self) Qgis.RasterPyramidFormat

Returns the selected pyramid format.

Return type:

Qgis.RasterPyramidFormat

receivers(self, signal: PYQT_SIGNAL) int
resamplingMethod(self) str
Return type:

str

resizeEvent(self, a0: QResizeEvent | None)
sender(self) QObject | None
senderSignalIndex(self) int
setOverviewList()
setRasterFileName(self, file: str | None)
Parameters:

file (Optional[str])

setRasterLayer(self, rasterLayer: QgsRasterLayer | None)
Parameters:

rasterLayer (Optional[QgsRasterLayer])

sharedPainter(self) QPainter | None
showEvent(self, a0: QShowEvent | None)
someValueChanged

pyqtSignal(*types, name: str = …, revision: int = …, arguments: Sequence = …) -> PYQT_SIGNAL

types is normally a sequence of individual types. Each type is either a type object or a string that is the name of a C++ type. Alternatively each type could itself be a sequence of types each describing a different overloaded signal. name is the optional C++ name of the signal. If it is not specified then the name of the class attribute that is bound to the signal is used. revision is the optional revision of the signal that is exported to QML. If it is not specified then 0 is used. arguments is the optional sequence of the names of the signal’s arguments.

Parameters:
  • name (str = ...)

  • revision (int = ...)

  • arguments (Sequence = ...)

Return type:

PYQT_SIGNAL

tabletEvent(self, a0: QTabletEvent | None)
timerEvent(self, a0: QTimerEvent | None)
updateMicroFocus(self)
updateUi()
wheelEvent(self, a0: QWheelEvent | None)