Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform 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 ()
void setShortcutsActive ()
void setShortcutsInactive ()
Public Member Functions inherited from TearOffMenu
 TearOffMenu (const QString &title, QWidget *parent=nullptr)
 TearOffMenu (QWidget *parent=nullptr)
TearOffMenuaddTearOffMenu (const QString &title)

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 ( )
Here is the caller graph for this function:

◆ setShortcutsActive()

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

◆ setShortcutsInactive()

void GraveyardMenu::setShortcutsInactive ( )

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: