2014-01-14 18:01:17 +00:00
|
|
|
#ifndef ANIMATIONFUNCTIONS_H
|
|
|
|
#define ANIMATIONFUNCTIONS_H
|
|
|
|
|
|
|
|
#include <QtGlobal>
|
2014-02-07 19:59:21 +00:00
|
|
|
#include <QPointF>
|
|
|
|
|
2014-01-14 18:01:17 +00:00
|
|
|
class QObject;
|
|
|
|
|
|
|
|
namespace Animations{
|
|
|
|
void hide(QObject *obj);
|
2014-02-07 18:54:12 +00:00
|
|
|
void moveTo(QObject *obj, qreal x, qreal y, int msecs = 500);
|
2014-02-07 19:59:21 +00:00
|
|
|
void moveTo(QObject *obj, const QPointF& pos, int msecs = 500);
|
2014-01-27 17:14:42 +00:00
|
|
|
void animDelete(QObject *obj);
|
2014-02-11 04:28:33 +00:00
|
|
|
}
|
2014-01-14 18:01:17 +00:00
|
|
|
|
2014-02-11 18:14:46 +00:00
|
|
|
#endif // ANIMATIONFUNCTIONS_H
|