Animation class for QGraphicsProxyWidget in Qt.