mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-01 02:53:56 -07:00
* [Game][Player] Split Player into PlayerLogic/PlayerGraphicsItem Took 4 minutes Took 48 seconds * Drop early return. Took 1 hour 13 minutes Took 2 minutes Took 1 minute * Delete player view. Took 37 seconds * Restore card counter color in menu. Took 5 minutes --------- Co-authored-by: Lukas Brübach <Bruebach.Lukas@bdosecurity.de>
35 lines
691 B
C++
35 lines
691 B
C++
/**
|
|
* @file pt_menu.h
|
|
* @ingroup GameMenusCards
|
|
*/
|
|
//! \todo Document this file.
|
|
|
|
#ifndef COCKATRICE_PT_MENU_H
|
|
#define COCKATRICE_PT_MENU_H
|
|
#include <QMenu>
|
|
|
|
class PlayerGraphicsItem;
|
|
class PtMenu : public QMenu
|
|
{
|
|
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit PtMenu(PlayerGraphicsItem *player);
|
|
void retranslateUi();
|
|
void setShortcutsActive();
|
|
|
|
QAction *aIncP = nullptr;
|
|
QAction *aDecP = nullptr;
|
|
QAction *aFlowP = nullptr;
|
|
QAction *aIncT = nullptr;
|
|
QAction *aDecT = nullptr;
|
|
QAction *aFlowT = nullptr;
|
|
|
|
QAction *aIncPT = nullptr;
|
|
QAction *aDecPT = nullptr;
|
|
QAction *aSetPT = nullptr;
|
|
QAction *aResetPT = nullptr;
|
|
};
|
|
|
|
#endif // COCKATRICE_PT_MENU_H
|