Cockatrice 2026-04-21-Development-2.11.0-beta.61
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
SayMenu Class Reference

#include <say_menu.h>

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

Public Member Functions

 SayMenu (Player *player)
void retranslateUi () override
 Retranslate all user-visible strings. Called on language change.
void setShortcutsActive () override
 Bind keyboard shortcuts. Called when this player gains focus.
void setShortcutsInactive () override
 Unbind keyboard shortcuts. Called when this player loses focus.
Public Member Functions inherited from AbstractPlayerComponent
virtual ~AbstractPlayerComponent ()=default

Private Slots

void initSayMenu ()

Private Attributes

Playerplayer
bool shortcutsActive = false

Constructor & Destructor Documentation

◆ SayMenu()

SayMenu::SayMenu ( Player * player)
explicit
Here is the call graph for this function:

Member Function Documentation

◆ initSayMenu

void SayMenu::initSayMenu ( )
privateslot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void SayMenu::retranslateUi ( )
overridevirtual

Retranslate all user-visible strings. Called on language change.

Implements AbstractPlayerComponent.

Here is the caller graph for this function:

◆ setShortcutsActive()

void SayMenu::setShortcutsActive ( )
overridevirtual

Bind keyboard shortcuts. Called when this player gains focus.

Implements AbstractPlayerComponent.

Here is the caller graph for this function:

◆ setShortcutsInactive()

void SayMenu::setShortcutsInactive ( )
overridevirtual

Unbind keyboard shortcuts. Called when this player loses focus.

Implements AbstractPlayerComponent.

Member Data Documentation

◆ player

Player* SayMenu::player
private

◆ shortcutsActive

bool SayMenu::shortcutsActive = false
private

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