Cockatrice 2025-11-30-Development-2.11.0-beta.38
A cross-platform virtual tabletop for multiplayer card games
Loading...
Searching...
No Matches
tabbed_deck_view_container.h
Go to the documentation of this file.
1
6
7#ifndef TABBED_DECK_VIEW_CONTAINER_H
8#define TABBED_DECK_VIEW_CONTAINER_H
10
11#include <QTabWidget>
12
13class TabbedDeckViewContainer : public QTabWidget
14{
15 Q_OBJECT
16
17public:
18 explicit TabbedDeckViewContainer(int _playerId, TabGame *parent);
19 void closeTab(int index);
21 void addOpponentDeckView(const DeckList &opponentDeck, int opponentId, QString opponentName);
25
26 QMap<int, DeckView *> opponentDeckViews;
27};
28
29#endif // TABBED_DECK_VIEW_CONTAINER_H
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition deck_list.h:127
Definition deck_view_container.h:49
Definition tab_game.h:57
void closeTab(int index)
Definition tabbed_deck_view_container.cpp:35
QMap< int, DeckView * > opponentDeckViews
Definition tabbed_deck_view_container.h:26
TabbedDeckViewContainer(int _playerId, TabGame *parent)
Definition tabbed_deck_view_container.cpp:6
int playerId
Definition tabbed_deck_view_container.h:22
void updateTabBarVisibility()
Definition tabbed_deck_view_container.cpp:59
DeckViewContainer * playerDeckView
Definition tabbed_deck_view_container.h:24
TabGame * parentGame
Definition tabbed_deck_view_container.h:23
void addOpponentDeckView(const DeckList &opponentDeck, int opponentId, QString opponentName)
Definition tabbed_deck_view_container.cpp:18
TODO: Document this.