PDA

View Full Version : Issues using Phonon::VideoWidget embedded in dialog with Qt::WA_TranslucentBackground



Smokex
23rd January 2010, 05:55
When I add the VideoWidget to a layout in a dialog with Qt::WA_TranslucentBackground set, the VideoWidget is completely transparent, showing a hole in the application. It is still visible in fullscreen, when the widget it pulled into its own window, and when TranslucentBackground is turned off. I have tried subclassing paint and painting with opaque black to no avail. autoFullBackground is set but it looks like VideoWidget unsets autofillbackground in it's paint event and I'm trying not to modify original qt sources. I have been struggling with this issue for at least 2 months now and am hoping someone here might be able to figure out what is going on. The source is available on sourceforge under project name Quazaa.