2017-04-27 20:26:36 +02:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
2014-01-14 16:01:17 -02:00
|
|
|
#ifndef ANIMATIONFUNCTIONS_H
|
|
|
|
#define ANIMATIONFUNCTIONS_H
|
|
|
|
|
|
|
|
#include <QtGlobal>
|
2014-02-07 17:59:21 -02:00
|
|
|
#include <QPointF>
|
|
|
|
|
2014-01-14 16:01:17 -02:00
|
|
|
class QObject;
|
|
|
|
|
2014-05-22 11:40:22 -07:00
|
|
|
namespace Animations {
|
2019-07-10 22:23:25 +02:00
|
|
|
void hide(QObject *obj, int speed);
|
|
|
|
void show(QObject *obj, int speed);
|
|
|
|
void moveTo(QObject *obj, int speed, qreal x, qreal y);
|
|
|
|
void moveTo(QObject *obj, int speed, const QPointF &pos);
|
|
|
|
void animDelete(QObject *obj, int speed);
|
|
|
|
void scaleTo(QObject *obj, int speed, qreal scale);
|
2014-02-10 20:28:33 -08:00
|
|
|
}
|
2014-01-14 16:01:17 -02:00
|
|
|
|
2014-02-11 19:14:46 +01:00
|
|
|
#endif // ANIMATIONFUNCTIONS_H
|