summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-30 16:39:24 +0300
committerKonstantinos Sideris <sideris.konstantin@gmail.com>2017-09-30 16:39:24 +0300
commitff1bc797de845f5af4ce83b4e326bd37869461df (patch)
tree6c06fcc36575a601a45352ed3487e9cd69d199d0 /include
parentStop sync timer after logout (diff)
downloadnheko-ff1bc797de845f5af4ce83b4e326bd37869461df.tar.xz
Refactor the welcome page
Diffstat (limited to 'include')
-rw-r--r--include/WelcomePage.h23
1 files changed, 2 insertions, 21 deletions
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 <QHBoxLayout> -#include <QLabel> -#include <QSpacerItem> -#include <QVBoxLayout> -#include <QWidget> - #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_; };