新建文件夹AXVM

This commit is contained in:
2022-08-03 22:59:13 +08:00
parent 8678f122e1
commit 00176f9919
195 changed files with 3275 additions and 98 deletions

View File

@@ -0,0 +1,26 @@
/*
* 重写 QThread 以实现多线程下载功能
*/
#ifndef DOWNLOADTHREAD_H
#define DOWNLOADTHREAD_H
#include <QObject>
#include <QThread>
#include <QProgressDialog>
class DownloadThread : public QThread // 继承 QThread
{
public:
DownloadThread(QProgressDialog *dialog, QString url, QString save);
QProgressDialog *dialog;
QString fileUrl;
QString savePath;
protected:
void run(); // 核心
signals:
void ChangeValue();
};
#endif // DOWNLOADTHREAD_H