diff options
author | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-09-29 14:04:06 +0200 |
---|---|---|
committer | Bjørn Erik Nilsen <bjorn.nilsen@nokia.com> | 2009-09-30 16:42:15 +0200 |
commit | 2bb2a8a184b0e0f1816822e244cf9bd8e122a16a (patch) | |
tree | 98154308972b434a4be64af771a4534bd2945610 /src/gui/effects/qgraphicseffect_p.h | |
parent | 5022e56d71237292138cc8c912a467049c538445 (diff) | |
download | qt4-tools-2bb2a8a184b0e0f1816822e244cf9bd8e122a16a.tar.gz |
Readd QGraphicsBloomEffect.
This effect was removed in 1c9a28ea64cc53e61a64644dc5a4ff121b475bc5, but
has now been readded on request from a couple of customers. Andreas also
agreed we should provide this effect.
Reviewed-by: Andreas
Diffstat (limited to 'src/gui/effects/qgraphicseffect_p.h')
-rw-r--r-- | src/gui/effects/qgraphicseffect_p.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect_p.h b/src/gui/effects/qgraphicseffect_p.h index e109790011..96eda0ea7f 100644 --- a/src/gui/effects/qgraphicseffect_p.h +++ b/src/gui/effects/qgraphicseffect_p.h @@ -185,6 +185,18 @@ public: uint hasOpacityMask : 1; }; +class QGraphicsBloomEffectPrivate : public QGraphicsEffectPrivate +{ + Q_DECLARE_PUBLIC(QGraphicsBlurEffect) +public: + QGraphicsBloomEffectPrivate() : brightness(70), strength(0.7) {} + + QPixmapBlurFilter blurFilter; + int colorTable[256]; + int brightness; + qreal strength; +}; + QT_END_NAMESPACE #endif // QGRAPHICSEFFECT_P_H |