QGIS/python/core/layout/qgslayouteffect.sip
Nyall Dawson 4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00

66 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/layout/qgslayouteffect.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsLayoutEffect : QGraphicsEffect
{
%Docstring
A QGraphicsEffect subclass used for rendering layout items
onto a scene with custom composition modes.
.. versionadded:: 3.0
%End
%TypeHeaderCode
#include "qgslayouteffect.h"
%End
public:
QgsLayoutEffect();
%Docstring
Constructor for QgsLayoutEffect.
%End
void setCompositionMode( QPainter::CompositionMode mode );
%Docstring
Sets the composition (blending) ``mode`` used for rendering
the item.
.. seealso:: :py:func:`compositionMode()`
%End
QPainter::CompositionMode compositionMode() const;
%Docstring
Returns the composition (blending) mode used for rendering
the item.
:rtype: QPainter.CompositionMode
.. seealso:: :py:func:`setCompositionMode()`
%End
protected:
virtual void draw( QPainter *painter );
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/layout/qgslayouteffect.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/