2017-05-16 21:46:45 +03:00
|
|
|
#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
|
|
|
|
{
|
2017-09-10 12:59:21 +03:00
|
|
|
Q_OBJECT
|
2017-04-06 02:06:42 +03:00
|
|
|
|
|
|
|
public:
|
2017-09-10 12:59:21 +03:00
|
|
|
explicit WelcomePage(QWidget *parent = 0);
|
2017-04-06 02:06:42 +03:00
|
|
|
|
2017-11-22 20:52:38 +03:00
|
|
|
protected:
|
2018-10-06 17:41:47 +03:00
|
|
|
void paintEvent(QPaintEvent *) override;
|
2017-11-22 20:52:38 +03:00
|
|
|
|
2017-04-06 02:06:42 +03:00
|
|
|
signals:
|
2017-09-10 12:59:21 +03:00
|
|
|
// Notify that the user wants to login in.
|
|
|
|
void userLogin();
|
2017-04-06 02:06:42 +03:00
|
|
|
|
2017-09-10 12:59:21 +03:00
|
|
|
// Notify that the user wants to register.
|
|
|
|
void userRegister();
|
2017-04-06 02:06:42 +03:00
|
|
|
};
|