Class: QgsGradientFillSymbolLayerWidget

class qgis.gui.QgsGradientFillSymbolLayerWidget(vl: QgsVectorLayer, parent: QWidget = None)

Bases: QgsSymbolLayerWidget

Constructor for QgsGradientFillSymbolLayerWidget.

Parameters
actionEvent()
applyColorRamp(self)

Applies the color ramp passed on by the color ramp button

changeEvent()
childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create(vl: QgsVectorLayer) → QgsSymbolLayerWidget

Creates a new QgsGradientFillSymbolLayerWidget.

Parameters

vl (QgsVectorLayer) – associated vector layer

Return type

QgsSymbolLayerWidget

createExpressionContext()
customEvent()
destroy()
disconnectNotify()
dragEnterEvent()
dragLeaveEvent()
dragMoveEvent()
dropEvent()
enterEvent()
event()
focusInEvent()
focusNextChild()
focusNextPrevChild()
focusOutEvent()
focusPreviousChild()
hideEvent()
initPainter()
inputMethodEvent()
isSignalConnected()
keyPressEvent()
keyReleaseEvent()
leaveEvent()
metric()
mouseDoubleClickEvent()
mouseMoveEvent()
mousePressEvent()
mouseReleaseEvent()
moveEvent()
nativeEvent()
paintEvent()
receivers()
registerDataDefinedButton()
resizeEvent()
sender()
senderSignalIndex()
setColor(self, color: Union[QColor, Qt.GlobalColor])
Parameters

color (Union[QColor) –

setColor2(self, color: Union[QColor, Qt.GlobalColor])
Parameters

color (Union[QColor) –

setCoordinateMode(self, index: int)
Parameters

index (int) –

setGradientSpread(self, index: int)
Parameters

index (int) –

setGradientType(self, index: int)
Parameters

index (int) –

setSymbolLayer(self, layer: QgsSymbolLayer)
Parameters

layer (QgsSymbolLayer) –

sharedPainter()
showEvent()
symbolLayer(self) → QgsSymbolLayer
Return type

QgsSymbolLayer

tabletEvent()
timerEvent()
updateDataDefinedProperty()
updateMicroFocus()
wheelEvent()