Cockatrice 2026-06-27-Development-3.1.0-beta.3
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
PlayerDialogs Class Reference

#include <player_dialogs.h>

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

Public Slots

void onViewTopCardsDialogRequested (int defaultNumberTopCards, int deckSize)
void onViewBottomCardsDialogRequested (int defaultNumberBottomCards, int deckSize)
void onShuffleTopDialogRequested (int defaultNumberTopCards, int maxCards)
void onShuffleBottomDialogRequested (int defaultNumberBottomCards, int maxCards)
void onMulliganDialogRequested (int startSize, int handSize, int deckSize)
void onDrawCardsDialogRequested (int defaultNumberTopCards, int deckSize)
void onMoveTopCardsToDialogRequested (int defaultNumberTopCards, int maxCards, const QString &targetZone, const QString &zoneDisplayName, bool faceDown)
void onMoveTopCardsUntilDialogRequested (MoveTopCardsUntilOptions options)
void onMoveBottomCardsToDialogRequested (int defaultNumberBottomCards, int maxCards, const QString &targetZone, const QString &zoneDisplayName, bool faceDown)
void onDrawBottomCardsDialogRequested (int defaultNumberBottomCards, int maxCards)
void onRollDieDialogRequested ()
void onCreateRelatedFromRelationDialogRequested (const CardItem *sourceCard, const CardRelation *cardRelation)
void onCreateTokenDialogRequested (const QStringList &predefinedTokens)
void onMoveCardXCardsFromTopDialogRequested (int defaultNumberTopCardsToPlaceBelow, int deckSize)
void onSetPTDialogRequested (const QString &oldPT)
void onSetAnnotationDialogRequested (const QString &oldAnnotation)
void onSetCardCounterDialogRequested (int counterId, const QString &oldValueForDlg)

Signals

void requestDialogSemaphore (bool active)

Public Member Functions

 PlayerDialogs (PlayerGraphicsItem *player, PlayerActions *playerActions)

Private Member Functions

QWidget * dialogParent () const

Private Attributes

PlayerGraphicsItemplayer
PlayerActionsplayerActions

Constructor & Destructor Documentation

◆ PlayerDialogs()

PlayerDialogs::PlayerDialogs ( PlayerGraphicsItem * player,
PlayerActions * playerActions )
explicit
Here is the call graph for this function:

Member Function Documentation

◆ dialogParent()

QWidget * PlayerDialogs::dialogParent ( ) const
inlineprivate
Here is the caller graph for this function:

◆ onCreateRelatedFromRelationDialogRequested

void PlayerDialogs::onCreateRelatedFromRelationDialogRequested ( const CardItem * sourceCard,
const CardRelation * cardRelation )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onCreateTokenDialogRequested

void PlayerDialogs::onCreateTokenDialogRequested ( const QStringList & predefinedTokens)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onDrawBottomCardsDialogRequested

void PlayerDialogs::onDrawBottomCardsDialogRequested ( int defaultNumberBottomCards,
int maxCards )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onDrawCardsDialogRequested

void PlayerDialogs::onDrawCardsDialogRequested ( int defaultNumberTopCards,
int deckSize )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMoveBottomCardsToDialogRequested

void PlayerDialogs::onMoveBottomCardsToDialogRequested ( int defaultNumberBottomCards,
int maxCards,
const QString & targetZone,
const QString & zoneDisplayName,
bool faceDown )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMoveCardXCardsFromTopDialogRequested

void PlayerDialogs::onMoveCardXCardsFromTopDialogRequested ( int defaultNumberTopCardsToPlaceBelow,
int deckSize )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMoveTopCardsToDialogRequested

void PlayerDialogs::onMoveTopCardsToDialogRequested ( int defaultNumberTopCards,
int maxCards,
const QString & targetZone,
const QString & zoneDisplayName,
bool faceDown )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMoveTopCardsUntilDialogRequested

void PlayerDialogs::onMoveTopCardsUntilDialogRequested ( MoveTopCardsUntilOptions options)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMulliganDialogRequested

void PlayerDialogs::onMulliganDialogRequested ( int startSize,
int handSize,
int deckSize )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onRollDieDialogRequested

void PlayerDialogs::onRollDieDialogRequested ( )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onSetAnnotationDialogRequested

void PlayerDialogs::onSetAnnotationDialogRequested ( const QString & oldAnnotation)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onSetCardCounterDialogRequested

void PlayerDialogs::onSetCardCounterDialogRequested ( int counterId,
const QString & oldValueForDlg )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onSetPTDialogRequested

void PlayerDialogs::onSetPTDialogRequested ( const QString & oldPT)
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShuffleBottomDialogRequested

void PlayerDialogs::onShuffleBottomDialogRequested ( int defaultNumberBottomCards,
int maxCards )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onShuffleTopDialogRequested

void PlayerDialogs::onShuffleTopDialogRequested ( int defaultNumberTopCards,
int maxCards )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onViewBottomCardsDialogRequested

void PlayerDialogs::onViewBottomCardsDialogRequested ( int defaultNumberBottomCards,
int deckSize )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ onViewTopCardsDialogRequested

void PlayerDialogs::onViewTopCardsDialogRequested ( int defaultNumberTopCards,
int deckSize )
slot
Here is the call graph for this function:
Here is the caller graph for this function:

◆ requestDialogSemaphore

void PlayerDialogs::requestDialogSemaphore ( bool active)
signal
Here is the caller graph for this function:

Member Data Documentation

◆ player

PlayerGraphicsItem* PlayerDialogs::player
private

◆ playerActions

PlayerActions* PlayerDialogs::playerActions
private

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