summaryrefslogtreecommitdiffstats
path: root/src/gui/effects/qgraphicseffect.h
diff options
context:
space:
mode:
authorBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-09-30 12:57:08 (GMT)
committerBjørn Erik Nilsen <bjorn.nilsen@nokia.com>2009-09-30 14:42:16 (GMT)
commit7ca2f8ee15fbac8dce815678d7d63748d3187cb8 (patch)
tree9b702b104da0859e587dd504b59f448f9747a11d /src/gui/effects/qgraphicseffect.h
parent53dd13e439932cb234fbfff9d0dcd97d67334329 (diff)
downloadQt-7ca2f8ee15fbac8dce815678d7d63748d3187cb8.zip
Qt-7ca2f8ee15fbac8dce815678d7d63748d3187cb8.tar.gz
Qt-7ca2f8ee15fbac8dce815678d7d63748d3187cb8.tar.bz2
Added QGraphicsBloomEffect::blurHint.
This allows the user to control whether to use a fast dynamic blur or a static high quality blur. Reviewed-by: Samuel
Diffstat (limited to 'src/gui/effects/qgraphicseffect.h')
-rw-r--r--src/gui/effects/qgraphicseffect.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/effects/qgraphicseffect.h b/src/gui/effects/qgraphicseffect.h
index a92ce13..c5d3ede 100644
--- a/src/gui/effects/qgraphicseffect.h
+++ b/src/gui/effects/qgraphicseffect.h
@@ -339,6 +339,7 @@ class Q_GUI_EXPORT QGraphicsBloomEffect: public QGraphicsEffect
{
Q_OBJECT
Q_PROPERTY(int blurRadius READ blurRadius WRITE setBlurRadius NOTIFY blurRadiusChanged)
+ Q_PROPERTY(Qt::RenderHint blurHint READ blurHint WRITE setBlurHint NOTIFY blurHintChanged)
Q_PROPERTY(int brightness READ brightness WRITE setBrightness NOTIFY brightnessChanged)
Q_PROPERTY(qreal strength READ strength WRITE setStrength NOTIFY strengthChanged)
public:
@@ -347,16 +348,19 @@ public:
QRectF boundingRectFor(const QRectF &rect) const;
int blurRadius() const;
+ Qt::RenderHint blurHint() const;
int brightness() const;
qreal strength() const;
public Q_SLOTS:
void setBlurRadius(int blurRadius);
+ void setBlurHint(Qt::RenderHint hint);
void setBrightness(int brightness);
void setStrength(qreal strength);
Q_SIGNALS:
void blurRadiusChanged(int blurRadius);
+ void blurHintChanged(Qt::RenderHint hint);
void brightnessChanged(int brightness);
void strengthChanged(qreal strength);