[PySide] animated fade

Frank Rueter | OHUfx frank at ohufx.com
Mon Apr 16 13:54:20 CEST 2012


Hi guys,

I'm currently looking at an example that cross fades two widgets when 
the respective button is pushed.

I have made a slight change to the sample code so that there is a button 
on each page that is meant to start the cross fade animation back to the 
other page (and therefore fade out itself). Looking at the terminal 
output, I can see the animation running and printing the incremental 
value changes, but the pages don't visibly animate when using the new 
buttons.

http://pastebin.com/eTDpxiKM

When I use the old buttons at the bottom of the widget (the ones that 
aren't part of the animated widgets), it all works as expected. Both 
sets of buttons are hooked up to the same slot.

What am I doing wrong?

Cheers,
frank




More information about the PySide mailing list