matrixion/src/WelcomePage.h

27 lines
509 B
C
Raw Normal View History

2021-03-05 02:35:15 +03:00
// SPDX-FileCopyrightText: 2021 Nheko Contributors
// SPDX-FileCopyrightText: 2022 Nheko Contributors
2021-03-05 02:35:15 +03:00
//
// SPDX-License-Identifier: GPL-3.0-or-later
#pragma once
2017-04-06 02:06:42 +03:00
2017-10-28 15:46:39 +03:00
#include <QWidget>
2017-04-06 02:06:42 +03:00
class WelcomePage : public QWidget
{
2021-09-18 01:22:33 +03:00
Q_OBJECT
2017-04-06 02:06:42 +03:00
public:
2021-09-18 01:22:33 +03:00
explicit WelcomePage(QWidget *parent = nullptr);
2017-04-06 02:06:42 +03:00
protected:
2021-09-18 01:22:33 +03:00
void paintEvent(QPaintEvent *) override;
2017-04-06 02:06:42 +03:00
signals:
2021-09-18 01:22:33 +03:00
// Notify that the user wants to login in.
void userLogin();
2017-04-06 02:06:42 +03:00
2021-09-18 01:22:33 +03:00
// Notify that the user wants to register.
void userRegister();
2017-04-06 02:06:42 +03:00
};