From 88837708068dbbaa6c965a8026ddf80487b2d7d8 Mon Sep 17 00:00:00 2001 From: Victor Tran Date: Sat, 13 Oct 2018 19:11:46 +1100 Subject: Add licenses --- installer/licensewidget.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 installer/licensewidget.h (limited to 'installer/licensewidget.h') diff --git a/installer/licensewidget.h b/installer/licensewidget.h new file mode 100644 index 0000000..78e1322 --- /dev/null +++ b/installer/licensewidget.h @@ -0,0 +1,34 @@ +#ifndef LICENSEWIDGET_H +#define LICENSEWIDGET_H + +#include +#include + +namespace Ui { + class LicenseWidget; +} + +class LicenseWidget : public QWidget +{ + Q_OBJECT + + public: + explicit LicenseWidget(QWidget *parent = nullptr); + ~LicenseWidget(); + + public slots: + void show(QString title, QString text); + + private slots: + void on_backButton_clicked(); + + void on_license_anchorClicked(const QUrl &arg1); + + private: + Ui::LicenseWidget *ui; + + QWidget* coverWidget = nullptr; + QGraphicsOpacityEffect* opacityEffect; +}; + +#endif // LICENSEWIDGET_H -- cgit v1.2.3