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

#include <user_list_widget.h>

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

Public Member Functions

 WarningDialog (const QString userName, const QString clientID, QWidget *parent=nullptr)
QString getName () const
QString getWarnID () const
QString getReason () const
int getDeleteMessages () const
void addWarningOption (const QString warning)

Private Slots

void okClicked ()

Private Attributes

QLabel * descriptionLabel
QLineEdit * nameWarning
QComboBox * warningOption
QLineEdit * warnClientID
QCheckBox * deleteMessages

Constructor & Destructor Documentation

◆ WarningDialog()

WarningDialog::WarningDialog ( const QString userName,
const QString clientID,
QWidget * parent = nullptr )
Here is the call graph for this function:

Member Function Documentation

◆ addWarningOption()

void WarningDialog::addWarningOption ( const QString warning)

◆ getDeleteMessages()

int WarningDialog::getDeleteMessages ( ) const
nodiscard
Here is the caller graph for this function:

◆ getName()

QString WarningDialog::getName ( ) const
nodiscard

◆ getReason()

QString WarningDialog::getReason ( ) const
nodiscard

◆ getWarnID()

QString WarningDialog::getWarnID ( ) const
nodiscard

◆ okClicked

void WarningDialog::okClicked ( )
privateslot
Here is the caller graph for this function:

Member Data Documentation

◆ deleteMessages

QCheckBox* WarningDialog::deleteMessages
private

◆ descriptionLabel

QLabel* WarningDialog::descriptionLabel
private

◆ nameWarning

QLineEdit* WarningDialog::nameWarning
private

◆ warnClientID

QLineEdit* WarningDialog::warnClientID
private

◆ warningOption

QComboBox* WarningDialog::warningOption
private

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