Cockatrice 2026-09-01-Development-3.1.0-beta.10
A virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
TallyMenu Class Reference

#include <tally_menu.h>

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

Public Member Functions

 TallyMenu ()
void setShortcutsActive () override
 Bind keyboard shortcuts. Called when this player gains focus.
void setShortcutsInactive () override
 Unbind keyboard shortcuts. Called when this player loses focus.
void retranslateUi () override
 Retranslate all user-visible strings. Called on language change.
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

Private Member Functions

QAction * createTallyAction (TallyType tallyType)

Private Attributes

QActionGroup * actionGroup = nullptr
QAction * aTallyNone = nullptr
QAction * aTallySubtypes = nullptr
QAction * aTallyTotalPower = nullptr

Constructor & Destructor Documentation

◆ TallyMenu()

TallyMenu::TallyMenu ( )
Here is the call graph for this function:

Member Function Documentation

◆ createTallyAction()

QAction * TallyMenu::createTallyAction ( TallyType tallyType)
private
Here is the call graph for this function:
Here is the caller graph for this function:

◆ retranslateUi()

void TallyMenu::retranslateUi ( )
overridevirtual

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

Implements AbstractPlayerComponent.

Here is the caller graph for this function:

◆ setShortcutsActive()

void TallyMenu::setShortcutsActive ( )
overridevirtual

Bind keyboard shortcuts. Called when this player gains focus.

Implements AbstractPlayerComponent.

◆ setShortcutsInactive()

void TallyMenu::setShortcutsInactive ( )
overridevirtual

Unbind keyboard shortcuts. Called when this player loses focus.

Implements AbstractPlayerComponent.

Member Data Documentation

◆ actionGroup

QActionGroup* TallyMenu::actionGroup = nullptr
private

◆ aTallyNone

QAction* TallyMenu::aTallyNone = nullptr
private

◆ aTallySubtypes

QAction* TallyMenu::aTallySubtypes = nullptr
private

◆ aTallyTotalPower

QAction* TallyMenu::aTallyTotalPower = nullptr
private

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