Class: QgsRasterPyramidsOptionsWidget

A widget to select format-specific raster saving options

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

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:
  • parent (Optional[QWidget] = None)

  • provider (Optional[str] = '')

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.

updateUi()[source]