Class: QgsSingleBandGrayRendererWidget

class qgis.gui.QgsSingleBandGrayRendererWidget(layer: QgsRasterLayer, extent: QgsRectangle = QgsRectangle())

Bases: QgsRasterRendererWidget

Parameters
actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create(layer: QgsRasterLayer, extent: QgsRectangle)QgsRasterRendererWidget
Parameters
Return type

QgsRasterRendererWidget

customEvent()
destroy()
disconnectNotify()
doComputations(self)
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
loadMinMax(self, bandNo: int, min: float, max: float)

called when new min/max values are loaded

Parameters
  • bandNo (int) –

  • min (float) –

  • max (float) –

max(self, index: int = 0) → str
Parameters

index (int = 0) –

Return type

str

metric()
min(self, index: int = 0) → str
Parameters

index (int = 0) –

Return type

str

minMaxWidget(self)QgsRasterMinMaxWidget
Return type

QgsRasterMinMaxWidget

mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
renderer(self)QgsRasterRenderer
Return type

QgsRasterRenderer

resizeEvent()
selectedBand(self, index: int = 0) → int
Parameters

index (int = 0) –

Return type

int

sender()
senderSignalIndex()
setFromRenderer(self, r: QgsRasterRenderer)
Parameters

r (QgsRasterRenderer) –

setMapCanvas(self, canvas: QgsMapCanvas)
Parameters

canvas (QgsMapCanvas) –

setMax(self, value: str, index: int = 0)
Parameters
  • value (str) –

  • index (int = 0) –

setMin(self, value: str, index: int = 0)
Parameters
  • value (str) –

  • index (int = 0) –

sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()