Class: QgsRasterRendererWidget

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

Bases: PyQt5.QtWidgets.QWidget

Methods

actionEvent
changeEvent
childEvent
closeEvent
connectNotify
contextMenuEvent
create
customEvent
destroy
disconnectNotify
doComputations Load programmatically with current values
dragEnterEvent
dragLeaveEvent
dragMoveEvent
dropEvent
enterEvent
event
focusInEvent
focusNextChild
focusNextPrevChild
focusOutEvent
focusPreviousChild
hideEvent
initPainter
inputMethodEvent
isSignalConnected
keyPressEvent
keyReleaseEvent
leaveEvent
mapCanvas Returns the map canvas associated with the widget.
max
metric
min
minMaxWidget Returns min/max widget when it exists.
mouseDoubleClickEvent
mouseMoveEvent
mousePressEvent
mouseReleaseEvent
moveEvent
nativeEvent
paintEvent
rasterLayer
receivers
renderer
resizeEvent
selectedBand
sender
senderSignalIndex
setMapCanvas Sets the map canvas associated with the widget.
setMax
setMin
setRasterLayer
setStdDev
sharedPainter
showEvent
stdDev
tabletEvent
timerEvent
updateMicroFocus
wheelEvent

Signals

widgetChanged Emitted when something on the widget has changed.

Attributes

actionEvent()
changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
customEvent()
destroy()
disconnectNotify()
doComputations(self)

Load programmatically with current values

dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
mapCanvas(self) → QgsMapCanvas

Returns the map canvas associated with the widget.

See also

setMapCanvas()

New in version 2.16.

max(self, index: int = 0) → str
metric()
min(self, index: int = 0) → str
minMaxWidget(self) → QgsRasterMinMaxWidget

Returns min/max widget when it exists.

mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
rasterLayer(self) → QgsRasterLayer
receivers()
renderer(self) → QgsRasterRenderer
resizeEvent()
selectedBand(self, index: int = 0) → int
sender()
senderSignalIndex()
setMapCanvas(self, canvas: QgsMapCanvas)

Sets the map canvas associated with the widget. This allows the widget to retrieve the current map extent and other properties from the canvas.

Parameters:canvas – map canvas

See also

mapCanvas()

New in version 2.16.

setMax(self, value: str, index: int = 0)
setMin(self, value: str, index: int = 0)
setRasterLayer(self, layer: QgsRasterLayer)
setStdDev(self, value: str)
sharedPainter()
showEvent()
stdDev(self) → str
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()
widgetChanged

Emitted when something on the widget has changed. All widgets will fire this event to notify of an internal change. [signal]