⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 downloadprogress.h

📁 QT写的自动更新程序 自认为不错 请大家参考
💻 H
字号:
#ifndef DOWNLOADPROGRESS_H
#define DOWNLOADPROGRESS_H

#include <QDialog>
#include "ui_downloadprogress.h"
#include "WindowPos.h"

class QFtp;
class QFile;
class DownloadProgress : public QDialog, public wWindowPos
{
	Q_OBJECT

public:
	DownloadProgress(QWidget *parent = NULL);
	~DownloadProgress();
	enum {WidgetWidth = 500, WidgetHeigth = 40};

public:
	bool	sucess;

	//operators
public:
	//处理
	void processClient2Server();
	//分析xml文档,确定需要下载的补丁包
	void processXml();

	//virtuals
protected:

	//slots
protected slots:
	void ftpCommandFinished(int id, bool error);


	//attributes
protected:
	QFtp* opeFtp;
	QFile* opeFile;

private:
	Ui::downloadprogressclass ui;
};

#endif // DOWNLOADPROGRESS_H

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -