[Qt-interest] QPushButton with effects

Ross Driedger ross at earz.ca
Thu Nov 26 21:42:57 CET 2009


On Thu, 26 Nov 2009 14:49:47 -0500, <qt-interest-request at trolltech.com>  
wrote:

Hey, Gian Marco,

> Good afternoon all
> I'm trying to add some graphical effects in my widget, for example an  
> animation that moves a push button from a position to another position.  
> The only way I've found to do this is QtAnimation framework but it needs  
> to be compiled and configured and I don't like this way too much.

You could just move it manually with setGeometry(...) though having  
controls just jumping around the screen is just not good UI design.

> Are there other solutions or is it the only one?

Look at QTimeLine.



-- 
"Classical music is the kind we keep thinking will turn into a tune. "
Kin Hubbard


Ross Driedger
ross_at_earz.ca



More information about the Qt-interest-old mailing list