Cockatrice 2026-09-01-Development-3.1.0-beta.10
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 ()
UserListWidgetgetUserList () const

Private Member Functions

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

Private Attributes

QLineEdit * searchBar = nullptr
UserListWidgetuserList = 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:

Member Function Documentation

◆ bind()

void UserListPanelWidget::bind ( UserListManager * manager)

◆ getUserList()

UserListWidget * UserListPanelWidget::getUserList ( ) const
nodiscard

◆ openMessageDialog

void UserListPanelWidget::openMessageDialog ( const QString & userName,
bool focus )
signal
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 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: