converted phases toolbar to graphics item

This commit is contained in:
Max-Wilhelm Bruker 2011-02-12 21:09:33 +01:00
parent 20194617bc
commit 78e5068e39
24 changed files with 274 additions and 159 deletions

View file

@ -93,6 +93,7 @@ private:
QMap<int, QString> spectators;
bool started;
bool resuming;
QStringList phasesList;
int currentPhase;
int activePlayer;
@ -111,8 +112,9 @@ private:
QHBoxLayout *mainLayout;
ZoneViewLayout *zoneLayout;
QAction *playersSeparator;
QMenu *playersMenu;
QMenu *phasesMenu;
QAction *aConcede, *aLeaveGame, *aNextPhase, *aNextTurn, *aRemoveLocalArrows;
QList<QAction *> phaseActions;
Player *addPlayer(int playerId, ServerInfo_User *info);
@ -145,6 +147,7 @@ private slots:
void actLeaveGame();
void actRemoveLocalArrows();
void actSay();
void actPhaseAction();
void actNextPhase();
void actNextTurn();
public: