MorrisLiang
17th May 2010, 07:06
I want to make a notification widget,just like the one in Linux.
http://hackadaycom.files.wordpress.com/2009/09/simple_linux_notifications.jpg
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...:confused:
http://hackadaycom.files.wordpress.com/2009/09/simple_linux_notifications.jpg
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...:confused: