2 Star 11 Fork 4

呐喊 / autoUpdater

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
mainwindow.h 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
呐喊 提交于 2022-07-27 21:41 . V1.0.1 Release
#ifndef MAINWINDOW_H
#define MAINWINDOW_H
#include <QMainWindow>
#include "download.h"
#include "checkversion.h"
#include "handleziptype.h"
#include "globalval.h"
#include <QMessageBox>
#include <QCloseEvent>
#include <QJsonDocument>
#include <QJsonParseError>
#include <QJsonArray>
#include <QJsonObject>
#include <QJsonValue>
#include <QProcess>
#include <QSettings>
QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE
class Download;
class CheckVersion;
class GlobalVal;
class HandleZipType;
class QProcess;
class QSettings;
class MainWindow : public QMainWindow
{
Q_OBJECT
public:
explicit MainWindow(QWidget *parent = nullptr);
~MainWindow();
void appendProgressMsg(QString msg);
void closeEvent(QCloseEvent *event) override;
private slots:
void on_chkUpgradeBtn_clicked();
void on_nowUpgradeBtn_clicked();
void receiveMsgDate(QString msg);
void receiveMsgDateln(QString msg);
void upgradeBtnReset(int status);
private:
Ui::MainWindow *ui;
Download *download;
CheckVersion *cv;
HandleZipType *handleZip;
void syncVersion();
void startMainApp();
};
#endif // MAINWINDOW_H
C++
1
https://gitee.com/hlinfo/autoUpdater.git
git@gitee.com:hlinfo/autoUpdater.git
hlinfo
autoUpdater
autoUpdater
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891