Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
UserListPanelWidget Class Reference

#include <user_list_panel_widget.h>

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

Signals

void openMessageDialog (const QString &userName, bool focus)

Public Member Functions

 UserListPanelWidget (TabSupervisor *tabSupervisor, AbstractClient *client, QWidget *parent=nullptr)
void bind (UserListManager *manager)
void retranslateUi ()
UserListWidget * getUserList () const

Private Member Functions

void persistExpandedSections (UserListWidget::Section section, bool expanded)

Private Attributes

QLineEdit * searchBar = nullptr
UserListWidget * userList = nullptr

Detailed Description

A unified user list: a search bar above a single tree whose section headers (buddy, online, ignored) are inline dividers. The tree owns the scrolling.

Constructor & Destructor Documentation

◆ UserListPanelWidget()

UserListPanelWidget::UserListPanelWidget ( TabSupervisor * tabSupervisor,
AbstractClient * client,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ bind()

void UserListPanelWidget::bind ( UserListManager * manager)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getUserList()

UserListWidget * UserListPanelWidget::getUserList ( ) const
nodiscard
Here is the caller graph for this function:

◆ openMessageDialog

void UserListPanelWidget::openMessageDialog ( const QString & userName,
bool focus )
signal
Here is the call graph for this function:
Here is the caller graph for this function:

◆ persistExpandedSections()

void UserListPanelWidget::persistExpandedSections ( UserListWidget::Section section,
bool expanded )
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

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

Member Data Documentation

◆ searchBar

QLineEdit* UserListPanelWidget::searchBar = nullptr
private

◆ userList

UserListWidget* UserListPanelWidget::userList = nullptr
private

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