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

#include <custom_zone_menu.h>

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

Public Member Functions

 CustomZoneMenu (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 clearCustomZonesMenu ()
void addViewCustomZoneActionToCustomZoneMenu (QString zoneName)

Private Attributes

Playerplayer

Constructor & Destructor Documentation

◆ CustomZoneMenu()

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

Member Function Documentation

◆ addViewCustomZoneActionToCustomZoneMenu

void CustomZoneMenu::addViewCustomZoneActionToCustomZoneMenu ( QString zoneName)
privateslot
Here is the caller graph for this function:

◆ clearCustomZonesMenu

void CustomZoneMenu::clearCustomZonesMenu ( )
privateslot
Here is the caller graph for this function:

◆ retranslateUi()

void CustomZoneMenu::retranslateUi ( )
overridevirtual

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

Implements AbstractPlayerComponent.

Here is the caller graph for this function:

◆ setShortcutsActive()

void CustomZoneMenu::setShortcutsActive ( )
inlineoverridevirtual

Bind keyboard shortcuts. Called when this player gains focus.

Implements AbstractPlayerComponent.

◆ setShortcutsInactive()

void CustomZoneMenu::setShortcutsInactive ( )
inlineoverridevirtual

Unbind keyboard shortcuts. Called when this player loses focus.

Implements AbstractPlayerComponent.

Member Data Documentation

◆ player

Player* CustomZoneMenu::player
private

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