![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <user_info_box.h>
Public Slots | |
| void | updateInfo (const ServerInfo_User &user) |
| void | updateInfo (const QString &userName) |
Public Member Functions | |
| UserInfoBox (AbstractClient *_client, bool editable, QWidget *parent=nullptr, Qt::WindowFlags flags={}) | |
| void | retranslateUi () |
Private Slots | |
| void | processResponse (const Response &r) |
| void | processEditResponse (const Response &r) |
| void | processPasswordResponse (const Response &r) |
| void | processAvatarResponse (const Response &r) |
| void | actEdit () |
| void | actEditInternal (const Response &r) |
| void | actPassword () |
| void | actAvatar () |
| void | actBannerCard () |
Private Member Functions | |
| void | resizeEvent (QResizeEvent *event) override |
| void | changePassword (const QString &oldPassword, const QString &newPassword) |
Static Private Member Functions | |
| static QString | getAgeString (int ageSeconds) |
Private Attributes | |
| AbstractClient * | client |
| bool | editable |
| QLabel | avatarPic |
| QLabel | userLevelIcon |
| QLabel | nameLabel |
| QLabel | realNameLabel1 |
| QLabel | realNameLabel2 |
| QLabel | countryLabel1 |
| QLabel | countryLabel2 |
| QLabel | countryLabel3 |
| QLabel | userLevelLabel1 |
| QLabel | userLevelLabel2 |
| QLabel | accountAgeLabel1 |
| QLabel | accountAgeLabel2 |
| QPushButton | editButton |
| QPushButton | passwordButton |
| QPushButton | avatarButton |
| QPushButton | bannerCardButton |
| QPixmap | avatarPixmap |
| bool | hasAvatar |
| ServerInfo_User | currentUserInfo |
| bool | hasUserInfo = false |
| UserLevelFlags | userLevel |
| ServerInfo_User::PawnColorsOverride | pawnColors |
| QString | privLevel |
| UserInfoBox::UserInfoBox | ( | AbstractClient * | _client, |
| bool | editable, | ||
| QWidget * | parent = nullptr, | ||
| Qt::WindowFlags | flags = {} ) |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
private |
|
staticprivate |
|
privateslot |
|
privateslot |
|
privateslot |
|
privateslot |
|
overrideprivate |
| void UserInfoBox::retranslateUi | ( | ) |
|
slot |
|
slot |
|
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 |