Cockatrice
2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
rfg_menu.h
Go to the documentation of this file.
1
6
7
#ifndef COCKATRICE_RFG_MENU_H
8
#define COCKATRICE_RFG_MENU_H
9
10
#include "
../../../interface/widgets/menus/tearoff_menu.h
"
11
12
#include <QAction>
13
#include <QMenu>
14
15
class
Player
;
16
class
RfgMenu
:
public
TearOffMenu
17
{
18
Q_OBJECT
19
public
:
20
explicit
RfgMenu
(
Player
*
player
, QWidget *parent =
nullptr
);
21
void
createMoveActions
();
22
void
createViewActions
();
23
void
retranslateUi
();
24
25
QMenu *
moveRfgMenu
=
nullptr
;
26
27
QAction *
aViewRfg
=
nullptr
;
28
QAction *
aMoveRfgToTopLibrary
=
nullptr
;
29
QAction *
aMoveRfgToBottomLibrary
=
nullptr
;
30
QAction *
aMoveRfgToHand
=
nullptr
;
31
QAction *
aMoveRfgToGrave
=
nullptr
;
32
33
private
:
34
Player
*
player
;
35
};
36
37
#endif
// COCKATRICE_RFG_MENU_H
Player
Definition
player.h:65
RfgMenu::aMoveRfgToTopLibrary
QAction * aMoveRfgToTopLibrary
Definition
rfg_menu.h:28
RfgMenu::aViewRfg
QAction * aViewRfg
Definition
rfg_menu.h:27
RfgMenu::createMoveActions
void createMoveActions()
Definition
rfg_menu.cpp:27
RfgMenu::retranslateUi
void retranslateUi()
Definition
rfg_menu.cpp:56
RfgMenu::createViewActions
void createViewActions()
Definition
rfg_menu.cpp:48
RfgMenu::RfgMenu
RfgMenu(Player *player, QWidget *parent=nullptr)
Definition
rfg_menu.cpp:6
RfgMenu::moveRfgMenu
QMenu * moveRfgMenu
Definition
rfg_menu.h:25
RfgMenu::aMoveRfgToHand
QAction * aMoveRfgToHand
Definition
rfg_menu.h:30
RfgMenu::player
Player * player
Definition
rfg_menu.h:34
RfgMenu::aMoveRfgToGrave
QAction * aMoveRfgToGrave
Definition
rfg_menu.h:31
RfgMenu::aMoveRfgToBottomLibrary
QAction * aMoveRfgToBottomLibrary
Definition
rfg_menu.h:29
TearOffMenu::TearOffMenu
TearOffMenu(const QString &title, QWidget *parent=nullptr)
Definition
tearoff_menu.h:16
tearoff_menu.h
TODO: Document this.
cockatrice
src
game
player
menu
rfg_menu.h
Generated by
1.14.0