Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DlgRegister Class Reference

#include <dlg_register.h>

Inheritance diagram for DlgRegister:
[legend]
Collaboration diagram for DlgRegister:
[legend]

Public Slots

void downloadThePublicServers ()

Public Member Functions

 DlgRegister (QWidget *parent=nullptr)
 ~DlgRegister () override
QString getHost () const
int getPort () const
QString getPlayerName () const
QString getPassword () const
QString getEmail () const
QString getCountry () const
QString getRealName () const

Private Slots

void actOk ()
void previousHostSelected (bool state)
void newHostSelected (bool state)
void updateDisplayInfo (const QString &saveName)
void preRebuildComboBoxList ()
void rebuildComboBoxList (int failure=-1)
void actRemoveSavedServer ()

Private Attributes

QRadioButton * newHostButton
QRadioButton * previousHostButton
QComboBox * previousHosts
QPushButton * btnDeleteServer
QPushButton * btnRefreshServers
HandlePublicServershps
QLabel * infoLabel
QLabel * hostLabel
QLabel * portLabel
QLabel * playernameLabel
QLabel * passwordLabel
QLabel * passwordConfirmationLabel
QLabel * emailLabel
QLabel * emailConfirmationLabel
QLabel * countryLabel
QLabel * realnameLabel
QLineEdit * hostEdit
QLineEdit * portEdit
QLineEdit * playernameEdit
QLineEdit * passwordEdit
QLineEdit * passwordConfirmationEdit
QLineEdit * emailEdit
QLineEdit * emailConfirmationEdit
QLineEdit * realnameEdit
QComboBox * countryEdit
QMap< QString, std::pair< QString, UserConnection_Information > > savedHostList
const QString placeHolderText = tr("Downloading...")

Constructor & Destructor Documentation

◆ DlgRegister()

DlgRegister::DlgRegister ( QWidget * parent = nullptr)
explicit
Here is the call graph for this function:

◆ ~DlgRegister()

DlgRegister::~DlgRegister ( )
overridedefault

Member Function Documentation

◆ actOk

void DlgRegister::actOk ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actRemoveSavedServer

void DlgRegister::actRemoveSavedServer ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ downloadThePublicServers

void DlgRegister::downloadThePublicServers ( )
slot
Here is the caller graph for this function:

◆ getCountry()

QString DlgRegister::getCountry ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ getEmail()

QString DlgRegister::getEmail ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ getHost()

QString DlgRegister::getHost ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ getPassword()

QString DlgRegister::getPassword ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ getPlayerName()

QString DlgRegister::getPlayerName ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ getPort()

int DlgRegister::getPort ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ getRealName()

QString DlgRegister::getRealName ( ) const
inlinenodiscard
Here is the caller graph for this function:

◆ newHostSelected

void DlgRegister::newHostSelected ( bool state)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ preRebuildComboBoxList

void DlgRegister::preRebuildComboBoxList ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ previousHostSelected

void DlgRegister::previousHostSelected ( bool state)
privateslot
Here is the caller graph for this function:

◆ rebuildComboBoxList

void DlgRegister::rebuildComboBoxList ( int failure = -1)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ updateDisplayInfo

void DlgRegister::updateDisplayInfo ( const QString & saveName)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ btnDeleteServer

QPushButton* DlgRegister::btnDeleteServer
private

◆ btnRefreshServers

QPushButton* DlgRegister::btnRefreshServers
private

◆ countryEdit

QComboBox* DlgRegister::countryEdit
private

◆ countryLabel

QLabel * DlgRegister::countryLabel
private

◆ emailConfirmationEdit

QLineEdit * DlgRegister::emailConfirmationEdit
private

◆ emailConfirmationLabel

QLabel * DlgRegister::emailConfirmationLabel
private

◆ emailEdit

QLineEdit * DlgRegister::emailEdit
private

◆ emailLabel

QLabel * DlgRegister::emailLabel
private

◆ hostEdit

QLineEdit* DlgRegister::hostEdit
private

◆ hostLabel

QLabel * DlgRegister::hostLabel
private

◆ hps

HandlePublicServers* DlgRegister::hps
private

◆ infoLabel

QLabel* DlgRegister::infoLabel
private

◆ newHostButton

QRadioButton* DlgRegister::newHostButton
private

◆ passwordConfirmationEdit

QLineEdit * DlgRegister::passwordConfirmationEdit
private

◆ passwordConfirmationLabel

QLabel * DlgRegister::passwordConfirmationLabel
private

◆ passwordEdit

QLineEdit * DlgRegister::passwordEdit
private

◆ passwordLabel

QLabel * DlgRegister::passwordLabel
private

◆ placeHolderText

const QString DlgRegister::placeHolderText = tr("Downloading...")
private

◆ playernameEdit

QLineEdit * DlgRegister::playernameEdit
private

◆ playernameLabel

QLabel * DlgRegister::playernameLabel
private

◆ portEdit

QLineEdit * DlgRegister::portEdit
private

◆ portLabel

QLabel * DlgRegister::portLabel
private

◆ previousHostButton

QRadioButton* DlgRegister::previousHostButton
private

◆ previousHosts

QComboBox* DlgRegister::previousHosts
private

◆ realnameEdit

QLineEdit * DlgRegister::realnameEdit
private

◆ realnameLabel

QLabel * DlgRegister::realnameLabel
private

◆ savedHostList

QMap<QString, std::pair<QString, UserConnection_Information> > DlgRegister::savedHostList
private

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