2017-05-16 20:46:45 +02:00
|
|
|
#pragma once
|
2017-04-06 01:06:42 +02:00
|
|
|
|
2017-10-28 14:46:39 +02:00
|
|
|
#include <QWidget>
|
|
|
|
|
2017-04-06 01:06:42 +02:00
|
|
|
class WelcomePage : public QWidget
|
|
|
|
{
|
2017-09-10 11:59:21 +02:00
|
|
|
Q_OBJECT
|
2017-04-06 01:06:42 +02:00
|
|
|
|
|
|
|
public:
|
2020-02-04 04:58:43 +01:00
|
|
|
explicit WelcomePage(QWidget *parent = nullptr);
|
2017-04-06 01:06:42 +02:00
|
|
|
|
2017-11-22 18:52:38 +01:00
|
|
|
protected:
|
2018-10-06 16:41:47 +02:00
|
|
|
void paintEvent(QPaintEvent *) override;
|
2017-11-22 18:52:38 +01:00
|
|
|
|
2017-04-06 01:06:42 +02:00
|
|
|
signals:
|
2017-09-10 11:59:21 +02:00
|
|
|
// Notify that the user wants to login in.
|
|
|
|
void userLogin();
|
2017-04-06 01:06:42 +02:00
|
|
|
|
2017-09-10 11:59:21 +02:00
|
|
|
// Notify that the user wants to register.
|
|
|
|
void userRegister();
|
2017-04-06 01:06:42 +02:00
|
|
|
};
|