Qtopia-interest Archive, August 2007
Transparent Widget
Message 1 in thread
Hello,
I would like to create a transparent Dialog, but inside it I want to create a opaque Button. Well when I call setWindowOpacity(x) on Dialog it set the opacity of all widgets on Dialog. And if I try to set a different Opacity at buttons calling setWindowOpacity(x) it doesn't works.
I have tried to set a style Sheet to buttons too. I used background color and set RGBA properties at buttons but it doesn't works too. The buttons stay transparent. It look likes as the dialog set transparent to all child widgets.
I think the right way is to write a complete style-sheet to Dialog. But when I try to set RGBA on dialog it stay transparent at all.
Someone could help me or have an example to send me?
Thanks in advance.
________________________
Alex Pinheiro das Gracas
__
mHave Software, Ltda.
Av. Nossa Senhora dos Navegantes 495, Salas 401 a 404
Enseada do Suá, Vitoria ES
Brazil 29050-420
Phone: +55 27 3327 2039
Skype: mhave.agracas
Web: http://www.mhave.com <http://www.mhave.com/>
Providing outsourcing services and financial enterprise software solutions.

