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

#include <grave_menu.h>

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

Signals

void newPlayerActionCreated (QAction *action)

Public Member Functions

 GraveyardMenu (Player *player, QWidget *parent=nullptr)
void createMoveActions ()
void createViewActions ()
void populateRevealRandomMenuWithActivePlayers ()
void onRevealRandomTriggered ()
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 TearOffMenu
 TearOffMenu (const QString &title, QWidget *parent=nullptr)
 TearOffMenu (QWidget *parent=nullptr)
TearOffMenuaddTearOffMenu (const QString &title)
Public Member Functions inherited from AbstractPlayerComponent
virtual ~AbstractPlayerComponent ()=default

Public Attributes

QMenu * mRevealRandomGraveyardCard = nullptr
QMenu * moveGraveMenu = nullptr
QAction * aViewGraveyard = nullptr
QAction * aMoveGraveToTopLibrary = nullptr
QAction * aMoveGraveToBottomLibrary = nullptr
QAction * aMoveGraveToHand = nullptr
QAction * aMoveGraveToRfg = nullptr

Private Attributes

Playerplayer

Constructor & Destructor Documentation

◆ GraveyardMenu()

GraveyardMenu::GraveyardMenu ( Player * player,
QWidget * parent = nullptr )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ createMoveActions()

void GraveyardMenu::createMoveActions ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createViewActions()

void GraveyardMenu::createViewActions ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ newPlayerActionCreated

void GraveyardMenu::newPlayerActionCreated ( QAction * action)
signal

◆ onRevealRandomTriggered()

void GraveyardMenu::onRevealRandomTriggered ( )
Here is the caller graph for this function:

◆ populateRevealRandomMenuWithActivePlayers()

void GraveyardMenu::populateRevealRandomMenuWithActivePlayers ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void GraveyardMenu::retranslateUi ( )
overridevirtual

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

Implements AbstractPlayerComponent.

Here is the caller graph for this function:

◆ setShortcutsActive()

void GraveyardMenu::setShortcutsActive ( )
overridevirtual

Bind keyboard shortcuts. Called when this player gains focus.

Implements AbstractPlayerComponent.

Here is the call graph for this function:

◆ setShortcutsInactive()

void GraveyardMenu::setShortcutsInactive ( )
overridevirtual

Unbind keyboard shortcuts. Called when this player loses focus.

Implements AbstractPlayerComponent.

Member Data Documentation

◆ aMoveGraveToBottomLibrary

QAction* GraveyardMenu::aMoveGraveToBottomLibrary = nullptr

◆ aMoveGraveToHand

QAction* GraveyardMenu::aMoveGraveToHand = nullptr

◆ aMoveGraveToRfg

QAction* GraveyardMenu::aMoveGraveToRfg = nullptr

◆ aMoveGraveToTopLibrary

QAction* GraveyardMenu::aMoveGraveToTopLibrary = nullptr

◆ aViewGraveyard

QAction* GraveyardMenu::aViewGraveyard = nullptr

◆ moveGraveMenu

QMenu* GraveyardMenu::moveGraveMenu = nullptr

◆ mRevealRandomGraveyardCard

QMenu* GraveyardMenu::mRevealRandomGraveyardCard = nullptr

◆ player

Player* GraveyardMenu::player
private

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