diff options
author | David Boddie <dboddie@trolltech.com> | 2009-11-05 18:26:48 (GMT) |
---|---|---|
committer | David Boddie <dboddie@trolltech.com> | 2009-11-05 18:26:48 (GMT) |
commit | 80713aab0926e3d2ae9d0345e48c027deca1fbbb (patch) | |
tree | d8a2a37f9cdca9aa8192272bdca0b4e6a27d0440 /src/gui/effects | |
parent | f1f3450e59d8d070e01c9bd852855daaeacd1390 (diff) | |
download | Qt-80713aab0926e3d2ae9d0345e48c027deca1fbbb.zip Qt-80713aab0926e3d2ae9d0345e48c027deca1fbbb.tar.gz Qt-80713aab0926e3d2ae9d0345e48c027deca1fbbb.tar.bz2 |
Doc: Fixed qdoc warnings.
Reviewed-by: Trust Me
Diffstat (limited to 'src/gui/effects')
-rw-r--r-- | src/gui/effects/qgraphicseffect.cpp | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/gui/effects/qgraphicseffect.cpp b/src/gui/effects/qgraphicseffect.cpp index d7e838e..7f83063 100644 --- a/src/gui/effects/qgraphicseffect.cpp +++ b/src/gui/effects/qgraphicseffect.cpp @@ -128,6 +128,19 @@ QT_BEGIN_NAMESPACE */ /*! + \enum QGraphicsEffectSource::PixmapPadMode + + This enum describes how much of the effect will be rendered to a pixmap + created using the pixmap() function. + + \value NoExpandPadMode The pixmap is the size of the widget or graphics item. + \value ExpandToTransparentBorderPadMode The pixmap is expanded to include + the widget or graphics item plus a transparent border. + \value ExpandToEffectRectPadMode The pixmap is expanded to include the widget + or graphics item and the effect. +*/ + +/*! \internal */ QGraphicsEffectSource::QGraphicsEffectSource(QGraphicsEffectSourcePrivate &dd, QObject *parent) @@ -264,6 +277,9 @@ bool QGraphicsEffectSource::isPixmap() const The optional \a offset parameter returns the offset where the pixmap should be painted at using the current painter. + The \a mode determines how much of the effect the pixmap will contain. + By default, the pixmap will contain the whole effect. + The returned pixmap is bound to the current painter's device rectangle when \a system is Qt::DeviceCoordinates. @@ -735,7 +751,7 @@ void QGraphicsBlurEffect::setBlurHint(QGraphicsBlurEffect::BlurHint hint) } /*! - \fn void QGraphicsBlurEffect::blurHintChanged(Qt::BlurHint hint) + \fn void QGraphicsBlurEffect::blurHintChanged(QGraphicsBlurEffect::BlurHint hint) This signal is emitted whenever the effect's blur hint changes. The \a hint parameter holds the effect's new blur hint. |