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

#include <user_list_widget.h>

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

Public Member Functions

 BanDialog (const ServerInfo_User &info, QWidget *parent=nullptr)
QString getBanName () const
QString getBanIP () const
QString getBanId () const
int getMinutes () const
QString getReason () const
QString getVisibleReason () const
int getDeleteMessages () const

Private Slots

void okClicked ()
void enableTemporaryEdits (bool enabled)

Private Attributes

QLabel * daysLabel
QLabel * hoursLabel
QLabel * minutesLabel
QCheckBox * nameBanCheckBox
QCheckBox * ipBanCheckBox
QCheckBox * idBanCheckBox
QCheckBox * deleteMessages
QLineEdit * nameBanEdit
QLineEdit * ipBanEdit
QLineEdit * idBanEdit
QSpinBox * daysEdit
QSpinBox * hoursEdit
QSpinBox * minutesEdit
QRadioButton * permanentRadio
QRadioButton * temporaryRadio
QPlainTextEdit * reasonEdit
QPlainTextEdit * visibleReasonEdit

Constructor & Destructor Documentation

◆ BanDialog()

BanDialog::BanDialog ( const ServerInfo_User & info,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ enableTemporaryEdits

void BanDialog::enableTemporaryEdits ( bool enabled)
privateslot
Here is the caller graph for this function:

◆ getBanId()

QString BanDialog::getBanId ( ) const
nodiscard

◆ getBanIP()

QString BanDialog::getBanIP ( ) const
nodiscard

◆ getBanName()

QString BanDialog::getBanName ( ) const
nodiscard

◆ getDeleteMessages()

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

◆ getMinutes()

int BanDialog::getMinutes ( ) const
nodiscard

◆ getReason()

QString BanDialog::getReason ( ) const
nodiscard

◆ getVisibleReason()

QString BanDialog::getVisibleReason ( ) const
nodiscard

◆ okClicked

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

Member Data Documentation

◆ daysEdit

QSpinBox* BanDialog::daysEdit
private

◆ daysLabel

QLabel* BanDialog::daysLabel
private

◆ deleteMessages

QCheckBox * BanDialog::deleteMessages
private

◆ hoursEdit

QSpinBox * BanDialog::hoursEdit
private

◆ hoursLabel

QLabel * BanDialog::hoursLabel
private

◆ idBanCheckBox

QCheckBox * BanDialog::idBanCheckBox
private

◆ idBanEdit

QLineEdit * BanDialog::idBanEdit
private

◆ ipBanCheckBox

QCheckBox * BanDialog::ipBanCheckBox
private

◆ ipBanEdit

QLineEdit * BanDialog::ipBanEdit
private

◆ minutesEdit

QSpinBox * BanDialog::minutesEdit
private

◆ minutesLabel

QLabel * BanDialog::minutesLabel
private

◆ nameBanCheckBox

QCheckBox* BanDialog::nameBanCheckBox
private

◆ nameBanEdit

QLineEdit* BanDialog::nameBanEdit
private

◆ permanentRadio

QRadioButton* BanDialog::permanentRadio
private

◆ reasonEdit

QPlainTextEdit* BanDialog::reasonEdit
private

◆ temporaryRadio

QRadioButton * BanDialog::temporaryRadio
private

◆ visibleReasonEdit

QPlainTextEdit * BanDialog::visibleReasonEdit
private

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