<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html> <html lang="en"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <!-- qgraphicseffect.cpp --> <title>QGraphicsDropShadowEffect Class | Qt Widgets 5.12.6</title> <link rel="stylesheet" type="text/css" href="style/offline-simple.css" /> <script type="text/javascript"> document.getElementsByTagName("link").item(0).setAttribute("href", "style/offline.css"); // loading style sheet breaks anchors that were jumped to before // so force jumping to anchor again setTimeout(function() { var anchor = location.hash; // need to jump to different anchor first (e.g. none) location.hash = "#"; setTimeout(function() { location.hash = anchor; }, 0); }, 0); </script> </head> <body> <div class="header" id="qtdocheader"> <div class="main"> <div class="main-rounded"> <div class="navigationbar"> <table><tr> <td >Qt 5.12</td><td ><a href="qtwidgets-index.html">Qt Widgets</a></td><td ><a href="qtwidgets-module.html">C++ Classes</a></td><td >QGraphicsDropShadowEffect</td></tr></table><table class="buildversion"><tr> <td id="buildversion" width="100%" align="right"><a href="qtwidgets-index.html">Qt 5.12.6 Reference Documentation</a></td> </tr></table> </div> </div> <div class="content"> <div class="line"> <div class="content mainContent"> <div class="sidebar"> <div class="toc"> <h3><a name="toc">Contents</a></h3> <ul> <li class="level1"><a href="#properties">Properties</a></li> <li class="level1"><a href="#public-functions">Public Functions</a></li> <li class="level1"><a href="#reimplemented-public-functions">Reimplemented Public Functions</a></li> <li class="level1"><a href="#public-slots">Public Slots</a></li> <li class="level1"><a href="#signals">Signals</a></li> <li class="level1"><a href="#static-public-members">Static Public Members</a></li> <li class="level1"><a href="#reimplemented-protected-functions">Reimplemented Protected Functions</a></li> <li class="level1"><a href="#details">Detailed Description</a></li> </ul> </div> <div class="sidebar-content" id="sidebar-content"></div></div> <h1 class="title">QGraphicsDropShadowEffect Class</h1> <!-- $$$QGraphicsDropShadowEffect-brief --> <p>The <a href="qgraphicsdropshadoweffect.html">QGraphicsDropShadowEffect</a> class provides a drop shadow effect. <a href="#details">More...</a></p> <!-- @@@QGraphicsDropShadowEffect --> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> Header:</td><td class="memItemRight bottomAlign"> <span class="preprocessor">#include <QGraphicsDropShadowEffect></span> </td></tr><tr><td class="memItemLeft rightAlign topAlign"> qmake:</td><td class="memItemRight bottomAlign"> QT += widgets</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Since:</td><td class="memItemRight bottomAlign"> Qt 4.6</td></tr><tr><td class="memItemLeft rightAlign topAlign"> Inherits:</td><td class="memItemRight bottomAlign"> <a href="qgraphicseffect.html">QGraphicsEffect</a></td></tr></table></div><ul> <li><a href="qgraphicsdropshadoweffect-members.html">List of all members, including inherited members</a></li> <li><a href="qgraphicsdropshadoweffect-obsolete.html">Obsolete members</a></li> </ul> <a name="properties"></a> <h2 id="properties">Properties</h2> <div class="table"><table class="propsummary"> <tr><td class="topAlign"><ul> <li class="fn"><b><a href="qgraphicsdropshadoweffect.html#blurRadius-prop">blurRadius</a></b> : qreal</li> <li class="fn"><b><a href="qgraphicsdropshadoweffect.html#color-prop">color</a></b> : QColor</li> <li class="fn"><b><a href="qgraphicsdropshadoweffect.html#offset-prop">offset</a></b> : QPointF</li> </ul></td><td class="topAlign"><ul> <li class="fn"><b><a href="qgraphicsdropshadoweffect.html#xOffset-prop">xOffset</a></b> : qreal</li> <li class="fn"><b><a href="qgraphicsdropshadoweffect.html#yOffset-prop">yOffset</a></b> : qreal</li> </ul> </td></tr> </table></div> <ul> <li class="fn">1 property inherited from <a href="qgraphicseffect.html#properties">QGraphicsEffect</a></li> <li class="fn">1 property inherited from <a href="../qtcore/qobject.html#properties">QObject</a></li> </ul> <a name="public-functions"></a> <h2 id="public-functions">Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#QGraphicsDropShadowEffect">QGraphicsDropShadowEffect</a></b>(QObject *<i>parent</i> = nullptr)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> virtual </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#dtor.QGraphicsDropShadowEffect">~QGraphicsDropShadowEffect</a></b>()</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#blurRadius-prop">blurRadius</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QColor </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#color-prop">color</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> QPointF </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#offset-prop">offset</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#xOffset-prop">xOffset</a></b>() const</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> qreal </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#yOffset-prop">yOffset</a></b>() const</td></tr> </table></div> <a name="reimplemented-public-functions"></a> <h2 id="reimplemented-public-functions">Reimplemented Public Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> virtual QRectF </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#boundingRectFor">boundingRectFor</a></b>(const QRectF &<i>rect</i>) const override</td></tr> </table></div> <ul> <li class="fn">3 public functions inherited from <a href="qgraphicseffect.html#public-functions">QGraphicsEffect</a></li> <li class="fn">31 public functions inherited from <a href="../qtcore/qobject.html#public-functions">QObject</a></li> </ul> <a name="public-slots"></a> <h2 id="public-slots">Public Slots</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#blurRadius-prop">setBlurRadius</a></b>(qreal <i>blurRadius</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#color-prop">setColor</a></b>(const QColor &<i>color</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#offset-prop">setOffset</a></b>(const QPointF &<i>ofs</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#offset-prop">setOffset</a></b>(qreal <i>dx</i>, qreal <i>dy</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#offset-prop">setOffset</a></b>(qreal <i>d</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#xOffset-prop">setXOffset</a></b>(qreal <i>dx</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#yOffset-prop">setYOffset</a></b>(qreal <i>dy</i>)</td></tr> </table></div> <ul> <li class="fn">2 public slots inherited from <a href="qgraphicseffect.html#public-slots">QGraphicsEffect</a></li> <li class="fn">1 public slot inherited from <a href="../qtcore/qobject.html#public-slots">QObject</a></li> </ul> <a name="signals"></a> <h2 id="signals">Signals</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#blurRadiusChanged">blurRadiusChanged</a></b>(qreal <i>blurRadius</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#colorChanged">colorChanged</a></b>(const QColor &<i>color</i>)</td></tr> <tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#offsetChanged">offsetChanged</a></b>(const QPointF &<i>offset</i>)</td></tr> </table></div> <ul> <li class="fn">1 signal inherited from <a href="qgraphicseffect.html#signals">QGraphicsEffect</a></li> <li class="fn">2 signals inherited from <a href="../qtcore/qobject.html#signals">QObject</a></li> </ul> <a name="static-public-members"></a> <h2 id="static-public-members">Static Public Members</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> const QMetaObject </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#staticMetaObject-var">staticMetaObject</a></b></td></tr> </table></div> <ul> <li class="fn">9 static public members inherited from <a href="../qtcore/qobject.html#static-public-members">QObject</a></li> </ul> <a name="reimplemented-protected-functions"></a> <h2 id="reimplemented-protected-functions">Reimplemented Protected Functions</h2> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft rightAlign topAlign"> virtual void </td><td class="memItemRight bottomAlign"><b><a href="qgraphicsdropshadoweffect.html#draw">draw</a></b>(QPainter *<i>painter</i>) override</td></tr> </table></div> <ul> <li class="fn">7 protected functions inherited from <a href="qgraphicseffect.html#protected-functions">QGraphicsEffect</a></li> <li class="fn">9 protected functions inherited from <a href="../qtcore/qobject.html#protected-functions">QObject</a></li> </ul> <a name="details"></a> <!-- $$$QGraphicsDropShadowEffect-description --> <div class="descr"> <h2 id="details">Detailed Description</h2> <p>The <a href="qgraphicsdropshadoweffect.html">QGraphicsDropShadowEffect</a> class provides a drop shadow effect.</p> <p>A drop shadow effect renders the source with a drop shadow. The color of the drop shadow can be modified using the <a href="qgraphicsdropshadoweffect.html#color-prop">setColor</a>() function. The drop shadow offset can be modified using the <a href="qgraphicsdropshadoweffect.html#offset-prop">setOffset</a>() function and the blur radius of the drop shadow can be changed with the <a href="qgraphicsdropshadoweffect.html#blurRadius-prop">setBlurRadius</a>() function.</p> <p>By default, the drop shadow is a semi-transparent dark gray (<a href="../qtgui/qcolor.html">QColor</a>(63, 63, 63, 180)) shadow, blurred with a radius of 1 at an offset of 8 pixels towards the lower right. The drop shadow offset is specified in device coordinates.</p> <p class="centerAlign"><img src="images/graphicseffect-drop-shadow.png" alt="" /></p></div> <p><b>See also </b><a href="qgraphicsblureffect.html">QGraphicsBlurEffect</a>, <a href="qgraphicscolorizeeffect.html">QGraphicsColorizeEffect</a>, and <a href="qgraphicsopacityeffect.html">QGraphicsOpacityEffect</a>.</p> <!-- @@@QGraphicsDropShadowEffect --> <div class="prop"> <h2>Property Documentation</h2> <!-- $$$blurRadius-prop$$$blurRadius$$$setBlurRadiusqreal$$$blurRadiusChangedqreal --> <h3 class="fn" id="blurRadius-prop"><a name="blurRadius-prop"></a><span class="name">blurRadius</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3> <p>This property holds the blur radius in pixels of the drop shadow.</p> <p>Using a smaller radius results in a sharper shadow, whereas using a bigger radius results in a more blurred shadow.</p> <p>By default, the blur radius is 1 pixel.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>blurRadius</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setBlurRadius</b></span>(qreal <i>blurRadius</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsdropshadoweffect.html#blurRadiusChanged">blurRadiusChanged</a></b></span>(qreal <i>blurRadius</i>)</td></tr> </table></div> <p><b>See also </b><a href="qgraphicsdropshadoweffect.html#color-prop">color</a>() and <a href="qgraphicsdropshadoweffect.html#offset-prop">offset</a>().</p> <!-- @@@blurRadius --> <!-- $$$color-prop$$$color$$$setColorconstQColor&$$$colorChangedconstQColor& --> <h3 class="fn" id="color-prop"><a name="color-prop"></a><span class="name">color</span> : <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span></h3> <p>This property holds the color of the drop shadow.</p> <p>By default, the drop color is a semi-transparent dark gray (<a href="../qtgui/qcolor.html">QColor</a>(63, 63, 63, 180)).</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QColor </td><td class="memItemRight bottomAlign"><span class="name"><b>color</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setColor</b></span>(const QColor &<i>color</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsdropshadoweffect.html#colorChanged">colorChanged</a></b></span>(const QColor &<i>color</i>)</td></tr> </table></div> <p><b>See also </b><a href="qgraphicsdropshadoweffect.html#offset-prop">offset</a>() and <a href="qgraphicsdropshadoweffect.html#blurRadius-prop">blurRadius</a>().</p> <!-- @@@color --> <!-- $$$offset-prop$$$offset$$$setOffsetconstQPointF&$$$setOffsetqrealqreal$$$setOffsetqreal$$$offsetChangedconstQPointF& --> <h3 class="fn" id="offset-prop"><a name="offset-prop"></a><span class="name">offset</span> : <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span></h3> <p>This property holds the shadow offset in pixels.</p> <p>By default, the offset is 8 pixels towards the lower right.</p> <p>The offset is given in device coordinates, which means it is unaffected by scale.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> QPointF </td><td class="memItemRight bottomAlign"><span class="name"><b>offset</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOffset</b></span>(const QPointF &<i>ofs</i>)</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOffset</b></span>(qreal <i>dx</i>, qreal <i>dy</i>)</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setOffset</b></span>(qreal <i>d</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsdropshadoweffect.html#offsetChanged">offsetChanged</a></b></span>(const QPointF &<i>offset</i>)</td></tr> </table></div> <p><b>See also </b><a href="qgraphicsdropshadoweffect.html#xOffset-prop">xOffset</a>(), <a href="qgraphicsdropshadoweffect.html#yOffset-prop">yOffset</a>(), <a href="qgraphicsdropshadoweffect.html#blurRadius-prop">blurRadius</a>(), and <a href="qgraphicsdropshadoweffect.html#color-prop">color</a>().</p> <!-- @@@offset --> <!-- $$$xOffset-prop$$$xOffset$$$setXOffsetqreal$$$offsetChangedconstQPointF& --> <h3 class="fn" id="xOffset-prop"><a name="xOffset-prop"></a><span class="name">xOffset</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3> <p>This property holds the horizontal shadow offset in pixels.</p> <p>By default, the horizontal shadow offset is 8 pixels.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>xOffset</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setXOffset</b></span>(qreal <i>dx</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsdropshadoweffect.html#offsetChanged">offsetChanged</a></b></span>(const QPointF &<i>offset</i>)</td></tr> </table></div> <p><b>See also </b><a href="qgraphicsdropshadoweffect.html#yOffset-prop">yOffset</a>() and <a href="qgraphicsdropshadoweffect.html#offset-prop">offset</a>().</p> <!-- @@@xOffset --> <!-- $$$yOffset-prop$$$yOffset$$$setYOffsetqreal$$$offsetChangedconstQPointF& --> <h3 class="fn" id="yOffset-prop"><a name="yOffset-prop"></a><span class="name">yOffset</span> : <span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span></h3> <p>This property holds the vertical shadow offset in pixels.</p> <p>By default, the vertical shadow offset is 8 pixels.</p> <p><b>Access functions:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> qreal </td><td class="memItemRight bottomAlign"><span class="name"><b>yOffset</b></span>() const</td></tr> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b>setYOffset</b></span>(qreal <i>dy</i>)</td></tr> </table></div> <p><b>Notifier signal:</b></p> <div class="table"><table class="alignedsummary"> <tr><td class="memItemLeft topAlign rightAlign"> void </td><td class="memItemRight bottomAlign"><span class="name"><b><a href="qgraphicsdropshadoweffect.html#offsetChanged">offsetChanged</a></b></span>(const QPointF &<i>offset</i>)</td></tr> </table></div> <p><b>See also </b><a href="qgraphicsdropshadoweffect.html#xOffset-prop">xOffset</a>() and <a href="qgraphicsdropshadoweffect.html#offset-prop">offset</a>().</p> <!-- @@@yOffset --> </div> <div class="func"> <h2>Member Function Documentation</h2> <!-- $$$QGraphicsDropShadowEffect[overload1]$$$QGraphicsDropShadowEffectQObject* --> <h3 class="fn" id="QGraphicsDropShadowEffect"><a name="QGraphicsDropShadowEffect"></a>QGraphicsDropShadowEffect::<span class="name">QGraphicsDropShadowEffect</span>(<span class="type"><a href="../qtcore/qobject.html#QObject">QObject</a></span> *<i>parent</i> = nullptr)</h3> <p>Constructs a new <a href="qgraphicsdropshadoweffect.html">QGraphicsDropShadowEffect</a> instance. The <i>parent</i> parameter is passed to <a href="qgraphicseffect.html">QGraphicsEffect</a>'s constructor.</p> <!-- @@@QGraphicsDropShadowEffect --> <!-- $$$~QGraphicsDropShadowEffect[overload1]$$$~QGraphicsDropShadowEffect --> <h3 class="fn" id="dtor.QGraphicsDropShadowEffect"><a name="dtor.QGraphicsDropShadowEffect"></a><code>[virtual] </code>QGraphicsDropShadowEffect::<span class="name">~QGraphicsDropShadowEffect</span>()</h3> <p>Destroys the effect.</p> <!-- @@@~QGraphicsDropShadowEffect --> <!-- $$$blurRadiusChanged --> <h3 class="fn" id="blurRadiusChanged"><a name="blurRadiusChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsDropShadowEffect::<span class="name">blurRadiusChanged</span>(<span class="type"><a href="../qtcore/qtglobal.html#qreal-typedef">qreal</a></span> <i>blurRadius</i>)</h3> <p>This signal is emitted whenever the effect's blur radius changes. The <i>blurRadius</i> parameter holds the effect's new blur radius.</p> <p><b>Note:</b> Notifier signal for property <a href="qgraphicsdropshadoweffect.html#blurRadius-prop">blurRadius</a>. </p><!-- @@@blurRadiusChanged --> <!-- $$$boundingRectFor[overload1]$$$boundingRectForconstQRectF& --> <h3 class="fn" id="boundingRectFor"><a name="boundingRectFor"></a><code>[override virtual] </code><span class="type"><a href="../qtcore/qrectf.html">QRectF</a></span> QGraphicsDropShadowEffect::<span class="name">boundingRectFor</span>(const <span class="type"><a href="../qtcore/qrectf.html">QRectF</a></span> &<i>rect</i>) const</h3> <p>Reimplemented from <a href="qgraphicseffect.html#boundingRectFor">QGraphicsEffect::boundingRectFor</a>().</p> <!-- @@@boundingRectFor --> <!-- $$$colorChanged --> <h3 class="fn" id="colorChanged"><a name="colorChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsDropShadowEffect::<span class="name">colorChanged</span>(const <span class="type"><a href="../qtgui/qcolor.html">QColor</a></span> &<i>color</i>)</h3> <p>This signal is emitted whenever the effect's color changes. The <i>color</i> parameter holds the effect's new color.</p> <p><b>Note:</b> Notifier signal for property <a href="qgraphicsdropshadoweffect.html#color-prop">color</a>. </p><!-- @@@colorChanged --> <!-- $$$draw[overload1]$$$drawQPainter* --> <h3 class="fn" id="draw"><a name="draw"></a><code>[override virtual protected] </code><span class="type">void</span> QGraphicsDropShadowEffect::<span class="name">draw</span>(<span class="type"><a href="../qtgui/qpainter.html">QPainter</a></span> *<i>painter</i>)</h3> <p>Reimplemented from <a href="qgraphicseffect.html#draw">QGraphicsEffect::draw</a>().</p> <!-- @@@draw --> <!-- $$$offsetChanged --> <h3 class="fn" id="offsetChanged"><a name="offsetChanged"></a><code>[signal] </code><span class="type">void</span> QGraphicsDropShadowEffect::<span class="name">offsetChanged</span>(const <span class="type"><a href="../qtcore/qpointf.html">QPointF</a></span> &<i>offset</i>)</h3> <p>This signal is emitted whenever the effect's shadow offset changes. The <i>offset</i> parameter holds the effect's new shadow offset.</p> <p><b>Note:</b> Notifier signal for property <a href="qgraphicsdropshadoweffect.html#offset-prop">offset</a>. Notifier signal for property <a href="qgraphicsdropshadoweffect.html#xOffset-prop">xOffset</a>. Notifier signal for property <a href="qgraphicsdropshadoweffect.html#yOffset-prop">yOffset</a>. </p><!-- @@@offsetChanged --> </div> </div> </div> </div> </div> </div> <div class="footer"> <p> <acronym title="Copyright">©</acronym> 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners.<br/> The documentation provided herein is licensed under the terms of the <a href="http://www.gnu.org/licenses/fdl.html">GNU Free Documentation License version 1.3</a> as published by the Free Software Foundation.<br/> Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. </p> </div> </body> </html>