Cockatrice 2026-10-19-Development-3.1.2-beta.2
A 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
9#include <QMap>
10#include <QString>
11#include <QTabWidget>
12#include <qtmetamacros.h>
13
14class DeckList;
15class DeckView;
17class TabGame;
18
19class TabbedDeckViewContainer : public QTabWidget
20{
21 Q_OBJECT
22
23public:
24 explicit TabbedDeckViewContainer(int _playerId, TabGame *parent);
25 void closeTab(int index);
27 void addOpponentDeckView(const DeckList &opponentDeck, int opponentId, QString opponentName);
31
33};
34
35#endif // TABBED_DECK_VIEW_CONTAINER_H
Represents a complete deck, including metadata, zones, cards, and sideboard plans.
Definition deck_list.h:67
Definition deck_view_container.h:52
Definition deck_view.h:158
Definition game.h:18
Definition tab_game.h:67
void closeTab(int index)
Definition tabbed_deck_view_container.cpp:43
QMap< int, DeckView * > opponentDeckViews
Definition tabbed_deck_view_container.h:32
TabbedDeckViewContainer(int _playerId, TabGame *parent)
Definition tabbed_deck_view_container.cpp:14
int playerId
Definition tabbed_deck_view_container.h:28
void updateTabBarVisibility()
Definition tabbed_deck_view_container.cpp:67
DeckViewContainer * playerDeckView
Definition tabbed_deck_view_container.h:30
TabGame * parentGame
Definition tabbed_deck_view_container.h:29
void addOpponentDeckView(const DeckList &opponentDeck, int opponentId, QString opponentName)
Definition tabbed_deck_view_container.cpp:26