[PyQt] Shadow around widget border in PyQt..

Goku Balu tfa.signup.test1 at gmail.com
Tue Aug 30 14:05:28 BST 2016


Thanks for the reply Micheal. Yes I can write my own setDistance method in
Python. But do we have any other methods that produces the same output as
qt_blurimage in PyQt4?

Any help in this regard will be helpful.

Thanks

On Tue, Aug 30, 2016 at 6:09 PM, michael h <michaelkenth at gmail.com> wrote:

>  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/efd48c8c/attachment-0001.html>


More information about the PyQt mailing list