Cockatrice 2026-01-14-Development-2.11.0-beta.46
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
tab_deck_storage_visual.h
Go to the documentation of this file.
1
6
7#ifndef TAB_DECK_STORAGE_VISUAL_H
8#define TAB_DECK_STORAGE_VISUAL_H
9
10#include "../tab.h"
11
12struct LoadedDeck;
13class AbstractClient;
14class CommandContainer;
16class QFileSystemModel;
17class QGroupBox;
18class QToolBar;
19class QTreeView;
20class QTreeWidget;
21class QTreeWidgetItem;
22class Response;
24
25class TabDeckStorageVisual final : public Tab
26{
27 Q_OBJECT
28public:
29 explicit TabDeckStorageVisual(TabSupervisor *_tabSupervisor);
30 void retranslateUi() override
31 {
32 }
33 [[nodiscard]] QString getTabText() const override
34 {
35 return tr("Visual Deck Storage");
36 }
37
38public slots:
39 void actOpenLocalDeck(const QString &filePath);
40
41signals:
42 void openDeckEditor(const LoadedDeck &deck);
43
44private:
46};
47
48#endif
Definition abstract_client.h:51
Definition deck_preview_widget.h:28
VisualDeckStorageWidget * visualDeckStorageWidget
Definition tab_deck_storage_visual.h:45
void actOpenLocalDeck(const QString &filePath)
Definition tab_deck_storage_visual.cpp:25
void retranslateUi() override
Definition tab_deck_storage_visual.h:30
QString getTabText() const override
Definition tab_deck_storage_visual.h:33
TabDeckStorageVisual(TabSupervisor *_tabSupervisor)
Definition tab_deck_storage_visual.cpp:9
void openDeckEditor(const LoadedDeck &deck)
Definition tab_supervisor.h:83
Tab(TabSupervisor *_tabSupervisor)
Definition tab.cpp:11
Definition visual_deck_storage_widget.h:29
Represents a deck that was loaded from somewhere. Contains the DeckList itself, as well as info about...
Definition loaded_deck.h:14
TODO: Document this.