[Qt-interest] Animation QPushButton size?
Wilhelm
wilhelm.meier at fh-kl.de
Wed Mar 17 09:11:20 CET 2010
Hi all,
I'm trying to animate the size of a QPushButton, which is part of a
QGridLayout. The animation is part of QSignalTransition.
If I modify the "size" property from the initial size of the button,
scale it down and at end scale it to the original size again, I get an
overlapping with other elements in the grid-layout at the end of the
animation. The problem vanishes, if I call update() on the layout when
the animation finishes.
But I think, this is not the right way!
Any hints to do such size-Animation inside layouts?
--
Wilhelm
More information about the Qt-interest-old
mailing list