Class: QgsEffectStackCompactWidget

class qgis.gui.QgsEffectStackCompactWidget(parent: QWidget = None, effect: QgsPaintEffect = None)

Bases: QgsPanelWidget

QgsEffectStackCompactWidget constructor

Parameters
  • parent (QWidget = None) – parent widget

  • effect (QgsPaintEffect = None) – QgsPaintEffect for modification by the widget. If the effect is not a QgsEffectStack, it will be automatically converted to an effect stack consisting of the original effect

A small widget consisting of a checkbox for enabling/disabling an effect stack and a button for opening an effect stack customization dialog.

See also

QgsEffectStack

actionEvent()
changeEvent()
changed

Emitted when the paint effect properties change [signal]

childEvent()
closeEvent()
connectNotify()
contextMenuEvent()
create()
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()
paintEffect(self) → QgsPaintEffect

Returns paint effect attached to the widget

Return type

QgsPaintEffect

Returns

QgsPaintEffect modified by the widget

See also

setPaintEffect()

paintEvent()
receivers()
resizeEvent()
sender()
senderSignalIndex()
setPaintEffect(self, effect: QgsPaintEffect)

Sets paint effect attached to the widget,

Parameters

effect (QgsPaintEffect) – QgsPaintEffect for modification by the widget. If the effect is not a QgsEffectStack, it will be automatically converted to an effect stack consisting of the original effect

See also

paintEffect()

setPreviewPicture(self, picture: QPicture)

Sets the picture to use for effect previews for the dialog

Parameters

picture (QPicture) – preview picture

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