Hi dear QtJambi Technician,

I'm using  SetWindowOpacity() of QtJambi to do a fade-in and fade-out
effect. But I'm now stuck in a very strange problem.

I have two components, one inherits from QMainWindow( calls it A), the
other inherits from QWidget( we can call this B), A is the parent of B
and all of them is set as Frameless and Transulence.
 I have confirmed  that using SetWindowOpacity() to modify the opacity
of A can work,
however when I began to change the opacity of B in a timerEvent, it's
strange that no matter what value I assigned as an variable to the
SetWindowOpacity(), the opacity of B is never changed, that is, the
return value of  B.windowOpacity() is always 1!
That's really strange, can you help me to solve this problem? Thank you!!!

-- 
Best regards
Li Zhongmiao
Digital Media, College of Computer Science, Zhejiang University
_______________________________________________
Qt-jambi-interest mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-jambi-interest

Reply via email to