diff options
| author | Victor Tran <vicr12345@gmail.com> | 2018-07-13 00:39:24 +1000 |
|---|---|---|
| committer | Victor Tran <vicr12345@gmail.com> | 2018-07-13 00:39:24 +1000 |
| commit | abc4021919f406ee25e101122144879f8770d51d (patch) | |
| tree | 9f835b216b8481e84fb988e495da42c1aa1aa20a /installer/mainwindow.h | |
| parent | 2adcd4f24eca2fa529c42fc1165319bcc4ea179e (diff) | |
| download | theInstaller-abc4021919f406ee25e101122144879f8770d51d.tar.gz theInstaller-abc4021919f406ee25e101122144879f8770d51d.tar.bz2 theInstaller-abc4021919f406ee25e101122144879f8770d51d.zip | |
Uninstall support
Diffstat (limited to 'installer/mainwindow.h')
| -rw-r--r-- | installer/mainwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/installer/mainwindow.h b/installer/mainwindow.h index dcfd34f..4eb89d2 100644 --- a/installer/mainwindow.h +++ b/installer/mainwindow.h @@ -17,6 +17,9 @@ #include <QLocalServer> #include <QLocalSocket> #include <QMessageBox> +#include <QWinTaskbarProgress> +#include <QWinTaskbarButton> +#include <QShowEvent> #include <windows.h> #include <shellapi.h> @@ -54,14 +57,19 @@ private slots: void on_retryInstallButton_clicked(); + void on_finishButton_clicked(); + private: Ui::MainWindow *ui; void paintEvent(QPaintEvent* event); + void showEvent(QShowEvent* event); QNetworkAccessManager mgr; QPixmap backgroundImage; QJsonObject metadata; + QWinTaskbarButton* taskbarButton; + bool installDone = false; }; #endif // MAINWINDOW_H |
