2017-04-27 18:26:36 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
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;
|
|
|
|
|
2014-05-22 18:40:22 +00:00
|
|
|
namespace Animations {
|
2014-01-14 18:01:17 +00:00
|
|
|
void hide(QObject *obj);
|
2014-07-30 20:20:38 +00:00
|
|
|
void show(QObject *obj);
|
2014-03-11 20:27:05 +00:00
|
|
|
void moveTo(QObject *obj, qreal x, qreal y);
|
|
|
|
void moveTo(QObject *obj, const QPointF &pos);
|
2014-01-27 17:14:42 +00:00
|
|
|
void animDelete(QObject *obj);
|
2014-06-08 15:22:45 +00:00
|
|
|
void scaleTo(QObject *obj, qreal scale);
|
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
|