[Qtce-preview-feedback] Widget transparency

Mateusz Loskot mateusz at loskot.net
Tue Feb 19 14:01:57 CET 2008


Hi,

I'm a little confused with how transparency is handled in Qt for WinCE.

I've tested what manual says in "Transparency and Double Buffering"
section for QWidget class and it works well for QLabel.
I was trying to achieve similar effect of automatic propagation of
parent widget content for QPushButton but without any luck.

Is there a specific distinction of QPushButton I'm missing here
that's influences the propagation effect?

Perhaps it's related to unavailable window opacity feature.

Generally, native transparent windows are not supported by
Windows CE API. However, I've been wondering if Qt provides some extra
feature that makes it possible to render transparent button (ie. using
.png icon with alpha channel on it). Is there?

Greetings
-- 
Mateusz Loskot
http://mateusz.loskot.net


More information about the Qtce-preview-feedback mailing list