mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-23 10:05:10 -07:00
31 lines
698 B
C++
31 lines
698 B
C++
/**
|
|
* @file move_menu.h
|
|
* @ingroup GameMenusZones
|
|
*/
|
|
//! \todo Document this file.
|
|
|
|
#ifndef COCKATRICE_MOVE_MENU_H
|
|
#define COCKATRICE_MOVE_MENU_H
|
|
#include <QMenu>
|
|
|
|
class PlayerGraphicsItem;
|
|
class MoveMenu : public QMenu
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MoveMenu(PlayerGraphicsItem *player, QWidget *parent);
|
|
void setShortcutsActive();
|
|
void retranslateUi();
|
|
|
|
QAction *aMoveToTopLibrary = nullptr;
|
|
QAction *aMoveToXfromTopOfLibrary = nullptr;
|
|
QAction *aMoveToBottomLibrary = nullptr;
|
|
|
|
QAction *aMoveToHand = nullptr;
|
|
QAction *aMoveToTable = nullptr;
|
|
QAction *aMoveToGraveyard = nullptr;
|
|
QAction *aMoveToExile = nullptr;
|
|
};
|
|
|
|
#endif // COCKATRICE_MOVE_MENU_H
|