#pragma once #include class WelcomePage : public QWidget { Q_OBJECT public: explicit WelcomePage(QWidget *parent = 0); 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(); };