QGIS API Documentation 3.34.0-Prizren (ffbdd678812)
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | List of all members
QgsLayoutEffect Class Reference

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

#include <qgslayouteffect.h>

Inheritance diagram for QgsLayoutEffect:
Inheritance graph
[legend]

Public Member Functions

Q_DECL_DEPRECATED QgsLayoutEffect ()=default
 Constructor for QgsLayoutEffect.
 
Q_DECL_DEPRECATED QPainter::CompositionMode compositionMode () const
 Returns the composition (blending) mode used for rendering the item.
 
Q_DECL_DEPRECATED void setCompositionMode (QPainter::CompositionMode mode)
 Sets the composition (blending) mode used for rendering the item.
 

Protected Member Functions

void draw (QPainter *painter) override
 

Detailed Description

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

Deprecated:
since QGIS 3.34 – this class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Definition at line 36 of file qgslayouteffect.h.

Constructor & Destructor Documentation

◆ QgsLayoutEffect()

Q_DECL_DEPRECATED QgsLayoutEffect::QgsLayoutEffect ( )
default

Constructor for QgsLayoutEffect.

Deprecated:
since QGIS 3.34 – this class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Member Function Documentation

◆ compositionMode()

Q_DECL_DEPRECATED QPainter::CompositionMode QgsLayoutEffect::compositionMode ( ) const
inline

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

See also
setCompositionMode()
Deprecated:
since QGIS 3.34 – this class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Definition at line 65 of file qgslayouteffect.h.

◆ draw()

void QgsLayoutEffect::draw ( QPainter *  painter)
overrideprotected

Definition at line 22 of file qgslayouteffect.cpp.

◆ setCompositionMode()

void QgsLayoutEffect::setCompositionMode ( QPainter::CompositionMode  mode)

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

See also
compositionMode()
Deprecated:
since QGIS 3.34 – this class should not be used, it is non-stable and results in crashes. See https://bugreports.qt.io/browse/QTBUG-58501.

Definition at line 53 of file qgslayouteffect.cpp.


The documentation for this class was generated from the following files: