![]() |
Cockatrice 2026-10-19-Development-3.1.2-beta.2
A virtual tabletop for multiplayer card games
|
#include <utility_menu.h>
Public Slots | |
| void | populatePredefinedTokensMenu () |
| void | setLastToken (CardInfoPtr lastToken) |
| void | retranslateUi () override |
| void | setShortcutsActive () override |
| void | setShortcutsInactive () override |
Public Member Functions | |
| UtilityMenu (PlayerGraphicsItem *player, QMenu *playerMenu) | |
| bool | createAnotherTokenActionExists () const |
| void | setAndEnableCreateAnotherTokenAction (QString text) |
| QStringList | getPredefinedTokens () const |
| Public Member Functions inherited from AbstractPlayerComponent | |
| virtual | ~AbstractPlayerComponent ()=default |
| virtual void | setShortcutsActive ()=0 |
| Bind keyboard shortcuts. Called when this player gains focus. | |
| virtual void | setShortcutsInactive ()=0 |
| Unbind keyboard shortcuts. Called when this player loses focus. | |
| virtual void | retranslateUi ()=0 |
| Retranslate all user-visible strings. Called on language change. | |
Private Attributes | |
| PlayerGraphicsItem * | player |
| QStringList | predefinedTokens |
| QMenu * | createPredefinedTokenMenu |
| QAction * | aIncrementAllCardCounters |
| QAction * | aUntapAll |
| QAction * | aRollDie |
| QAction * | aFlipCoin |
| QAction * | aCreateToken |
| QAction * | aCreateAnotherToken |
|
explicit |
|
inlinenodiscard |
|
inline |
|
slot |
|
overrideslot |
|
inline |
|
slot |
|
overrideslot |
|
overrideslot |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |