improved token dialog w/ storage inside the deck list - now we need a reliable online source for token data (preferably with pictures)

This commit is contained in:
Max-Wilhelm Bruker 2012-04-06 15:16:52 +02:00
parent f553fd7456
commit 12b5e39440
7 changed files with 121 additions and 17 deletions

View file

@ -134,6 +134,7 @@ private slots:
void updateBoundingRect();
void rearrangeZones();
void actCreatePredefinedToken();
void cardMenuAction();
void actCardCounterTrigger();
void actAttach();
@ -153,7 +154,7 @@ private slots:
private:
TabGame *game;
QMenu *playerMenu, *handMenu, *graveMenu, *rfgMenu, *libraryMenu, *sbMenu, *countersMenu, *sayMenu,
QMenu *playerMenu, *handMenu, *graveMenu, *rfgMenu, *libraryMenu, *sbMenu, *countersMenu, *sayMenu, *createPredefinedTokenMenu,
*mRevealLibrary, *mRevealTopCard, *mRevealHand, *mRevealRandomHandCard;
QList<QMenu *> playerLists;
QList<QAction *> allPlayersActions;
@ -189,6 +190,8 @@ private:
QList<CardItem *> cardsToDelete;
DeckList *deck;
QStringList predefinedTokens;
PlayerArea *playerArea;
QMap<QString, CardZone *> zones;
StackZone *stack;
@ -258,8 +261,7 @@ public:
void retranslateUi();
void clear();
TabGame *getGame() const { return game; }
DeckList *getDeck() const { return deck; }
void setDeck(DeckList *_deck) { deck = _deck; }
void setDeck(DeckList *_deck);
QMenu *getPlayerMenu() const { return playerMenu; }
int getId() const { return id; }
QString getName() const;