1.8.1
This commit is contained in:
@@ -11,16 +11,23 @@
|
||||
class DownloadThread : public QThread // 继承 QThread
|
||||
{
|
||||
public:
|
||||
DownloadThread(QProgressDialog *dialog, QString url, QString save);
|
||||
DownloadThread(QProgressDialog *dialog, QString url, QString save, QString mouse, bool NotDownload);
|
||||
void SettingVirtualMachine(QString savePath);
|
||||
QProgressDialog *dialog;
|
||||
QString fileUrl;
|
||||
QString savePath;
|
||||
QString vmName;
|
||||
QString setMouse;
|
||||
bool notDownload;
|
||||
QString notDownloadPath;
|
||||
|
||||
protected:
|
||||
void run(); // 核心
|
||||
|
||||
signals:
|
||||
void ChangeValue();
|
||||
// 防止非主线程刷新控件导致程序退出
|
||||
void MessageBoxInfo(QString info);
|
||||
void MessageBoxError(QString info);
|
||||
void MessageBoxOpenVM(QString vmName);
|
||||
};
|
||||
|
||||
#endif // DOWNLOADTHREAD_H
|
||||
|
||||
Reference in New Issue
Block a user