equal
deleted
inserted
replaced
40 void resetColors(); |
40 void resetColors(); |
41 void resetTeams(); |
41 void resetTeams(); |
42 void setHHNum(const HWTeam& team); |
42 void setHHNum(const HWTeam& team); |
43 void setTeamColor(const HWTeam& team); |
43 void setTeamColor(const HWTeam& team); |
44 void setInteractivity(bool interactive); |
44 void setInteractivity(bool interactive); |
45 QColor getNextColor() const; |
45 int getNextColor(); |
46 QSize sizeHint() const; |
46 QSize sizeHint() const; |
47 |
47 |
48 signals: |
48 signals: |
49 void teamColorChanged(const HWTeam&); |
49 void teamColorChanged(const HWTeam&); |
50 |
50 |
53 void removeTeam(HWTeam team); |
53 void removeTeam(HWTeam team); |
54 |
54 |
55 private: |
55 private: |
56 const int maxHedgehogsPerGame; |
56 const int maxHedgehogsPerGame; |
57 int overallHedgehogs; |
57 int overallHedgehogs; |
58 QList<QColor> availableColors; |
58 int currentColor; |
59 QColor currentColor; |
|
60 |
59 |
61 void emitTeamColorChanged(const HWTeam& team); |
60 void emitTeamColorChanged(const HWTeam& team); |
62 |
61 |
63 QVBoxLayout mainLayout; |
62 QVBoxLayout mainLayout; |
64 typedef QMap<HWTeam, QWidget*> tmapTeamToWidget; |
63 typedef QMap<HWTeam, QWidget*> tmapTeamToWidget; |