mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-14 14:32:15 -07:00
* Sort *every* file into a doxygen group. Took 7 hours 9 minutes Took 18 seconds Took 2 minutes * Lint some ingroup definitions. Took 10 minutes Took 2 seconds * Just include the groups in the Doxyfile in this commit. Took 3 minutes * Update some group comments so they link! Took 14 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
37 lines
761 B
C++
37 lines
761 B
C++
/**
|
|
* @file rfg_menu.h
|
|
* @ingroup GameMenusZones
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef COCKATRICE_RFG_MENU_H
|
|
#define COCKATRICE_RFG_MENU_H
|
|
|
|
#include "../../../interface/tearoff_menu.h"
|
|
|
|
#include <QAction>
|
|
#include <QMenu>
|
|
|
|
class Player;
|
|
class RfgMenu : public TearOffMenu
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit RfgMenu(Player *player, QWidget *parent = nullptr);
|
|
void createMoveActions();
|
|
void createViewActions();
|
|
void retranslateUi();
|
|
|
|
QMenu *moveRfgMenu = nullptr;
|
|
|
|
QAction *aViewRfg = nullptr;
|
|
QAction *aMoveRfgToTopLibrary = nullptr;
|
|
QAction *aMoveRfgToBottomLibrary = nullptr;
|
|
QAction *aMoveRfgToHand = nullptr;
|
|
QAction *aMoveRfgToGrave = nullptr;
|
|
|
|
private:
|
|
Player *player;
|
|
};
|
|
|
|
#endif // COCKATRICE_RFG_MENU_H
|