From ff1bc797de845f5af4ce83b4e326bd37869461df Mon Sep 17 00:00:00 2001 From: Konstantinos Sideris Date: Sat, 30 Sep 2017 16:39:24 +0300 Subject: Refactor the welcome page --- include/WelcomePage.h | 23 ++--------------------- 1 file changed, 2 insertions(+), 21 deletions(-) (limited to 'include') diff --git a/include/WelcomePage.h b/include/WelcomePage.h index bef463c6..7cd83fd1 100644 --- a/include/WelcomePage.h +++ b/include/WelcomePage.h @@ -17,12 +17,6 @@ #pragma once -#include -#include -#include -#include -#include - #include "RaisedButton.h" class WelcomePage : public QWidget @@ -31,7 +25,6 @@ class WelcomePage : public QWidget public: explicit WelcomePage(QWidget *parent = 0); - ~WelcomePage(); signals: // Notify that the user wants to login in. @@ -40,19 +33,7 @@ signals: // Notify that the user wants to register. void userRegister(); -private slots: - void onLoginButtonClicked(); - void onRegisterButtonClicked(); - private: - QVBoxLayout *top_layout_; - QHBoxLayout *button_layout_; - - QLabel *intro_banner_; - QLabel *intro_text_; - - QSpacerItem *button_spacer_; - - RaisedButton *register_button_; - RaisedButton *login_button_; + RaisedButton *registerBtn_; + RaisedButton *loginBtn_; }; -- cgit 1.5.1