Class: QgsRasterPyramidsOptionsWidget

A widget to select format-specific raster saving options.

List of all members, including inherited members

Class Hierarchy

Inheritance diagram of qgis.gui.QgsRasterPyramidsOptionsWidget

Base classes

QWidget

QObject

QPaintDevice

Methods

apply

cbxPyramidsFormat_currentIndexChanged

cbxPyramidsLevelsCustom_toggled

checkAllLevels

configOptions

createOptionsWidget

overviewList

pyramidsFormat

Returns the selected pyramid format.

resamplingMethod

setOverviewList

setRasterFileName

setRasterLayer

tuneForFormat

Tune settings of the widget for the given format (in particular for COG)

updateUi

Signals

overviewListChanged

Emitted when the list of configured overviews is changed.

someValueChanged

Emitted when settings are changed in the widget.

class qgis.gui.QgsRasterPyramidsOptionsWidget[source]

Bases: QWidget

__init__(parent: QWidget | None = None, provider: str | None = '')

Constructor for QgsRasterPyramidsOptionsWidget

Parameters:
apply(self)[source]
cbxPyramidsFormat_currentIndexChanged()[source]
cbxPyramidsLevelsCustom_toggled()[source]
checkAllLevels(self, checked: bool)[source]
Parameters:

checked (bool)

configOptions(self) list[str][source]
Return type:

list[str]

createOptionsWidget(self) QgsRasterFormatSaveOptionsWidget | None[source]
Return type:

Optional[QgsRasterFormatSaveOptionsWidget]

overviewList(self) list[int]
Return type:

list[int]

signal overviewListChanged[source]

Emitted when the list of configured overviews is changed.

pyramidsFormat(self) Qgis.RasterPyramidFormat[source]

Returns the selected pyramid format.

Return type:

Qgis.RasterPyramidFormat

resamplingMethod(self) str[source]
Return type:

str

setOverviewList()[source]
setRasterFileName(self, file: str | None)[source]
Parameters:

file (Optional[str])

setRasterLayer(self, rasterLayer: QgsRasterLayer | None)[source]
Parameters:

rasterLayer (Optional[QgsRasterLayer])

signal someValueChanged[source]

Emitted when settings are changed in the widget.

tuneForFormat(self, driverName: str | None)[source]

Tune settings of the widget for the given format (in particular for COG)

Added in version 4.0.

Parameters:

driverName (Optional[str])

updateUi()[source]