aboutsummaryrefslogtreecommitdiff
path: root/installer/mainwindow.h
diff options
context:
space:
mode:
authorVictor Tran <vicr12345@gmail.com>2018-10-13 19:11:46 +1100
committerVictor Tran <vicr12345@gmail.com>2018-10-13 19:11:46 +1100
commit88837708068dbbaa6c965a8026ddf80487b2d7d8 (patch)
treea34bb6d45aedc2d8ac8d8c98e4abb57d89b88337 /installer/mainwindow.h
parenta6bf3d213523f73bf889ccaaf787a107c3d52774 (diff)
downloadtheInstaller-88837708068dbbaa6c965a8026ddf80487b2d7d8.tar.gz
theInstaller-88837708068dbbaa6c965a8026ddf80487b2d7d8.tar.bz2
theInstaller-88837708068dbbaa6c965a8026ddf80487b2d7d8.zip
Add licenses
Diffstat (limited to 'installer/mainwindow.h')
-rw-r--r--installer/mainwindow.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/installer/mainwindow.h b/installer/mainwindow.h
index d5f8bb2..fbbeb8b 100644
--- a/installer/mainwindow.h
+++ b/installer/mainwindow.h
@@ -20,6 +20,7 @@
#include <QWinTaskbarProgress>
#include <QWinTaskbarButton>
#include <QShowEvent>
+#include "licensewidget.h"
#include <windows.h>
#include <shellapi.h>
@@ -64,6 +65,8 @@ class MainWindow : public QMainWindow
void on_browseInstallPathButton_clicked();
+ void on_licenseLabel_linkActivated(const QString &link);
+
private:
Ui::MainWindow *ui;
@@ -76,6 +79,9 @@ class MainWindow : public QMainWindow
QWinTaskbarButton* taskbarButton;
QLocalSocket* sock = nullptr;
bool installDone = false;
+ LicenseWidget* licenseWidget;
+
+ QMap<QString, QString> licenses;
};
#endif // MAINWINDOW_H