抽象出控件动画类

This commit is contained in:
2022-12-11 00:17:09 +08:00
parent 1c24079406
commit e171904a34
5 changed files with 68 additions and 33 deletions

View File

@@ -13,6 +13,7 @@
#include <QDesktopServices>
#include "widgets/downloadlistwidget.h"
#include "utils/widgetanimation.h"
DWIDGET_USE_NAMESPACE
@@ -31,7 +32,6 @@ public:
void openUrl(QUrl);
private:
void widgetShake(QWidget *pWidget, int nRange);
void initConfig();
void switchPage(int now);
void updateUi(int now);