aboutsummaryrefslogtreecommitdiff
path: root/installer/licensewidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'installer/licensewidget.h')
-rw-r--r--installer/licensewidget.h34
1 files changed, 34 insertions, 0 deletions
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 <QWidget>
+#include <QGraphicsOpacityEffect>
+
+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