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 {
|
2019-07-10 20:23:25 +00: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-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
|