implement spectator display on the table to check if spectators watching the current game (#196)

This commit is contained in:
doitux
2013-09-30 10:23:51 +02:00
parent 4f8028aa0b
commit 972ab5e2ee
8 changed files with 208 additions and 60 deletions
+4
View File
@@ -173,6 +173,7 @@ signals:
void signalEndVoteOnKick();
void signalNetClientPlayerLeft(unsigned playerId);
void signalNetClientSpectatorLeft(unsigned playerId);
void signalNetClientSpectatorJoined(unsigned playerId);
public slots:
@@ -355,6 +356,7 @@ public slots:
void netClientPlayerLeft(unsigned playerId);
void netClientSpectatorLeft(unsigned playerId);
void netClientSpectatorJoined(unsigned playerId);
void registeredUserMode();
void guestUserMode();
@@ -371,6 +373,7 @@ public slots:
void tabsButtonClicked();
void tabsButtonClose();
#endif
void refreshSpectatorsDisplay();
private:
@@ -437,6 +440,7 @@ private:
QLabel *playerTipLabelArray[MAX_NUMBER_OF_PLAYERS];
QPixmap flipside;
QLabel *spectatorIcon;
// Dialogs
startWindowImpl *myStartWindow;