PDA

View Full Version : How can I create a transparent about box like SKYPE?



ricardo
18th May 2009, 23:46
Hi dudes!

I think SKYPE was created using Qt (not sure)
How can I create something like this window? shadow included :)

http://img2.imageshack.us/img2/3204/skypeb.png (http://img2.imageshack.us/my.php?image=skypeb.png)

Thanks in advance.

wysota
19th May 2009, 00:38
I think SKYPE was created using Qt (not sure)
Only Skype4Linux, the ones for other platforms were not.


How can I create something like this window? shadow included :)

Please don't link to images you store on 3rd party sites. Use the attachment feature of the forum instead.

As to your question - QWidget::setMask() and/or QWidget::setAttribute() with Qt::WA_TranslucentBackground.

fnmblot
19th May 2009, 17:42
Check here (http://doc.trolltech.com/4.5/qwidget.html#creating-translucent-windows).

ricardo
19th May 2009, 18:57
Thanks for help!