![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <remote_replay_list_tree_widget.h>
Public Member Functions | |
| RemoteReplayList_TreeWidget (AbstractClient *_client, QWidget *parent=nullptr) | |
| ServerInfo_Replay const * | getReplay (const QModelIndex &ind) const |
| ServerInfo_ReplayMatch const * | getReplayMatch (const QModelIndex &ind) const |
| QList< ServerInfo_Replay const * > | getSelectedReplays () const |
| QSet< ServerInfo_ReplayMatch const * > | getSelectedReplayMatches () const |
| void | clearTree () |
| void | refreshTree () |
| void | addMatchInfo (const ServerInfo_ReplayMatch &matchInfo) |
| void | updateMatchInfo (int gameId, const ServerInfo_ReplayMatch &matchInfo) |
| void | removeMatchInfo (int gameId) |
Private Attributes | |
| RemoteReplayList_TreeModel * | treeModel |
| QSortFilterProxyModel * | proxyModel |
|
explicit |
|
inline |
|
inline |
|
nodiscard |
Gets the replay at the given index
|
nodiscard |
Gets the replay match at the given index
|
nodiscard |
Gets all currently selected replayMatches. If a non-folder node is selected, it will return the parent folder of that node.
|
nodiscard |
Gets all currently selected replays. Any selection that isn't a replay file (e.g. a folder) will appear as a nullptr in the list. Make sure to check the list for nullptr before using it.
|
inline |
|
inline |
|
inline |
|
private |
|
private |