[PyQt] setWindowOpacity
Tim and Alison Bentley
Home at TRARBentley.net
Wed Nov 11 17:32:36 GMT 2009
I am attempting to build a program which uses labels to display information
on a screen. It is easy to replace the display as it uses a label to store
the pixmap image.
self.display.setPixmap(image)
where self.display is defined as a QLabel.
What I would like to do is to be able to fade the images in and out
self.setWindowOpacity(0.5)
self.display.setPixmap(image)
self.setWindowOpacity(1)
I accept it may be necessary to add delays in but even with 1 second delays
in the code the screen does not fade and reappear. If I remove the 3rd line
the display does go semi transparent.
Any ideas what I am doing wrong / missing.
--
Tim and Alison Bentley
Home at TRARBentley.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20091111/a5a26146/attachment.html
More information about the PyQt
mailing list