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

#include <tab_server.h>

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

Signals

void joinRoomRequest (int, bool setCurrent)

Public Member Functions

 RoomSelector (AbstractClient *_client, QWidget *parent=nullptr)
void retranslateUi ()

Private Slots

void processListRoomsEvent (const Event_ListRooms &event)
void joinClicked ()

Private Member Functions

QString getRoomPermissionDisplay (const ServerInfo_Room &room)

Private Attributes

QTreeWidget * roomList
QPushButton * joinButton
AbstractClientclient

Constructor & Destructor Documentation

◆ RoomSelector()

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

Member Function Documentation

◆ getRoomPermissionDisplay()

QString RoomSelector::getRoomPermissionDisplay ( const ServerInfo_Room & room)
private
Here is the caller graph for this function:

◆ joinClicked

void RoomSelector::joinClicked ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ joinRoomRequest

void RoomSelector::joinRoomRequest ( int ,
bool setCurrent )
signal
Here is the caller graph for this function:

◆ processListRoomsEvent

void RoomSelector::processListRoomsEvent ( const Event_ListRooms & event)
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void RoomSelector::retranslateUi ( )
Here is the caller graph for this function:

Member Data Documentation

◆ client

AbstractClient* RoomSelector::client
private

◆ joinButton

QPushButton* RoomSelector::joinButton
private

◆ roomList

QTreeWidget* RoomSelector::roomList
private

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