aboutsummaryrefslogtreecommitdiff
path: root/installer/licensewidget.h
blob: 78e13228188d391563df23f8bdd8f2f7d10f6ba0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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