Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
This repository doesn't specify license. Please pay attention to the specific project description and its upstream code dependency when using it.
Clone or Download
mainwindow-dtk.h 841 Bytes
Copy Edit Raw Blame History
柚子 authored 2021-11-03 14:01 . 更新登录弹窗
#ifndef MAINWINDOWDTK_H
#define MAINWINDOWDTK_H
#include <QMainWindow>
#include <DBlurEffectWidget>
#include <DTitlebar>
#include <DSearchEdit>
#include <QGraphicsDropShadowEffect>
#include <QThread>
#include "src/backend/bili-api/appapi.h"
#include "src/widgets/avantartooltip.h"
#include "src/dialogs/logindialog.h"
#include <QPushButton>
DWIDGET_USE_NAMESPACE
namespace Ui {
class MainWindow;
}
class MainWindow : public DBlurEffectWidget
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
private slots:
private:
bool loginstatus;
AvantarToolTip *avantartooltip;
void setAvantar(QPixmap pi);
QPushButton *avantarButton;
void initPage(int now);
void updateUi(int now);
DSearchEdit *searchEdit=new DSearchEdit;
Ui::MainWindow *ui;
};
#endif // MAINWINDOWDTK_H
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化