Subgroup: Layout

Class: QgsLayoutEffect

class qgis.core.QgsLayoutEffect

Bases: PyQt5.QtWidgets.QGraphicsEffect

A QGraphicsEffect subclass used for rendering layout items onto a scene with custom composition modes.

New in version 3.0: Methods

blockSignals
boundingRect
boundingRectFor
childEvent
children
compositionMode Returns the composition (blending) mode used for rendering the item.
connectNotify
customEvent
deleteLater
disconnect
disconnectNotify
draw
drawSource
dumpObjectInfo
dumpObjectTree
dynamicPropertyNames
event
eventFilter
findChild findChild(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> QObject
findChildren findChildren(self, Tuple, name: str = ‘’, options: Union[Qt.FindChildOptions, Qt.FindChildOption] = Qt.FindChildrenRecursively) -> List[QObject]
inherits
installEventFilter
isEnabled
isSignalConnected
isWidgetType
isWindowType
killTimer
metaObject
moveToThread
objectName
parent
property
pyqtConfigure Each keyword argument is either the name of a Qt property or a Qt signal.
receivers
removeEventFilter
sender
senderSignalIndex
setCompositionMode Sets the composition (blending) mode used for rendering the item.
setEnabled
setObjectName
setParent
setProperty
signalsBlocked
sourceBoundingRect
sourceChanged
sourceIsPixmap
sourcePixmap
startTimer
thread
timerEvent
tr
update
updateBoundingRect

Attributes

NoPad
PadToEffectiveBoundingRect
PadToTransparentBorder
SourceAttached
SourceBoundingRectChanged
SourceDetached
SourceInvalidated
destroyed destroyed(self, QObject = None) [signal]
enabledChanged enabledChanged(self, bool) [signal]
objectNameChanged objectNameChanged(self, str) [signal]
staticMetaObject
childEvent()
compositionMode(self) → QPainter.CompositionMode

Returns the composition (blending) mode used for rendering the item.

connectNotify()
customEvent()
disconnectNotify()
draw(self, painter: QPainter)
drawSource()
isSignalConnected()
receivers()
sender()
senderSignalIndex()
setCompositionMode(self, mode: QPainter.CompositionMode)

Sets the composition (blending) mode used for rendering the item.

sourceBoundingRect()
sourceChanged()
sourceIsPixmap()
sourcePixmap()
timerEvent()
updateBoundingRect()