Thanks a lot, Lykurg
As you may notice, I'm just starting with qt. How would you do it using animation direct? Do you have any example?
I've tryed before using QPropertyAnimation, but I got compiler error - seems that an ui component created by QT creator design is not a QObject... That's why I though of using stateMachines.

I got this:
Qt Code:
  1. QPropertyAnimation::QPropertyAnimation(QObject *, const QByteArray &, QObject *) : cannot convert parameter 1 from 'Ui::TopBar *' to 'QObject *"
To copy to clipboard, switch view to plain text mode