[PyQt] Shadow around widget border in PyQt..

michael h michaelkenth at gmail.com
Tue Aug 30 13:39:47 BST 2016


>
>  errors as missing modules QGraphicsEffect.distance() and
> QGraphicsEffect.qt_blurImage(blurPainter, tmp, blurRadius(), False, True)
>
>
distance is defined in the example you are trying to port:

    inline void setDistance(qreal distance) { _distance = distance;
updateBoundingRect(); }
    inline qreal distance() const { return _distance; }


 and qt_blurImage is not a method on QGraphicsEffect. I'm not sure it's
even available in PyQt4...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20160830/17a4b89a/attachment.html>


More information about the PyQt mailing list