Class: QgsEffectStackCompactWidget

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

Bases: qgis._gui.QgsPanelWidget

QgsEffectStackCompactWidget constructor

Parameters:
  • parent – parent widget
  • effect – 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

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 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 – preview picture
sharedPainter()
showEvent()
tabletEvent()
timerEvent()
updateMicroFocus()
wheelEvent()