![]() |
Cockatrice 2026-04-21-Development-2.11.0-beta.61
A virtual tabletop for multiplayer card games
|
#include <rfg_menu.h>
Public Member Functions | |
| RfgMenu (Player *player, QWidget *parent=nullptr) | |
| void | createMoveActions () |
| void | createViewActions () |
| void | retranslateUi () override |
| Retranslate all user-visible strings. Called on language change. | |
| void | setShortcutsActive () override |
| Bind keyboard shortcuts. Called when this player gains focus. | |
| void | setShortcutsInactive () override |
| Unbind keyboard shortcuts. Called when this player loses focus. | |
| Public Member Functions inherited from TearOffMenu | |
| TearOffMenu (const QString &title, QWidget *parent=nullptr) | |
| TearOffMenu (QWidget *parent=nullptr) | |
| TearOffMenu * | addTearOffMenu (const QString &title) |
| Public Member Functions inherited from AbstractPlayerComponent | |
| virtual | ~AbstractPlayerComponent ()=default |
Public Attributes | |
| QMenu * | moveRfgMenu = nullptr |
| QAction * | aViewRfg = nullptr |
| QAction * | aMoveRfgToTopLibrary = nullptr |
| QAction * | aMoveRfgToBottomLibrary = nullptr |
| QAction * | aMoveRfgToHand = nullptr |
| QAction * | aMoveRfgToGrave = nullptr |
Private Attributes | |
| Player * | player |
|
explicit |
| void RfgMenu::createMoveActions | ( | ) |
| void RfgMenu::createViewActions | ( | ) |
|
overridevirtual |
Retranslate all user-visible strings. Called on language change.
Implements AbstractPlayerComponent.
|
inlineoverridevirtual |
Bind keyboard shortcuts. Called when this player gains focus.
Implements AbstractPlayerComponent.
|
inlineoverridevirtual |
Unbind keyboard shortcuts. Called when this player loses focus.
Implements AbstractPlayerComponent.
| QAction* RfgMenu::aMoveRfgToBottomLibrary = nullptr |
| QAction* RfgMenu::aMoveRfgToGrave = nullptr |
| QAction* RfgMenu::aMoveRfgToHand = nullptr |
| QAction* RfgMenu::aMoveRfgToTopLibrary = nullptr |
| QAction* RfgMenu::aViewRfg = nullptr |
| QMenu* RfgMenu::moveRfgMenu = nullptr |
|
private |