mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-26 08:33:54 -07:00
Load deck from clipboard in Game Lobby (#5950)
This commit is contained in:
parent
d729df5cba
commit
50d3dfb98b
5 changed files with 47 additions and 12 deletions
|
|
@ -44,7 +44,8 @@ class DeckViewContainer : public QWidget
|
|||
Q_OBJECT
|
||||
private:
|
||||
QVBoxLayout *deckViewLayout;
|
||||
QPushButton *loadLocalButton, *loadRemoteButton, *unloadDeckButton, *forceStartGameButton;
|
||||
QPushButton *loadLocalButton, *loadRemoteButton, *loadFromClipboardButton;
|
||||
QPushButton *unloadDeckButton, *forceStartGameButton;
|
||||
ToggleButton *readyStartButton, *sideboardLockButton;
|
||||
DeckView *deckView;
|
||||
VisualDeckStorageWidget *visualDeckStorageWidget;
|
||||
|
|
@ -58,6 +59,7 @@ private slots:
|
|||
void switchToDeckLoadedView();
|
||||
void loadLocalDeck();
|
||||
void loadRemoteDeck();
|
||||
void loadFromClipboard();
|
||||
void unloadDeck();
|
||||
void readyStart();
|
||||
void forceStart();
|
||||
|
|
@ -81,6 +83,7 @@ public:
|
|||
|
||||
public slots:
|
||||
void loadDeckFromFile(const QString &filePath);
|
||||
void loadDeckFromDeckLoader(const DeckLoader *deck);
|
||||
};
|
||||
|
||||
#endif // DECK_VIEW_CONTAINER_H
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue