diff options
Diffstat (limited to 'src/gui/image/qpixmapfilter_p.h')
-rw-r--r-- | src/gui/image/qpixmapfilter_p.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/gui/image/qpixmapfilter_p.h b/src/gui/image/qpixmapfilter_p.h index 2565110..92c8e56 100644 --- a/src/gui/image/qpixmapfilter_p.h +++ b/src/gui/image/qpixmapfilter_p.h @@ -126,14 +126,19 @@ class Q_GUI_EXPORT QPixmapBlurFilter : public QPixmapFilter Q_DECLARE_PRIVATE(QPixmapBlurFilter) public: + enum BlurHint { + PerformanceHint, + QualityHint + }; + QPixmapBlurFilter(QObject *parent = 0); ~QPixmapBlurFilter(); void setRadius(int radius); - void setQuality(Qt::TransformationMode mode); + void setBlurHint(BlurHint hint); int radius() const; - Qt::TransformationMode quality() const; + BlurHint blurHint() const; QRectF boundingRectFor(const QRectF &rect) const; void draw(QPainter *painter, const QPointF &dest, const QPixmap &src, const QRectF &srcRect = QRectF()) const; |