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

#include <tab_admin.h>

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

Signals

void adminLockChanged (bool lock)
Signals inherited from Tab
void userEvent (bool globalEvent=true)
void tabTextChanged (Tab *tab, const QString &newTabText)

Public Member Functions

 TabAdmin (TabSupervisor *_tabSupervisor, AbstractClient *_client, bool _fullAdmin)
void retranslateUi () override
QString getTabText () const override
bool getLocked () const
Public Member Functions inherited from Tab
 Tab (TabSupervisor *_tabSupervisor)
const QList< QMenu * > & getTabMenus () const
TabSupervisorgetTabSupervisor () const
bool getContentsChanged () const
void setContentsChanged (bool _contentsChanged)
virtual bool closeRequest ()
virtual void tabActivated ()

Private Slots

void actUpdateServerMessage ()
void actShutdownServer ()
void actReloadConfig ()
void actGrantReplayAccess ()
void actForceActivateUser ()
void grantReplayAccessProcessResponse (const Response &response)
void activateUserProcessResponse (const Response &response)
void actUnlock ()
void actLock ()

Private Attributes

bool locked
AbstractClientclient
bool fullAdmin
QPushButton * updateServerMessageButton
QPushButton * shutdownServerButton
QPushButton * reloadConfigButton
QPushButton * grantReplayAccessButton
QPushButton * activateUserButton
QGroupBox * adminGroupBox
QGroupBox * moderatorGroupBox
QPushButton * unlockButton
QPushButton * lockButton
QLineEdit * replayIdToGrant
QLineEdit * userToActivate

Additional Inherited Members

Protected Slots inherited from Tab
void showCardInfoPopup (const QPoint &pos, const CardRef &cardRef)
void deleteCardInfoPopup (const QString &cardName)
Protected Member Functions inherited from Tab
void addTabMenu (QMenu *menu)
Protected Attributes inherited from Tab
TabSupervisortabSupervisor

Constructor & Destructor Documentation

◆ TabAdmin()

TabAdmin::TabAdmin ( TabSupervisor * _tabSupervisor,
AbstractClient * _client,
bool _fullAdmin )
Here is the call graph for this function:

Member Function Documentation

◆ actForceActivateUser

void TabAdmin::actForceActivateUser ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actGrantReplayAccess

void TabAdmin::actGrantReplayAccess ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ activateUserProcessResponse

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

◆ actLock

void TabAdmin::actLock ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actReloadConfig

void TabAdmin::actReloadConfig ( )
privateslot
Here is the caller graph for this function:

◆ actShutdownServer

void TabAdmin::actShutdownServer ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actUnlock

void TabAdmin::actUnlock ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ actUpdateServerMessage

void TabAdmin::actUpdateServerMessage ( )
privateslot
Here is the caller graph for this function:

◆ adminLockChanged

void TabAdmin::adminLockChanged ( bool lock)
signal
Here is the caller graph for this function:

◆ getLocked()

bool TabAdmin::getLocked ( ) const
inlinenodiscard

◆ getTabText()

QString TabAdmin::getTabText ( ) const
inlinenodiscardoverridevirtual

Implements Tab.

◆ grantReplayAccessProcessResponse

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

◆ retranslateUi()

void TabAdmin::retranslateUi ( )
overridevirtual

Implements Tab.

Here is the caller graph for this function:

Member Data Documentation

◆ activateUserButton

QPushButton * TabAdmin::activateUserButton
private

◆ adminGroupBox

QGroupBox* TabAdmin::adminGroupBox
private

◆ client

AbstractClient* TabAdmin::client
private

◆ fullAdmin

bool TabAdmin::fullAdmin
private

◆ grantReplayAccessButton

QPushButton * TabAdmin::grantReplayAccessButton
private

◆ lockButton

QPushButton * TabAdmin::lockButton
private

◆ locked

bool TabAdmin::locked
private

◆ moderatorGroupBox

QGroupBox * TabAdmin::moderatorGroupBox
private

◆ reloadConfigButton

QPushButton * TabAdmin::reloadConfigButton
private

◆ replayIdToGrant

QLineEdit* TabAdmin::replayIdToGrant
private

◆ shutdownServerButton

QPushButton * TabAdmin::shutdownServerButton
private

◆ unlockButton

QPushButton* TabAdmin::unlockButton
private

◆ updateServerMessageButton

QPushButton* TabAdmin::updateServerMessageButton
private

◆ userToActivate

QLineEdit * TabAdmin::userToActivate
private

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