Educational Game Platform
Public Slots | Public Member Functions | Public Attributes | List of all members
registerWidget Class Reference
Inheritance diagram for registerWidget:

Public Slots

void selectPicture ()
 registerWidget::selectPicture More...
 
void cancelRegistration ()
 registerWidget::cancelRegistration More...
 
void confirmRegistration ()
 registerWidget::confirmRegistration More...
 
void checkConditions ()
 registerWidget::checkConditions More...
 
bool passCheck ()
 registerWidget::passCheck More...
 

Public Member Functions

 registerWidget (QWidget *parent=0)
 

Public Attributes

bool isSelected
 bool associated to profile picture selected
 
QLabel * welcome
 text label
 
QLabel * fname
 text label
 
QLineEdit * fname_edit
 personal info input (fname)
 
QLabel * lname
 text label
 
QLineEdit * lname_edit
 personal info input (lname)
 
QLabel * username
 text label
 
QLineEdit * username_edit
 personal info input (username)
 
QLabel * password
 text label
 
QLineEdit * password_edit
 personal info input (password)
 
QLabel * passwordconf
 text label
 
QLineEdit * passwordconf_edit
 personal info input (password confirmation)
 
QLabel * date_text
 text label
 
QDateEdit * date_picker
 personal info input (date picker)
 
QLabel * error_message
 text label
 
QLabel * gender_text
 text label
 
QVBoxLayout * gender_radio
 Layout element.
 
QGroupBox * gender_container
 Layout element.
 
QRadioButton * male_button
 Radio button.
 
QRadioButton * female_button
 Radio button.
 
QLabel * pppicture_text
 text label
 
QPushButton * add_pppicture
 Button to open prompt to add picture.
 
QLabel * pppicture
 Picture display.
 
QPushButton * cancel
 Cancel button.
 
QPushButton * confirm
 Confirm button.
 
QString * filename
 Selected profile picture path.
 
QFile * tempfile
 Loaded profile picture.
 
QGridLayout * register_layout
 Main layout.
 

Member Function Documentation

◆ cancelRegistration

void registerWidget::cancelRegistration ( )
slot

registerWidget::cancelRegistration

Cancel user registration and go back to login screen

◆ checkConditions

void registerWidget::checkConditions ( )
slot

registerWidget::checkConditions

Check if all entries are filled and respect the criterias

◆ confirmRegistration

void registerWidget::confirmRegistration ( )
slot

registerWidget::confirmRegistration

Confirm user registration and go back to login menu

◆ passCheck

bool registerWidget::passCheck ( )
slot

registerWidget::passCheck

Returns
Returns whether the password follows the criterias and matches the confirmation password

◆ selectPicture

void registerWidget::selectPicture ( )
slot

registerWidget::selectPicture

Open prompt to let the user select a profile picture


The documentation for this class was generated from the following files: