[PyQt] Possible bug with QtCore.QPropertyAnimation and QAxContainer.QAxWidget

Itay Brandes akari.il at gmail.com
Sun Jun 17 18:56:48 BST 2012


There is a possible bug when trying to use *QAxContainer.QAxWidget*, *
QtGui.QGraphicsOpacityEffect* and *QtCore.QPropertyAnimation* in the same
application.

This happens when trying to animate a widget's opacity (creating a "fade
out" effect).
The animation won't update correctly if a QAxWidget is present somewhere in
the same window.
The bug can be seen here:
http://itayb.hostzi.com/eventloop_doesnt_update.avi

A test case that causes the weird behavior is attached.

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120617/b59167e8/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: animation_test_case.py
Type: application/octet-stream
Size: 1600 bytes
Desc: not available
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20120617/b59167e8/attachment.obj>


More information about the PyQt mailing list