Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
LibraryMenu Class Reference

#include <library_menu.h>

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

Public Slots

void enableOpenInDeckEditorAction () const
void resetTopCardMenuActions ()

Public Member Functions

 LibraryMenu (Player *player, QWidget *parent=nullptr)
void createDrawActions ()
void createShuffleActions ()
void createMoveActions ()
void createViewActions ()
void retranslateUi ()
void populateRevealLibraryMenuWithActivePlayers ()
void populateLendLibraryMenuWithActivePlayers ()
void populateRevealTopCardMenuWithActivePlayers ()
void onRevealLibraryTriggered ()
void onLendLibraryTriggered ()
void onRevealTopCardTriggered ()
void setShortcutsActive ()
void setShortcutsInactive ()
bool isAlwaysRevealTopCardChecked () const
bool isAlwaysLookAtTopCardChecked () const
QMenu * revealLibrary () const
QMenu * lendLibraryMenu () const
QMenu * revealTopCardMenu () const
Public Member Functions inherited from TearOffMenu
 TearOffMenu (const QString &title, QWidget *parent=nullptr)
 TearOffMenu (QWidget *parent=nullptr)
TearOffMenuaddTearOffMenu (const QString &title)

Public Attributes

QMenu * topLibraryMenu = nullptr
QMenu * bottomLibraryMenu = nullptr
QMenu * mRevealLibrary = nullptr
QMenu * mLendLibrary = nullptr
QMenu * mRevealTopCard = nullptr
QAction * aDrawCard = nullptr
QAction * aDrawCards = nullptr
QAction * aUndoDraw = nullptr
QAction * aShuffle = nullptr
QAction * aViewLibrary = nullptr
QAction * aViewTopCards = nullptr
QAction * aViewBottomCards = nullptr
QAction * aAlwaysRevealTopCard = nullptr
QAction * aAlwaysLookAtTopCard = nullptr
QAction * aOpenDeckInDeckEditor = nullptr
QAction * aMoveTopToPlay = nullptr
QAction * aMoveTopToPlayFaceDown = nullptr
QAction * aMoveTopCardToBottom = nullptr
QAction * aMoveTopCardToGraveyard = nullptr
QAction * aMoveTopCardToExile = nullptr
QAction * aMoveTopCardsToGraveyard = nullptr
QAction * aMoveTopCardsToExile = nullptr
QAction * aMoveTopCardsUntil = nullptr
QAction * aShuffleTopCards = nullptr
QAction * aDrawBottomCard = nullptr
QAction * aDrawBottomCards = nullptr
QAction * aMoveBottomToPlay = nullptr
QAction * aMoveBottomToPlayFaceDown = nullptr
QAction * aMoveBottomCardToTop = nullptr
QAction * aMoveBottomCardToGraveyard = nullptr
QAction * aMoveBottomCardToExile = nullptr
QAction * aMoveBottomCardsToGraveyard = nullptr
QAction * aMoveBottomCardsToExile = nullptr
QAction * aShuffleBottomCards = nullptr
int defaultNumberTopCards = 1

Private Attributes

Playerplayer

Constructor & Destructor Documentation

◆ LibraryMenu()

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

Member Function Documentation

◆ createDrawActions()

void LibraryMenu::createDrawActions ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createMoveActions()

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

◆ createShuffleActions()

void LibraryMenu::createShuffleActions ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ createViewActions()

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

◆ enableOpenInDeckEditorAction

void LibraryMenu::enableOpenInDeckEditorAction ( ) const
slot
Here is the caller graph for this function:

◆ isAlwaysLookAtTopCardChecked()

bool LibraryMenu::isAlwaysLookAtTopCardChecked ( ) const
inlinenodiscard

◆ isAlwaysRevealTopCardChecked()

bool LibraryMenu::isAlwaysRevealTopCardChecked ( ) const
inlinenodiscard

◆ lendLibraryMenu()

QMenu * LibraryMenu::lendLibraryMenu ( ) const
inlinenodiscard

◆ onLendLibraryTriggered()

void LibraryMenu::onLendLibraryTriggered ( )
Here is the caller graph for this function:

◆ onRevealLibraryTriggered()

void LibraryMenu::onRevealLibraryTriggered ( )
Here is the caller graph for this function:

◆ onRevealTopCardTriggered()

void LibraryMenu::onRevealTopCardTriggered ( )
Here is the caller graph for this function:

◆ populateLendLibraryMenuWithActivePlayers()

void LibraryMenu::populateLendLibraryMenuWithActivePlayers ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateRevealLibraryMenuWithActivePlayers()

