mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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>
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
/**
|
|
* @file deck_editor_menu.h
|
|
* @ingroup DeckEditors
|
|
* @brief TODO: Document this.
|
|
*/
|
|
|
|
#ifndef DECK_EDITOR_MENU_H
|
|
#define DECK_EDITOR_MENU_H
|
|
|
|
#include "../tabs/abstract_tab_deck_editor.h"
|
|
|
|
#include <QMenu>
|
|
|
|
class AbstractTabDeckEditor;
|
|
class DeckEditorMenu : public QMenu
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
explicit DeckEditorMenu(AbstractTabDeckEditor *parent);
|
|
|
|
AbstractTabDeckEditor *deckEditor;
|
|
|
|
QAction *aNewDeck, *aLoadDeck, *aClearRecents, *aSaveDeck, *aSaveDeckAs, *aLoadDeckFromClipboard,
|
|
*aEditDeckInClipboard, *aEditDeckInClipboardRaw, *aSaveDeckToClipboard, *aSaveDeckToClipboardNoSetInfo,
|
|
*aSaveDeckToClipboardRaw, *aSaveDeckToClipboardRawNoSetInfo, *aPrintDeck, *aLoadDeckFromWebsite,
|
|
*aExportDeckDecklist, *aExportDeckDecklistXyz, *aAnalyzeDeckDeckstats, *aAnalyzeDeckTappedout, *aClose;
|
|
QMenu *loadRecentDeckMenu, *analyzeDeckMenu, *editDeckInClipboardMenu, *saveDeckToClipboardMenu;
|
|
|
|
void setSaveStatus(bool newStatus);
|
|
|
|
public slots:
|
|
void updateRecentlyOpened();
|
|
void actClearRecents();
|
|
void retranslateUi();
|
|
void refreshShortcuts();
|
|
};
|
|
|
|
#endif
|