mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-12-14 04:42:03 +08:00
17 lines
332 B
C++
17 lines
332 B
C++
#ifndef WIDGETANIMATION_H
|
|
#define WIDGETANIMATION_H
|
|
|
|
#include <QObject>
|
|
#include <QWidget>
|
|
#include <QPropertyAnimation>
|
|
|
|
class WidgetAnimation
|
|
{
|
|
public:
|
|
WidgetAnimation();
|
|
static void widgetShake(QWidget *pWidget, int nRange);
|
|
static void widgetOpacity(QWidget *pWidget, bool isAppear);
|
|
};
|
|
|
|
#endif // WIDGETANIMATION_H
|