summary refs log tree commit diff
path: root/src/WelcomePage.h
blob: d2dcc0c99b7430a092c3f15956bf597a1b649bc9 (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
// SPDX-FileCopyrightText: 2021 Nheko Contributors
//
// SPDX-License-Identifier: GPL-3.0-or-later

#pragma once

#include <QWidget>

class WelcomePage : public QWidget
{
        Q_OBJECT

public:
        explicit WelcomePage(QWidget *parent = nullptr);

protected:
        void paintEvent(QPaintEvent *) override;

signals:
        // Notify that the user wants to login in.
        void userLogin();

        // Notify that the user wants to register.
        void userRegister();
};