Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DlgConnect Class Reference

#include <dlg_connect.h>

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

Public Slots

void downloadThePublicServers ()

Signals

void sigStartForgotPasswordRequest ()
void sigPublicServersDownloaded ()

Public Member Functions

 DlgConnect (QWidget *parent=nullptr)
 ~DlgConnect () override
QString getHost () const
int getPort () const
QString getPlayerName () const
QString getPassword () const

Private Slots

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

Private Attributes

QGridLayout * connectionLayout
QGridLayout * loginLayout
QGridLayout * serverInfoLayout
QGridLayout * grid
QHBoxLayout * newHolderLayout
QHBoxLayout * forgotPasswordLayout
QGroupBox * loginGroupBox
QGroupBox * serverInfoGroupBox
QGroupBox * restrictionsGroupBox
QVBoxLayout * mainLayout
QLabel * hostLabel
QLabel * portLabel
QLabel * playernameLabel
QLabel * passwordLabel
QLabel * saveLabel
QLabel * serverIssuesLabel
QLabel * serverContactLabel
QLabel * serverContactLink
QLabel * forgotPasswordLabel
QLineEdit * hostEdit
QLineEdit * portEdit
QLineEdit * playernameEdit
QLineEdit * passwordEdit
QLineEdit * saveEdit
QCheckBox * savePasswordCheckBox
QCheckBox * autoConnectCheckBox
QComboBox * previousHosts
QRadioButton * newHostButton
QRadioButton * previousHostButton
QPushButton * btnConnect
QPushButton * btnForgotPassword
QPushButton * btnRefreshServers
QPushButton * btnDeleteServer
QMap< QString, std::pair< QString, UserConnection_Information > > savedHostList
HandlePublicServershps
const QString placeHolderText = tr("Downloading...")

Constructor & Destructor Documentation

◆ DlgConnect()

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

◆ ~DlgConnect()

DlgConnect::~DlgConnect ( )
overridedefault

Member Function Documentation

◆ actForgotPassword

void DlgConnect::actForgotPassword ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actOk

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

◆ actRemoveSavedServer

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

◆ downloadThePublicServers

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

◆ getHost()

QString DlgConnect::getHost ( ) const
nodiscard
Here is the caller graph for this function:

◆ getPassword()

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

◆ getPlayerName()

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

◆ getPort()

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

◆ newHostSelected

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

◆ passwordSaved

void DlgConnect::passwordSaved ( QT_STATE_CHANGED_T state)
privateslot
Here is the caller graph for this function:

◆ preRebuildComboBoxList

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

◆ previousHostSelected

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

◆ rebuildComboBoxList

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

◆ sigPublicServersDownloaded

void DlgConnect::sigPublicServersDownloaded ( )
signal
Here is the caller graph for this function:

◆ sigStartForgotPasswordRequest

void DlgConnect::sigStartForgotPasswordRequest ( )
signal
Here is the caller graph for this function:

◆ updateDisplayInfo

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

Member Data Documentation

◆ autoConnectCheckBox

QCheckBox * DlgConnect::autoConnectCheckBox
private

◆ btnConnect

QPushButton* DlgConnect::btnConnect
private

◆ btnDeleteServer

QPushButton * DlgConnect::btnDeleteServer
private

◆ btnForgotPassword

QPushButton * DlgConnect::btnForgotPassword
private

◆ btnRefreshServers

QPushButton * DlgConnect::btnRefreshServers
private

◆ connectionLayout

QGridLayout* DlgConnect::connectionLayout
private

◆ forgotPasswordLabel

QLabel * DlgConnect::forgotPasswordLabel
private

◆ forgotPasswordLayout

QHBoxLayout * DlgConnect::forgotPasswordLayout
private

◆ grid

QGridLayout * DlgConnect::grid
private

◆ hostEdit

QLineEdit* DlgConnect::hostEdit
private

◆ hostLabel

QLabel* DlgConnect::hostLabel
private

◆ hps

HandlePublicServers* DlgConnect::hps
private

◆ loginGroupBox

QGroupBox* DlgConnect::loginGroupBox
private

◆ loginLayout

QGridLayout * DlgConnect::loginLayout
private

◆ mainLayout

QVBoxLayout* DlgConnect::mainLayout
private

◆ newHolderLayout

QHBoxLayout* DlgConnect::newHolderLayout
private

◆ newHostButton

QRadioButton* DlgConnect::newHostButton
private

◆ passwordEdit

QLineEdit * DlgConnect::passwordEdit
private

◆ passwordLabel

QLabel * DlgConnect::passwordLabel
private

◆ placeHolderText

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

◆ playernameEdit

QLineEdit * DlgConnect::playernameEdit
private

◆ playernameLabel

QLabel * DlgConnect::playernameLabel
private

◆ portEdit

QLineEdit * DlgConnect::portEdit
private

◆ portLabel

QLabel * DlgConnect::portLabel
private

◆ previousHostButton

QRadioButton * DlgConnect::previousHostButton
private

◆ previousHosts

QComboBox* DlgConnect::previousHosts
private

◆ restrictionsGroupBox

QGroupBox * DlgConnect::restrictionsGroupBox
private

◆ savedHostList

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

◆ saveEdit

QLineEdit * DlgConnect::saveEdit
private

◆ saveLabel

QLabel * DlgConnect::saveLabel
private

◆ savePasswordCheckBox

QCheckBox* DlgConnect::savePasswordCheckBox
private

◆ serverContactLabel

QLabel * DlgConnect::serverContactLabel
private

◆ serverContactLink

QLabel * DlgConnect::serverContactLink
private

◆ serverInfoGroupBox

QGroupBox * DlgConnect::serverInfoGroupBox
private

◆ serverInfoLayout

QGridLayout * DlgConnect::serverInfoLayout
private

◆ serverIssuesLabel

QLabel * DlgConnect::serverIssuesLabel
private

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