![]() |
Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
|
#include <tab_moderation.h>
Public Member Functions | |
| TabModeration (TabSupervisor *_tabSupervisor, AbstractClient *_client, const QString &initialUser={}) | |
| void | retranslateUi () override |
| QString | getTabText () const override |
| void | investigate (const QString &userName) |
| Public Member Functions inherited from Tab | |
| Tab (TabSupervisor *_tabSupervisor) | |
| const QList< QMenu * > & | getTabMenus () const |
| TabSupervisor * | getTabSupervisor () const |
| bool | getContentsChanged () const |
| void | setContentsChanged (bool _contentsChanged) |
| virtual bool | closeRequest () |
| virtual void | tabActivated () |
Private Slots | |
| void | investigateUser () |
| void | userInfoResponse (const Response &response) |
| void | sessionsResponse (const Response &response) |
| void | altsResponse (const Response &response) |
| void | moderatorLoginsResponse (const Response &response) |
| void | resetPassword () |
| void | resetPasswordResponse (const Response &response) |
| void | removeAvatar () |
| void | removeAvatarResponse (const Response &response) |
Private Member Functions | |
| void | requestUserInfo (const QString &userName) |
| void | requestSessions (const QString &userName) |
| void | requestAlts (const QString &userName) |
| void | requestModeratorLogins () |
| void | clearUserData () |
| QString | formatEpoch (quint64 ts) const |
Private Attributes | |
| AbstractClient * | client |
| QString | currentUser |
| QLineEdit * | searchEdit |
| QPushButton * | investigateButton |
| QPushButton * | resetPasswordButton |
| QPushButton * | removeAvatarButton |
| QGroupBox * | userInfoGroup |
| QLabel * | userInfoNameLabel |
| QLabel * | userInfoNameValue |
| QLabel * | userInfoRegisteredLabel |
| QLabel * | userInfoRegisteredValue |
| QLabel * | userInfoLastLoginLabel |
| QLabel * | userInfoLastLoginValue |
| QLabel * | userInfoStatusLabel |
| QLabel * | userInfoStatusValue |
| QLabel * | userInfoCountsLabel |
| QLabel * | userInfoCountsValue |
| QLabel * | userInfoNotesLabel |
| QTextEdit * | userInfoNotesEdit |
| QGroupBox * | altsGroup |
| QTableWidget * | altsTable |
| QGroupBox * | sessionsGroup |
| QTableWidget * | sessionsTable |
| QGroupBox * | staffGroup |
| QTableWidget * | staffTable |
| QPushButton * | refreshStaffButton |
Additional Inherited Members | |
| Signals inherited from Tab | |
| void | userEvent (bool globalEvent=true) |
| void | tabTextChanged (Tab *tab, const QString &newTabText) |
| void | cockatriceLinkActivated (const QString &url) |
| 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 | |
| TabSupervisor * | tabSupervisor |
Staff investigation tool. Lets moderators look up a user's account data, alternate accounts, login sessions, and staff login activity, and offers the password-reset and remove-avatar actions.
|
explicit |
|
privateslot |
|
private |
|
nodiscardprivate |
|
inlinenodiscardoverridevirtual |
Implements Tab.
| void TabModeration::investigate | ( | const QString & | userName | ) |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
privateslot |
|
privateslot |
|
overridevirtual |
|
privateslot |
|
privateslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |