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

#include <dlg_create_game.h>

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

Public Member Functions

 DlgCreateGame (TabRoom *_room, const QMap< int, QString > &_gameTypes, QWidget *parent=nullptr)
 DlgCreateGame (const ServerInfo_Game &game, const QMap< int, QString > &_gameTypes, QWidget *parent=nullptr)

Private Slots

void actOK ()
void actReset ()
void checkResponse (const Response &response)
void spectatorsAllowedChanged (QT_STATE_CHANGED_T state)

Private Member Functions

void sharedCtor ()

Private Attributes

TabRoomroom
QMap< int, QString > gameTypes
QMap< int, QRadioButton * > gameTypeCheckBoxes
QGroupBox * generalGroupBox
QGroupBox * spectatorsGroupBox
QGroupBox * gameSetupOptionsGroupBox
QLabel * descriptionLabel
QLabel * passwordLabel
QLabel * maxPlayersLabel
QLabel * startingLifeTotalLabel
QLabel * shareDecklistsOnLoadLabel
QLineEdit * descriptionEdit
QLineEdit * passwordEdit
QSpinBox * maxPlayersEdit
QSpinBox * startingLifeTotalEdit
QCheckBox * onlyBuddiesCheckBox
QCheckBox * onlyRegisteredCheckBox
QCheckBox * spectatorsAllowedCheckBox
QCheckBox * spectatorsNeedPasswordCheckBox
QCheckBox * spectatorsCanTalkCheckBox
QCheckBox * spectatorsSeeEverythingCheckBox
QCheckBox * createGameAsJudgeCheckBox
QCheckBox * createGameAsSpectatorCheckBox
QCheckBox * shareDecklistsOnLoadCheckBox
QDialogButtonBox * buttonBox
QPushButton * clearButton
QCheckBox * rememberGameSettings

Constructor & Destructor Documentation

◆ DlgCreateGame() [1/2]

DlgCreateGame::DlgCreateGame ( TabRoom * _room,
const QMap< int, QString > & _gameTypes,
QWidget * parent = nullptr )
Here is the call graph for this function:

◆ DlgCreateGame() [2/2]

DlgCreateGame::DlgCreateGame ( const ServerInfo_Game & game,
const QMap< int, QString > & _gameTypes,
QWidget * parent = nullptr )
Here is the call graph for this function:

Member Function Documentation

◆ actOK

void DlgCreateGame::actOK ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actReset

void DlgCreateGame::actReset ( )
privateslot
Here is the caller graph for this function:

◆ checkResponse

void DlgCreateGame::checkResponse ( const Response & response)
privateslot
Here is the caller graph for this function:

◆ sharedCtor()

void DlgCreateGame::sharedCtor ( )
private

< Arbitrary but we can raise this when people start complaining.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ spectatorsAllowedChanged

void DlgCreateGame::spectatorsAllowedChanged ( QT_STATE_CHANGED_T state)
privateslot
Here is the caller graph for this function:

Member Data Documentation

◆ buttonBox

QDialogButtonBox* DlgCreateGame::buttonBox
private

◆ clearButton

QPushButton* DlgCreateGame::clearButton
private

◆ createGameAsJudgeCheckBox

QCheckBox * DlgCreateGame::createGameAsJudgeCheckBox
private

◆ createGameAsSpectatorCheckBox

QCheckBox * DlgCreateGame::createGameAsSpectatorCheckBox
private

◆ descriptionEdit

QLineEdit* DlgCreateGame::descriptionEdit
private

◆ descriptionLabel

QLabel* DlgCreateGame::descriptionLabel
private

◆ gameSetupOptionsGroupBox

QGroupBox * DlgCreateGame::gameSetupOptionsGroupBox
private

◆ gameTypeCheckBoxes

QMap<int, QRadioButton *> DlgCreateGame::gameTypeCheckBoxes
private

◆ gameTypes

QMap<int, QString> DlgCreateGame::gameTypes
private

◆ generalGroupBox

QGroupBox* DlgCreateGame::generalGroupBox
private

◆ maxPlayersEdit

QSpinBox* DlgCreateGame::maxPlayersEdit
private

◆ maxPlayersLabel

QLabel * DlgCreateGame::maxPlayersLabel
private

◆ onlyBuddiesCheckBox

QCheckBox* DlgCreateGame::onlyBuddiesCheckBox
private

◆ onlyRegisteredCheckBox

QCheckBox * DlgCreateGame::onlyRegisteredCheckBox
private

◆ passwordEdit

QLineEdit * DlgCreateGame::passwordEdit
private

◆ passwordLabel

QLabel * DlgCreateGame::passwordLabel
private

◆ rememberGameSettings

QCheckBox* DlgCreateGame::rememberGameSettings
private

◆ room

TabRoom* DlgCreateGame::room
private

◆ shareDecklistsOnLoadCheckBox

QCheckBox* DlgCreateGame::shareDecklistsOnLoadCheckBox
private

◆ shareDecklistsOnLoadLabel

QLabel * DlgCreateGame::shareDecklistsOnLoadLabel
private

◆ spectatorsAllowedCheckBox

QCheckBox* DlgCreateGame::spectatorsAllowedCheckBox
private

◆ spectatorsCanTalkCheckBox

QCheckBox * DlgCreateGame::spectatorsCanTalkCheckBox
private

◆ spectatorsGroupBox

QGroupBox * DlgCreateGame::spectatorsGroupBox
private

◆ spectatorsNeedPasswordCheckBox

QCheckBox * DlgCreateGame::spectatorsNeedPasswordCheckBox
private

◆ spectatorsSeeEverythingCheckBox

QCheckBox * DlgCreateGame::spectatorsSeeEverythingCheckBox
private

◆ startingLifeTotalEdit

QSpinBox * DlgCreateGame::startingLifeTotalEdit
private

◆ startingLifeTotalLabel

QLabel * DlgCreateGame::startingLifeTotalLabel
private

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