I want to make a notification widget,just like the one in Linux.


And I want it gradually transparent.
I think of serveral directions to do this:
1.use Animation Framework to tween it.
2.tween it in a loop in another thread.
3.set a qtimer,and each time the timer times out,I make it less visible.

Anyone tells me what is better?Or maybe they are not good plan for that...