void LibraryMenu::populateRevealLibraryMenuWithActivePlayers ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ populateRevealTopCardMenuWithActivePlayers()

void LibraryMenu::populateRevealTopCardMenuWithActivePlayers ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetTopCardMenuActions

void LibraryMenu::resetTopCardMenuActions ( )
slot
Here is the caller graph for this function:

◆ retranslateUi()

void LibraryMenu::retranslateUi ( )
Here is the caller graph for this function:

◆ revealLibrary()

QMenu * LibraryMenu::revealLibrary ( ) const
inlinenodiscard

◆ revealTopCardMenu()

QMenu * LibraryMenu::revealTopCardMenu ( ) const
inlinenodiscard

◆ setShortcutsActive()

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

◆ setShortcutsInactive()

void LibraryMenu::setShortcutsInactive ( )

Member Data Documentation

◆ aAlwaysLookAtTopCard

QAction* LibraryMenu::aAlwaysLookAtTopCard = nullptr

◆ aAlwaysRevealTopCard

QAction* LibraryMenu::aAlwaysRevealTopCard = nullptr

◆ aDrawBottomCard

QAction* LibraryMenu::aDrawBottomCard = nullptr

◆ aDrawBottomCards

QAction* LibraryMenu::aDrawBottomCards = nullptr

◆ aDrawCard

QAction* LibraryMenu::aDrawCard = nullptr

◆ aDrawCards

QAction* LibraryMenu::aDrawCards = nullptr

◆ aMoveBottomCardsToExile

QAction* LibraryMenu::aMoveBottomCardsToExile = nullptr

◆ aMoveBottomCardsToGraveyard

QAction* LibraryMenu::aMoveBottomCardsToGraveyard = nullptr

◆ aMoveBottomCardToExile

QAction* LibraryMenu::aMoveBottomCardToExile = nullptr

◆ aMoveBottomCardToGraveyard

QAction* LibraryMenu::aMoveBottomCardToGraveyard = nullptr

◆ aMoveBottomCardToTop

QAction* LibraryMenu::aMoveBottomCardToTop = nullptr

◆ aMoveBottomToPlay

QAction* LibraryMenu::aMoveBottomToPlay = nullptr

◆ aMoveBottomToPlayFaceDown

QAction* LibraryMenu::aMoveBottomToPlayFaceDown = nullptr

◆ aMoveTopCardsToExile

QAction* LibraryMenu::aMoveTopCardsToExile = nullptr

◆ aMoveTopCardsToGraveyard

QAction* LibraryMenu::aMoveTopCardsToGraveyard = nullptr

◆ aMoveTopCardsUntil

QAction* LibraryMenu::aMoveTopCardsUntil = nullptr

◆ aMoveTopCardToBottom

QAction* LibraryMenu::aMoveTopCardToBottom = nullptr

◆ aMoveTopCardToExile

QAction* LibraryMenu::aMoveTopCardToExile = nullptr

◆ aMoveTopCardToGraveyard

QAction* LibraryMenu::aMoveTopCardToGraveyard = nullptr

◆ aMoveTopToPlay

QAction* LibraryMenu::aMoveTopToPlay = nullptr

◆ aMoveTopToPlayFaceDown

QAction* LibraryMenu::aMoveTopToPlayFaceDown = nullptr

◆ aOpenDeckInDeckEditor

QAction* LibraryMenu::aOpenDeckInDeckEditor = nullptr

◆ aShuffle

QAction* LibraryMenu::aShuffle = nullptr

◆ aShuffleBottomCards

QAction* LibraryMenu::aShuffleBottomCards = nullptr

◆ aShuffleTopCards

QAction* LibraryMenu::aShuffleTopCards = nullptr

◆ aUndoDraw

QAction* LibraryMenu::aUndoDraw = nullptr

◆ aViewBottomCards

QAction* LibraryMenu::aViewBottomCards = nullptr

◆ aViewLibrary

QAction* LibraryMenu::aViewLibrary = nullptr

◆ aViewTopCards

QAction* LibraryMenu::aViewTopCards = nullptr

◆ bottomLibraryMenu

QMenu* LibraryMenu::bottomLibraryMenu = nullptr

◆ defaultNumberTopCards

int LibraryMenu::defaultNumberTopCards = 1

◆ mLendLibrary

QMenu* LibraryMenu::mLendLibrary = nullptr

◆ mRevealLibrary

QMenu* LibraryMenu::mRevealLibrary = nullptr

◆ mRevealTopCard

QMenu* LibraryMenu::mRevealTopCard = nullptr

◆ player

Player* LibraryMenu::player
private

◆ topLibraryMenu

QMenu* LibraryMenu::topLibraryMenu = nullptr

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