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
h...@trarbentley.net
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to