Class: QgsRasterHistogramWidget¶
-
class
qgis.gui.
QgsRasterHistogramWidget
(layer: QgsRasterLayer, parent: QWidget = None)¶ Bases:
qgis._gui.QgsMapLayerConfigWidget
Constructor for QgsRasterHistogramWidget, for the specified raster
layer
.Histogram widget
Enums
Methods
Compute the histogram on demand.
Apply a histoActionTriggered() event.
Save the histogram as an image to disk
slot executed when user wishes to refresh raster histogramwidget
Activate the histogram widget
Sets the renderer widget (or just its name if there is no widget)
Apply a histoActionTriggered() event.
Signals
Attributes
-
actionEvent
()¶
-
apply
(self)¶
-
changeEvent
()¶
-
childEvent
()¶
-
closeEvent
()¶
-
computeHistogram
(self, forceComputeFlag: bool) → bool¶ Compute the histogram on demand.
-
connectNotify
()¶
-
contextMenuEvent
()¶
-
create
()¶
-
customEvent
()¶
-
destroy
()¶
-
disconnectNotify
()¶
-
dragEnterEvent
()¶
-
dragLeaveEvent
()¶
-
dragMoveEvent
()¶
-
dropEvent
()¶
-
enterEvent
()¶
-
event
()¶
-
focusInEvent
()¶
-
focusNextChild
()¶
-
focusNextPrevChild
()¶
-
focusOutEvent
()¶
-
focusPreviousChild
()¶
-
hideEvent
()¶
-
histoAction
(self, actionName: str, actionFlag: bool = True)¶ Apply a histoActionTriggered() event.
-
histoSaveAsImage
(self, filename: str, width: int = 600, height: int = 600, quality: int = -1) → bool¶ Save the histogram as an image to disk
-
initPainter
()¶
-
inputMethodEvent
()¶
-
isSignalConnected
()¶
-
keyPressEvent
()¶
-
keyReleaseEvent
()¶
-
leaveEvent
()¶
-
metric
()¶
-
mouseDoubleClickEvent
()¶
-
mouseMoveEvent
()¶
-
mousePressEvent
()¶
-
mouseReleaseEvent
()¶
-
moveEvent
()¶
-
nativeEvent
()¶
-
paintEvent
()¶
-
receivers
()¶
-
refreshHistogram
(self)¶ slot executed when user wishes to refresh raster histogramwidget
-
resizeEvent
()¶
-
sender
()¶
-
senderSignalIndex
()¶
-
setActive
(self, activeFlag: bool)¶ Activate the histogram widget
-
setRendererWidget
(self, name: str, rendererWidget: QgsRasterRendererWidget = None)¶ Sets the renderer widget (or just its name if there is no widget)
-
setSelectedBand
(self, index: int)¶ Apply a histoActionTriggered() event.
-
showEvent
()¶
-
tabletEvent
()¶
-
timerEvent
()¶
-
updateMicroFocus
()¶
-
wheelEvent
()¶
-