mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-12 17:14:52 -07:00
Add action to Edit Deck via Clipboard (#5681)
* implement functionality in dlg * add action to deck editor * refactor and comments * is this refactor even a good idea? * remove the friend class stuff * reorder * add option for not annotated
This commit is contained in:
parent
8fc1b22889
commit
2f415dcc6e
7 changed files with 237 additions and 54 deletions
|
|
@ -92,6 +92,8 @@ protected slots:
|
|||
bool actSaveDeck();
|
||||
bool actSaveDeckAs();
|
||||
virtual void actLoadDeckFromClipboard();
|
||||
void actEditDeckInClipboard();
|
||||
void actEditDeckInClipboardRaw();
|
||||
void actSaveDeckToClipboard();
|
||||
void actSaveDeckToClipboardNoSetNameAndNumber();
|
||||
void actSaveDeckToClipboardRaw();
|
||||
|
|
@ -114,6 +116,9 @@ protected slots:
|
|||
virtual void dockVisibleTriggered() = 0;
|
||||
virtual void dockFloatingTriggered() = 0;
|
||||
|
||||
private:
|
||||
void editDeckInClipboard(bool annotated);
|
||||
|
||||
protected:
|
||||
/**
|
||||
* @brief Enum for selecting deck open location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue