PDA

View Full Version : Top level transparency with DirectFB



sxie
18th August 2010, 22:04
Hi guys,

I'm using DirectFB 1.4.3 with QTE 4.6.2 and having issues in displaying partially transparent window. If I set the window opacity it is fine to show the whole window in some transparency. But if set the window with a background brush to mask some parts transparency, it does not work. LinuxFB works fine though so I think it might be related to the DirectFB plugin.

I'm wondering whether someone had met same issue before, or somebody can shed some light on this. Any help is appreciated.

Regards,
sx

kapoorsudhish
8th September 2010, 07:28
This is a problem where u want a transparent area on the widget...!!!!
try using


QWidget::setMask() or
setAttribute(Qt::WA_TranslucentBackground);


both the code works on Directfb. i used the above to achieve the top level transparency with directfb, try with this it should work