Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
DlgMyReports Class Reference

#include <dlg_my_reports.h>

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

Public Member Functions

 DlgMyReports (AbstractClient *_client, QWidget *parent=nullptr)

Private Slots

void refreshList ()
void reportListResponse (const Response &response)
void onSelectionChanged ()
void reportDetailsResponse (const Response &response)
void addComment ()
void addCommentResponse (const Response &response)

Private Member Functions

void loadReportDetails (const ServerInfo_Report &report)
void setActionsEnabled (bool enabled)

Private Attributes

AbstractClientclient
QTableWidget * table
QTextEdit * descriptionEdit
QTextEdit * chatLogEdit
QTextEdit * commentsEdit
QLineEdit * commentInput
QPushButton * commentButton
QPushButton * refreshButton
QPushButton * closeButton
QLabel * statusLabel
QList< ServerInfo_ReportcurrentReports
int selectedReportId
int selectedReportIdBeforeRefresh = -1
QString commentDraftBeforeRefresh

Constructor & Destructor Documentation

◆ DlgMyReports()

DlgMyReports::DlgMyReports ( AbstractClient * _client,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ addComment

void DlgMyReports::addComment ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ addCommentResponse

void DlgMyReports::addCommentResponse ( const Response & response)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadReportDetails()

void DlgMyReports::loadReportDetails ( const ServerInfo_Report & report)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onSelectionChanged

void DlgMyReports::onSelectionChanged ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ refreshList

void DlgMyReports::refreshList ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reportDetailsResponse

void DlgMyReports::reportDetailsResponse ( const Response & response)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ reportListResponse

void DlgMyReports::reportListResponse ( const Response & response)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ setActionsEnabled()

void DlgMyReports::setActionsEnabled ( bool enabled)
private
Here is the caller graph for this function:

Member Data Documentation

◆ chatLogEdit

QTextEdit* DlgMyReports::chatLogEdit
private

◆ client

AbstractClient* DlgMyReports::client
private

◆ closeButton

QPushButton* DlgMyReports::closeButton
private

◆ commentButton

QPushButton* DlgMyReports::commentButton
private

◆ commentDraftBeforeRefresh

QString DlgMyReports::commentDraftBeforeRefresh
private

◆ commentInput

QLineEdit* DlgMyReports::commentInput
private

◆ commentsEdit

QTextEdit* DlgMyReports::commentsEdit
private

◆ currentReports

QList<ServerInfo_Report> DlgMyReports::currentReports
private

◆ descriptionEdit

QTextEdit* DlgMyReports::descriptionEdit
private

◆ refreshButton

QPushButton* DlgMyReports::refreshButton
private

◆ selectedReportId

int DlgMyReports::selectedReportId
private

◆ selectedReportIdBeforeRefresh

int DlgMyReports::selectedReportIdBeforeRefresh = -1
private

◆ statusLabel

QLabel* DlgMyReports::statusLabel
private

◆ table

QTableWidget* DlgMyReports::table
private

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